Run Control Programs
Run control programs are the top-level programs started from the stored operating system command files. These are the programs that PSRUN starts. The run control programs fetch parameters from the run control table, which you set up online through the pages in the Paysheets page (or, for benefits processes, the Benefits Tables pages). In the example of process detail in the previous topic, the job of the run control program PSPPYRUN is to read the run control for Pay Calculation that you enter into the database.
Run control programs usually call a main program to initiate the process for the pay calendar or calendars that are associated with a particular pay run ID. The main program then loops through all of the pay calendars in a run.
Here's a list of the run control programs, each with its associated online process name:
| Run Control Program | Online Process Name |
|---|---|
|
PSPPYBLD |
Create Paysheet |
|
PSPPYRUN |
Calculate Payroll |
|
PSPDCRUN |
Calculate Deductions |
|
PSPCNFRM |
Confirm Payroll |
|
PSPDCCNF |
Confirm Deductions |
|
PSPUNCNF |
Unconfirm Pay |
|
PSPDCUNC |
Deductions Unconfirm |
|
PSPCLBLD |
Calendar Build |
|
PSPDLBAL |
Delete Balances (U.S.) |
|
PSPDLBLC |
Delete Balances (Canada) |
|
PSPRPRNT |
Reprint Checks |
|
PSPPYREV |
Reversal Processing |
|
PSPACCRL |
Leave Accrual |
|
PSPPFUND |
Actuals Distribution |
|
ENC_CALC |
Batch Encumbrance Calculation Process |
|
EGPPRCTL |
Tenure/Flexible Service Calc'n |
In most cases, these run control programs call a main program, but there are some exceptions. For example, the Confirm Deductions process is so simple that everything is processed within the run control program, PSPDCCNF, itself so there's no need for a main program, and PSPDCCNF doesn't call anything else. PSPCLBLD (Calendar Build), PSPDLBAL (Delete Balances (U.S.)), PSPDLBLC (Delete Balances (Canada)), and PSPRPRNT (Check Reprint) are processed the same. Other than these exceptions, the run control programs call main programs to do the actual work, or at least to control it.
Video: Image Highlights, PeopleSoft HCM Update Image 36: Enhancements to Payroll Batch Log Files
PSPPYWKS
Three of the run control programs—PSPPYRUN, PSPCNFRM, and PSPUNCNF—call a special controlling program, PSPPYWKS. The purpose of PSPPYWKS is to hold working storage. In the compiler we use, any given section can be a maximum of 64K. To pass more than 64K of data between our programs, PSPPYWKS owns working storage for the programs and passes it to them through linkage.
The arrays owned by PSPPYWKS are EARRY (the Earnings Array), DARRY (the Deduction Array), and DEDT1-6 (the Deduction Table Arrays).