Process Detail

This topic discusses:

  • Operating systems.

  • One common command (PSRUN) referenced by all processes.

  • Process example for MVS/DB2.

How are processes—Create Paysheet, Pay Calculation, and so on—actually implemented in Payroll for North America? At the user level, the user defines process parameters, selects the Run button, and then tells the system when and where to run the process in the Process Scheduler Request page.

For each process, no matter what the environment, the PeopleSoft system uses operating system-stored commands. PeopleSoft uses whatever method the operating system uses to store operating system commands.

The default operating system for PeopleSoft is Microsoft Windows. This table lists the operating system stored commands that PeopleSoft uses for non-Microsoft Windows operating systems:

Operating System

Operating System-Stored Commands

OS/2

PeopleSoft uses .CMD (command) files.

MVS

PeopleSoft uses JCL.

VMS

PeopleSoft uses a combination of command files and logicals.

UNIX

PeopleSoft uses script files to initiate PS batch processes in a shell environment (BOURNE, KORN, OR C). Our script files are compatible with all three shells.

See PeopleTools: Process Scheduler

These stored commands have one thing in common: They start another stored procedure called PSRUN. PSRUN, in turn, is the procedure that actually starts the process, initiating a run control COBOL program. (PAYUNSHT, being an SQR, is an exception).

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.