Starting an alternate JES2 subsystem as a primary subsystem
You can run an alternate job entry subsystem (JES) as a primary JES in place of the primary JES. To be run as the primary, start the alternate by using the name of the primary, because only the subsystem known to MVS™ as the “primary JES” can interface with TSO/E. To start the alternate, the procedure used to start the primary must have STEPLIB and HASPPARM DD statements that can be overridden by the START command. If these DD statements cannot be overridden, the required JES cannot be loaded to replace the primary JES.
Rnn,$PJES2
when the member prompts you with
the $HASP426 message.If the primary was not automatically started or was prevented from initializing by the previous procedure, then enter the command S JES2, overriding the data set name and the volume serial on the STEPLIB DD statement to point to the load library containing the alternate subsystem.
The following is a sample procedure that will run either the normal JES2 or any alternate version of JES2 as a primary job entry subsystem:
//JES2 PROC M=JESAPARM,U=3380,L=LINKLIB,N=SYS1,
// V=SYSRES
//IEFPROC EXEC PGM=HASJES20,TIME=1440
//STEPLIB DD UNIT=3380,VOL=SER=&V,DISP=SHR,
// DSN=&N;.&L;
//PROC00 DD DSN=SYS1.PROCLIB,DISP=SHR
¹ //HASPPARM DD DSN=&SYS1;PARMLIB.(&M),DISP=SHR,UNIT=&U;
//HASPLIST DD DDNAME=IEFRDER
- Cataloged in the master catalog (or in a user catalog, provided the data set has a high-level qualifier other than SYS1)
- Specify UNIT= and VOL= on the JCL DD statement
- Managed by SMS (UNIT= and VOL= on the JCL DD statement are ignored.)
To cause JES2 to be loaded from an alternate library (TEST.LINKLIB on TSTPAK), and to cause an alternate member of SYS1.SHASPARM to be used for JES2 initialization, create a member in SYS1.SHASPARM. Then, enter the following command:
S JES2,N=TEST,V=TSTPAK,M=TESTPARM
To make the secondary test JES2 the primary JES2 member when you have finished testing, issue the following MVS command:
S JESA,JOBNAME=JES2
This command starts the 'JES2' job as a started task. For more information about this procedure, see Specifying a back-up JES2 cataloged procedure.