What is a Popsel? - University System of Georgia
Transcription
What is a Popsel? - University System of Georgia
Don't be Afraid: It's Just a Popsel! Sara McNure, Assistant Registrar Trisha Knight, Systems Analyst II Georgia Summit 2006 1 It’s Just a Popsel! Using Banner 7 z z z z What is a Popsel Steps to Create Popsels Application Rules Population Selection Rules z z z z z Variables Objects Dynamic parameters Extracting Population Troubleshooting 2 What is a Popsel? z z Population Selection is a Banner tool to select groups of people (IDs) who share common criteria Popsels can be used for reporting, letter generation, or in processes 3 Steps to Create Popsels 1. 2. 3. 4. 5. 6. 7. Define your selection Use Help/Dynamic Help Query to find your tables & fields (GUAHELP/GURPDED) Create Application (GLRAPPL if needed) Create Variables (GLRVRBL if needed) Build the Selection Rules (GLRSLCT) Extract the Population (GLBDATA) View & Verify your Population Selection Results 4 Define your selection z z z What is your population? Write it out Start simple then build on it 5 Find your tables & fields using GUAHELP EXAMPLE: SGBSTDN is the table and SGBSTDN_TERM_CODE_EFF is the field 6 GURPDED 7 GURPDED Output 8 Basic Application Definition Rule - GLRAPPL 9 Application Definition Rule With Application Level Rule GLRAPPL ‘&’ designates dynamic value 10 GLRSLCT – Selection Description z z z z z Describe clearly Manual – Enter student IDs in GLAEXTR Locked – Only creator can use, view, or modify selection Delete Application Level Rules Exist 11 GLRSLCT - New feature with Banner 7 Application Level Rule Indicator in GLRSLCT 12 GLRSLCT Definition Block z z z z The ‘Select’ field must always reference a PIDM (ex. SFRSCTR_PIDM) The ‘From’ field must list all tables that will be used To improve performance of GLBDATA, list multiple tables in the ‘From’ field from most general to most specific (largest to smallest) Maximum tables you can use is 15 13 GLRSLCT - Rules 14 Using Dates in Rules Use ‘BETWEEN’ when a date range is needed 15 Using Dates cont. Remember: In Banner, most date fields are stored with hours, minutes, and seconds Another Example: SPRADDR_ACTIVITY_DATE >= ’01-SEP-2006’ AND SPRADDR_ACTIVITY_DATE < ’02-SEP-2006’ 16 Variables - GLRVRBL How do you know you need a variable (sub query)? z z When maximum or minimum date, sequence number, or effective term are needed You can do most anything you can do in SQL including COUNT, SUM, or AVG 17 Variables… z z Are Associated with the Application Can be copied IMPORTANT: The variable MUST be the last rule 18 Create Variable - GLRVRBL To retrieve the maximum Student Record Less than or equal to the Term needed 19 Using a Variable in Your Rules Example: Current student record (SGASTDN) 20 Objects – Defined in GLROBJT 21 Objects used in GLRSLCT Query and select Object from Data Element 22 Dynamic Popsels ‘term’ is the Dynamic Parameter 23 Dynamic Popsel in GLBDATA Example: Dynamic term is the SFRSTCR_TERM_CODE 24 Copy Popsels z z z Change the Selection ID Modify carefully Watch for unused tables 25 GLBDATA Single Popsel 26 Combining Popsels Union/Intersection/ Minus 27 Combining Popsels Union – combines results of both population selections into one z Intersect – returns only the PIDMs that exist in both population selections z Minus – Be careful of order on this option, you will be subtracting the PIDMs in the SECOND population selection from the FIRST NOTE: It is not necessary to run each population selection separately before combining. MANUAL added IDs will not be included. z 28 Use previous results in new Popsel z z z You will need to run each Popsel you will use separately When you run GLBDATA you are adding your Popsel results to the table GLBEXTR You will need to link GLBEXTR_KEY to your PIDM field 29 Using the table GLBEXTR in your GLRSLCT rules Pulling together 3 Popsels into 1 30 View your results z z GLAEXTR – Can view and edit your own Popsels GLIEXTR – Can view Popsels 31 Troubleshooting… What to do if your Popsel is not pulling correct population or not running? 32 Your variable MUST be the last rule Variable 33 Error in GLBDATA .log file *ERROR* DURING PREPARE PARM2...ABORTING SQLCODE = 0936 SQL ERROR = ORA-00936: missing expression X01 ROLLBACK SQLCODE=0000 X01 COMMIT (1) SQLCODE=0000 SQLCODE = 0000 ORA-01403: no data found DQY-ABORT ROLLBACK SQLCODE = 0000 ORA-01403: no data found 34 Make sure there are not any unused tables in the ‘From’ field SPRHOLD is not used in rules 35 Finding Problems with Popsels… Detail Execution Report 36 Using Parameter 8 – GLBDATA Detail Execution Report options: z Y Display SQL, paragraph names and additional information z I Display SQL and values inserted into the GLRCOLR table z S Display SQL only 37 Using Parameter 8 – cont. SYSTEMS & COMPUTER TECHNOLOGY POPULATION SELECTION EXTRACT CONTROL REPORT PAGE 1 Program GLBDATA connected to ORACLE GLBDATA Version = 4.2.0.1 Section: P01-GET-PARAMETERS PARM-PTR=0001 PARM-LEN=0019 P01A Section: P01-GET-PARAMETERS PARM-PTR=0015 PARM-LEN=0022 P01A Section: P01-GET-PARAMETERS PARM-PTR=0021 PARM-LEN=0022 -------- DQY-S1 at end of P07-PROCESS-CONT ------SELECT DISTINCT(SGRASSI_PIDM),SYSDATE FROM SAT URN.SFRSTCR ,SATURN.SGRASSI WHERE SGRASSI_PIDM = SFRSTCR_PIDM AND SGRASSI_TERM_CODE_EFF = '200608 ' AND SGRASSI_GSTA_CODE = 'AC' AND SFRSTCR_TERM_CO DE = '200608' -------------------------------------------------- SQL Code generated by GLBDATA -------- DQY-S1 at end of P07-PROCESS-CONT ------SELECT DISTINCT(SGRASSI_PIDM),SYSDATE FROM SAT URN.SFRSTCR ,SATURN.SGRASSI WHERE SGRASSI_PIDM = SFRSTCR_PIDM AND SGRASSI_TERM_CODE_EFF = '200608 ' AND SGRASSI_GSTA_CODE = 'AC' AND SFRSTCR_TERM_CO DE = '200608' -------------------------------------------------- PEOPLE QUERY DESCRIPTION SELECTED MAND_INS_GRADASST mandatory insurance - GA 150 Total Records Selected SELECTION COMPLETED... 38 What’s wrong? 39 GLBDATA.log file -------- DQY-S1 at end of P07-PROCESS-CONT ------SELECT DISTINCT(SGRASSI_PIDM),SYSDATE FROM SATURN.SFRSTCR ,SATURN.SGRASSI WHERE SFRSTCR_PIDM = SGRASSI_PIDM AND SFRSTCR_PIDM = SGRASSI_PIDM_SUPERVISOR AND SGRASSI_TERM_CODE_EFF = '200608' AND SGRASSI_GSTA_CODE = 'AC' AND SFRSTCR_TERM_CODE = '200608' 40 Defect - #:1-WMF57 SQL> desc sgrassi Name Null? Type ---------------------------------------------------------- ------------------- ---------------------------- SGRASSI_PIDM NOT NULL NUMBER(8) SGRASSI_TERM_CODE_EFF SGRASSI_CATEGORY SGRASSI_GTYP_CODE SGRASSI_SOFF_CODE SGRASSI_STIPEND SGRASSI_FTE_VALUE SGRASSI_MIN_CRSE_LOAD SGRASSI_MAX_CRSE_LOAD SGRASSI_REQUIRED_HRS SGRASSI_GSTA_CODE SGRASSI_GSTA_DATE SGRASSI_DEGC_CODE SGRASSI_LEVL_CODE SGRASSI_COLL_CODE SGRASSI_DEPT_CODE SGRASSI_MAJR_CODE NOT NULL NOT NULL NOT NULL SGRASSI_PIDM_SUPERVISOR SGRASSI_ACTIVITY_DATE SGRASSI_PROGRAM SGRASSI_TERM_CODE_CTLG VARCHAR2(6) VARCHAR2(1) VARCHAR2(6) VARCHAR2(6) NUMBER(7,2) NUMBER(5,2) NUMBER(9,3) NUMBER(9,3) NUMBER(11,3) VARCHAR2(2) DATE VARCHAR2(6) VARCHAR2(2) VARCHAR2(2) VARCHAR2(4) VARCHAR2(4) This table has 2 PIDMS NUMBER(8) NOT NULL DATE VARCHAR2(12) VARCHAR2(6) 41 Defect Workaround Checked Manual Joined the correct PIDMs 42 Another Known Defect in Banner 7 z Defect #1-E9U9D - Last ID Displayed on GLAEXTR replaces current GLOBAL ID (7.x only) 43 ALWAYS Check .log file for errors!!! Program GLBDATA connected to ORACLE GLBDATA Version = 4.2.0.1 *ERROR* DURING OPEN XPARM2...ABORTING SQLCODE=1652 SQL ERROR = ORA-01652: unable to extend temp segment by 128 in tablespace TEMP 44 Print Your List We have a local process to print list from Popsel via Job Submission: YGPPOPS. The report displays z ID z Name z Date of Birth (Optional) 45 YGPPOPS z 11-Sep-06 GEORGIA SOUTHERN UNIVERSITY Page: 1 List Population Selection YGPPOPS z z z EAGLE ID LAST/FIRST/MIDDLE NAME BIRTH DATE ---------------- --------------------------------------------- ------------------ z XXXXX2513 XXXXX6848 XXXXX9285 XXXXX8568 XXXXX3515 XXXXX0059 XXXXX7715 XXXXX0788 z * * * * * * * YGPPOPS * * * * * * * z z Run began on 11-Sep-06 at 06:21:58 ---------------------------------- z ********* Run parameters ********* z z Application Selection Creatior_id User_id Birth date z ---------------------------------- z Total records listed: 8 z Run ended on 11-Sep-06 at 06:21:58 z z z z z z z z z z Agan, Norman David Ayeni, Fatima Natasha Champion, Shannon Renae Cox, Jon H Hines, John Otis Johnson, Chermaleta Aundrell Papoutsis, Nicholas Rowe, Timothy Bradley : REGISTRAR : TK_AI_STUDENTS : CSDTK01 : CSDTK01 :N Chose to not display DOB 46 Extract Data Option z z z GUAOBJS – Data Extract Option Disable Pop-up Blocker Enable ‘Prompting for File Downloads’ on IE Browser Security Settings. 47 Using Extract Data Option 48 Using Extract Data.. cont 49 Using Extract Data.. cont 50 Symposium http://symposium.sct.com/cp/home/loginf SCT Banner CBTs: z z z Population Selection for Banner 7 Advancement Population Selection for Banner 7 Financial Aid Population Selection for Banner 7 Student SCT Banner Workbooks: z z z Advancement Population Selection Population Selection (Under each version of General) Student Population Selection 51 Questions??? 52 Thank you for attending. We hope some of this information will be useful to you. We learned lots just trying to pull this presentation together. Sara McNure: [email protected] Trisha Knight: [email protected] 53