Process Example for MVS/DB2

The following example, delivered in the JCL Library, shows how PeopleSoft implements the Pay Calculation process under MVS:

//*
//********************************
//* RUN PS PAYROLL CALCULATION
//********************************
//*
//PROCLIB DD DISP=SHR,DSN=PROCLIB
//CALCPAY EXEC PSRUN,PSLOAD = 'PSLIB'
//SYSTSIN  DD  *
 DSN SYSTEM (DDD) RETRY (O) TEST (0)
 RUN PROGRAM (PSPPYRUN) - 
   PLAN (PLANRT)
 END
/*
//

You can see that the program is executing a PROC called PSRUN. In this startup routine, the procedure passes the SYSTSIN input file to the PSRUN procedure, and it indicates that the program to start is PSPPYRUN. PSPPYRUN is the run control program, the driving program for Pay Calculation.