This chapter provides an overview of Student Blocks and discusses how to:
Update Mass Change operator security.
Create a Student Block mass change definition.
A Student Block is a grouping of student information into blocks based on a number of common academic characteristics. Student Blocks can be essential during enrollment because they enable you to mass enroll groups of students into blocks of courses.
You can create student blocks on the Create Student Block Page (STDNT_BLOCK) by manually entering student IDs into a student block, but this becomes inefficient when dealing with large groups of students. For example, you may want to enroll hundreds of first year computer science students into a common, core curriculum based on their academic level and academic plan.
To meet this need for mass enrolling large student blocks, your system includes a Mass Change type and Mass Change template called Create Student Block. With these Mass Change tools, you can create and run Mass Change definitions that will generate SQL for large student blocks based on your criteria and defaults.
After you create your student block through a Mass Change definition, you can use the Mass enrollment process to create a course enrollment block, associate the student block with the course block, and then post the enrollment transactions.
Understanding Mass Change
Mass Change is a SQL generator that you can use to develop and perform custom applications. Using Mass Change, a developer can set up a series of INSERT, UPDATE, or DELETE SQL statements that the end user can run to perform business functions.
When you use Mass Change, you are essentially running SQL statements to manipulate the data in the application. The overall structure of Mass Change is similar to that of PeopleSoft Query, except that Query retrieves data from the database, while Mass Change actually updates the database.
In order for end users to be able to select the Create Student Block template when creating a Mass Change definition, the template must be added to the user security for the user or class profile to which the end users belong.
This section discusses how to update user security.
Page Name |
Object Name |
Navigation |
Usage |
MC_OPER_SECURITY |
PeopleTools, Security, Mass Change Operator Security, Security |
Grant access to the Create Student Block mass change template to permission lists so that users can run the Create Student Block mass change process. |
Access the Security page.
Mass Change Template ID |
Select the Create Student Block template ID. |
This section provides an overview of Mass Change definitions and discusses how to:
Create Mass Change definitions.
Specify Student Administration parameters.
Specify student block criteria and defaults.
Generate Mass Change SQL text for student blocks.
View Mass Change execution history.
Mass Change definitions are built using Mass Change templates and are generally created and run by end users. Mass Change definitions are used to specify the values and operators for each field in the SQL statement's WHERE clause, to specify the values for default fields, and to generate the actual SQL statements. When you create a definition, all information defaults from the associated Mass Change type and template, except for the criteria and default field values and operators.
If any changes occur to the Mass Change Template, the system requires that you create a new Mass Change definition because existing Mass Change definitions won’t recognize the changes.
Page Name |
Object Name |
Navigation |
Usage |
MC_DEFN_00 |
Records and Enrollment, Enroll Students, Block Enrollment, Mass Change Definition, Description |
Select the template with which you will create the mass change definition. |
|
MC_DEFN_SA |
Records and Enrollment, Enroll Students, Block Enrollment, Mass Change Definition, Student Administration |
Set parameters such as aid year, academic career, and institution for the mass change definition. |
|
MC_DEFN_01 |
Records and Enrollment, Enroll Students, Block Enrollment, Mass Change Definition, Criteria and Defaults |
Specify the operators and values for the criteria and default fields so that the mass change properly runs the SQL statements. |
|
MC_DEFN_02 |
Records and Enrollment, Enroll Students, Block Enrollment, Mass Change Definition, Generate SQL |
Generate and view the SQL statements, based on the Create Student Block type, template, and definition, before actually running the mass change. Select the option of running the SQL when you save the page. |
|
MC_DEFN_03 |
Records and Enrollment, Enroll Students, Block Enrollment, Mass Change Definition, Execution History |
View the history of all of your SQL runs for this definition. |
Access the Mass Change - Description page.
Mass Change Definition |
Select the Create Student Block template. The system enters the template's description in the Description field. |
Access the Student Administration page.
Mass Change Default Status |
Select the status that the system will assign to the records created when you generate this mass change. |
As Of Date and As Of Date/Time |
Enter the date and time for the default status. |
Aid Year, Academic Career, SetID, Institution, and Stdnt Fin Business Unit (student financials business unit) |
Enter values as needed for the SQL to filter the data that the process retrieves. |
Access the Criteria and Defaults page.
The Criteria and Defaults page is the heart of a Mass Change definition and is the key to running effective SQL statements and creating a student block. The Create Student Block mass change runs two SQL statements to create a student block, inserting these statements into the STDNT_BLOCK_HDR record and the STDNT_BLOCK_DTL record so that you can select to use your student block during the Mass Enrollment process.
Important! To properly run the mass change and generate the student block that you want, it is essential that you know the exact values of the criteria and default fields. For example, if you want to create a student block for all students with the academic plan equal to BA-SO, an academic program equal to BA, and a projected academic level equal to 20 (sophomore), then you must enter these values in the respective criteria fields and leave the remaining criteria fields blank.
Criteria
Field and Field Value |
Specify the operators and values of each field as necessary to restrict and unrestrict the data set that Mass Change selects to generate the student block you want. Mass Change will add this criteria to the end of the insert SQL statements that it generates. Following are the criteria fields that are delivered with the Create Student Block template:
|
Defaults
Mass Change Field Value |
Specify values for each default field. Mass Change uses the default values in the insert statements. For example, you must input a value for the Student Enrollment Block code and description in order for your student block to appear as a choice during mass enrollment. Following are the default fields that the application delivers with the Create Student Block template:
Warning! Do not delete Default rows from your definition. This will prevent the mass change definition from running properly. |
Access the Generate SQL page.
The Mass Change user ID (shown on the Description page) must be the same as the ID of the person running the mass change. Thus, if you created the Mass Change definition, then only you can run the mass change. Otherwise, you must create a new Mass Change definition using the appropriate template and save the newly created definition with your ID.
After you run the SQL, the system populates the STDNT_BLOCK_HDR record and the STDNT_BLOCK_DTL record with the Student Block values that you created. You can then select to use the student block that you create in the Mass Enrollment process. Your student block will appear as a choice in the prompt box for the Student Enrollment Block field on the Mass Enrollment page. You can also view your student block on the Mass Enrollment Student Block page.
Clear Sw (mass change clear switch) |
Click when you first open the page and want to generate a new SQL. Also click this button if you are unhappy with the SQL that the mass change generates and need to rewrite the definition to better fulfill your needs. |
Execute SQL Upon Saving |
Select if you are positive that you want to run the SQL. If you select this option and then click the Generate SQL button, Mass Change runs the SQL as soon as you click the Save button. If you do not select this check box, you can save the Mass Change definition, then run it in the background using a run control. |
Generate SQL |
Click to have Mass Change generate the SQL statements based on the Mass Change type, template, and definition. |
SQL Statement |
Displays the SQL statement text for you to review. Verify that any FROM and WHERE clauses reference the proper tables, fields, and values. |
Count |
Click to display the total number of rows affected by each statement. If the totals are what you expect, select the Execute SQL Upon Saving check box and save the definition. If the count is not what you expected, redefine the definition. |
After you run the SQL statements for your Create Student Block mass change definition, you should look at the STDNT_BLOCK_HDR and STDNT_BLOCK_DTL tables to make sure that the inserts have successfully created the records. You can also view this from the Mass Enrollment Student Block page. If you have successfully run the SQL statements, you can use the Mass Enrollment process to create a course enrollment block, attach the course enrollment block to this student block, and post the enrollment transactions.
Access the Execution History page.
The fields on this page are the same as the fields on the Criteria and Defaults page.