Getting Student Data – QMF 102

advertisement
Getting Student Data – QMF 102
Instructor
Bill Cummins
Phone
8-3304
Office
JH 131
E-mail
brcummin@ilstu.edu
Prerequisites:
Install QMF v8.1 – contact your tech support manager.
Description: Learning more about student data and the options and processes for using QMF.
Query Management Facility (QMF) is an IBM utility for accessing data and is used primarily for reading IBM DB2 data. QMF
offers simple point and click execution of pre-written queries as well as complex, detailed and enriched data driven
processes. In this session we will focus on the facilities for enriching your departmental information needs.
Basic Orientation
Use the menu or icons to display the query views
File: New: Query
View: SQL
File: New: Query
View: prompted
File: New: Query
View: diagram
The prompted view gives the most
information in a compact display.
Prompted Icons.
SEW Tables
GENERALLY – Fall 2004+ (rolling 6 years)


SESSION: Student Enrollment Warehouse Semester Summary Table. Application, Term.
o SESSION_APPLY: Student Enrollment Warehouse University Application Table. One or more per Demographic
record.
o SESSION_SUMMARY:
o STUDYPLAN: Student Enrollment Warehouse Study Plan Table. Plan of Study towards degree. Zero or more
per Demographic record.
DEMOGRAPHIC: Student Enrollment Warehouse Demographic Table - One for each unique student identification.
Page 1
NAMES: Student Enrollment Warehouse Names View. Student’s name parsed into components. One per
Demographic record.
ADDRESS: Student Enrollment Warehouse Address Table. One per Demographic record.
TESTSCORE: Student Enrollment Warehouse Test Scores Table. Scores for tests used in the placement of the student.
One per Demographic record.
GRADUATION: Student Enrollment Warehouse Graduation Table. Zero or more per Demographic record.
COURSES: Student Enrollment Warehouse Courses View. ISU Courses students enrolled in, and information about the
course. Zero or more per Session record.
o COURSE_DETAIL: Student Enrollment Warehouse Course Detail Table. Courses students enrolled in at ISU, or
transferred to ISU. Zero or more per Demographic record
COURSE_SECTION: Student Enrollment Warehouse Course Section Table. Summary information about courses.
o COURSE_SUBSECTION: Student Enrollment Warehouse Course Subsection Table. Detail information about
courses. One or more per Course_Section record.
o FACULTY: Student Enrollment Warehouse Faculty View. Instructors, and information about the courses they
teach.
o





REFERENCE TABLES -- LOOKUPS





DEGREE_CODE:
DEPARTMENT: Student Enrollment Warehouse Department Table. One for each ISU department.
FICECODE: Student Enrollment Warehouse FICE Code Table. Higher education institutions.
HIGHSCHOOL: Student Enrollment Warehouse High School Table. One for each Illinois High School.
MAJORMINOR: Student Enrollment Warehouse Major/Minor table. One or more for each major or minor.
Page 2
SEW Tables 2 – Column Prefixes
SESSION
S
SA
SG
SU
COURSE_
SECTION
SESSION_
SUMMARY
S
SESSION_
APPLY
COURSE_
DETAIL
C
SA
SG
SU
COURSE_
SUBSECTION
COURSE_
SECTION
CS
FACULTY
COURSES
C
CS
CU
COURSE_
SUBSECTION
CU
ADDRESS
PREFIXES
A
AH
AL
AMH
AP
AHL
ALH
Table
Prefix
DEGREE_CODE
DC
DEMOGRAPHIC
D
DEPARTMENT
DP
FICECODE
F
GRADUATION
G
HIGHSCHOOL
HS
MAJORMINOR
M
NAMES
N

Joins and tables.
Page 3
COURSE_
DETAIL
C
FACULTY
CS
CU
SEW Columns – Important flags and values













Admitted student.
o SESSION.SA_ADM_DECISION IN(‘CA’,’FA’)
admitted
o SESSION.SA_ENR_DEPOSIT_FEE = ‘Y’
 paid enrollment deposit
Enrolled Student
o SESSION.S_SEM_ENROLL_IND=’Y’
 registered and has classes
New student – SESSION.S_SEM_ENTRY_STATUS=’2’
Earned Hours
o SESSION.SU_ACC_HRS_EARNED (TERM_CU_ABCD + TERM_CU_CT +
 Undergraduate
TERM_CU_CR_CRSE + TERM_CU_CR_OTHER + TERM_CU_TRANSFER)
o SESSION.SG_SEM_HRS_ABC
Graduate
Current Hours
o SESSION.SU_SEM_HRS_CARRIED
o SESSION.SG_SEM_HRS_CARRIED
Racial/Ethnic Designation

DEMOGRAPHIC.D_RACE_CODE

SESSION.S_SEM_CITIZEN
Fall 2009
 4=Fall, 1=Spring, 2=Summer
o Calculate “season” from CCYYS
CASE SUBSTR(CHAR ( A.S_CCYYS ) , 6 , 1 ) WHEN '1' THEN 'Spring' WHEN '2' THEN 'Summer' ELSE 'Fall' END
NOTE: S_CCYYS is numeric and the value for CHAR(CCYYS) is ‘ 20084. ‘ for example.
Graduation
o GRADUATION.G_DEG_APPL_STATUS IN (‘A’,’F’)
o GRADUATION.G_DEG_CODE
 look up in SEW.DEGREE_CODE
o WHERE NOT (GRADUATION. G_DEG_CODE = ‘999’)
 the “second major” in a graduation
Mid Term Grades
o COURSES.C_MIDTERM_GRADE
 these are currently populated during the
second half of the semester and wiped at
grade reporting.
Address
o ADDRESS.A_EMAIL
 external until ilstu.edu is activated.
o AMH
IGNORE.
Attended Other Specific Major University
o DEMOGRAPHIC.D_FICE_CURNT=’001641’ (Bradley) Or… look up in SEW.FICE_CODES
Second Bachelor program: SESSION.S_SEM_2ND_DEGREE, SESSION.SA_ADM_TYPE, SESSION.SA_ADM_2ND_DEGREE
MAJOR
o Teaching Major – MAJORMINOR.M_PROGRAM
o Current Major – MAJORMINOR.M_LAST_MAJOR
o Actual Major – SESSION.SA_ADM_CATLG_YR1 CHAR(2) and MAJORMINOR.M_EST_CCYYS DECIMAL(5,0)
Page 4
QMF exercise
A simple query. and how to expand it. (35 minutes)

(Some of) “My” majors. Single Major. Single Department. Single College.

Two Majors.
o
General vs. specific. Variable type in general variables. (What if I need a Char?)
o
Making a list. Add columns to the query. Hide columns. Remove columns from the layout. Remove columns
from the query. Set columns to UID and S_Sem_class. Sort in results. Sort in query.
Page 5
o
Label a column.
o
Side group “class”. 1. Pull Column to left. 2. Look at “Query” panel, pull back to data column. 3. Show
Layout panel. 4. Hide Layout Panel. Collapse Class column using results menu (drill down) and “+”
o
o
Look at outclick on S_UID column (explain that there is no SSN and label problems). Look at results menu.
Add a summary using the Results menu. S_SSN and grouping: count
o
o
Add a color. Make grand total Yellow. Note that this is extensible.
o
Add Columns SU_ACC_HRS_ABCD, SU_ACC_HRS_TRAN
o
Go to Excel. Results menu: display Excel Sheet. Quick key – CTRL-B.
o
Calculations in Excel. Gotchas. Have to re-create them each time.
Page 6
o
Calculated field in QMF Data column. Get to a query something like this:
Run the query.
o
We want to add column 3 and 4. In results, out-click in column 4.
o
Add column [3] and [5]. Edit calculation to add a column label.
o
We are smart – pull the column to the “5” position. Ooops. If you reference a column with column numbers,
Not satisfactory.
you can’t move the columns.
o
Edit the calculation to reference the column names. “_” and “[“. In this case, [SU_ACC_HRS_TRANSFR] +
[SU_ACC_HRS_ABCD] Better: now you can drag the column positions around and retain the references.
Average the columns. Drill up. Interesting.
o
Simple summary query: remove all in Columns except Class. Add column * and summary function “count”.
Should look something like this:
o
o
Back to prompted. Note Data Administration page at www.ais.ilstu.edu/dadmin. IBM references. Crazy.

Expression list (…), out-click.

SQL view. Outclick.

(Some more of) My Majors. Major 1 and 2, Minor 1 and 2. Single Department.

The dreaded “OR” clause (Biochemistry). Any major or minor in Chemistry or Biochemistry. SQL, parenthesis.
Page 7
o Just about any way done, this is MESSY!! It is possible to reduce the SQL to
Page 8
EXAMPLES:
DISCLAIMER 1: There are no stupid questions.
DISCLAIMER 2: The only EASY question is a question for which you know the answer (I’m not smarter than a 5 th grader).
DISCLAIMER 3: The SECOND answer is usually ‘what are you going to do with the information next?’ It really matters to how
you get the report. You may be quite pleased to simply get the data, but it is better to satisfy the entire process!!
I would like to be able to quickly
I need to be able to pull up my students who
pull up my Juniors with UIDs and e-
have a particular GPA and higher for awards
mail.
and campus honors
GPAs are in the session table. There are many
comparators to choose
a.
I’d like to be able to pull up
my students and the courses
they have completed each
semester with grades.
b.
And also I need the following
information for Student
Evaluations: Term,
Department, Course number,
Course Section, Student UID
and student e-mail
(a and b are practically the same)
Page 9
I’m interested in All Elementary Education
majors currently enrolled in C&I 211 who
are also concurrently enrolled in Math 201.
Use sew.courses twice!!
I’m interested in the retention of my students.
I’m afraid that I have more questions for this than I have answers.

Important Note: SEW is a five-year running window of student data. Imbedded in this design then is that the answers
that you can get from SEW are perhaps more progress – related than retention – related.

Some additional design questions:
o
How are “my student” cohorts formed? When the student enters the program initially (and what to do
about major changes back and forth? When the student takes some initial course in the department or
some key course? Are we measuring students against each other (group progression) or are we looking at
each student? How do we manage and analyze the data we have for this problem?

o
Understand about stop-out and create time dimension. How will I count time?
o
How will I handle transfer credits?
o
How will I handle second bachelor programs?
o
Create protocols. Create naming standards.
The follow-up questions will become more work that the initial question.
Page 10
Download