The CA Scheduler NJE feature allows jobs to be submitted on one JES node for execution at another JES node. This document describes the installation requirements of the CA Scheduler NJE feature, and how the NJE feature works.
The CA Scheduler NJE feature requires the following:
To apply the JES2 exit(s), run SMPE APPLY and select FMID CCHB0J2 to assemble and link the JES2 exits using your site's JES2 macro library. Later if the version of JES2 changes, the exits must be re-applied using SAMPJCL member CHJES2, and the new JES2 macro library must be included in the SYSLIB DD concatenation.
Note that the JES exit(s) must be available at JES startup, and CA Scheduler must be in the link list to support NJE.
In order for the submitted node to receive feedback when the NJE job has completed, CA Scheduler must be active on both nodes and both CA Schedulers cannot share the same physical database. Also a VTAM connection is required between the CA Scheduler(s).
How the CA Scheduler NJE works:
When the NJE job is sent over to the other node, CA Scheduler inserts the following into the job:
/*XEQ nodename (if one does not exist)
//*
//* <<INSERTED BY CA-SCHEDULER>
//* SCSTART S=PODAILY FM=STL JNO=01 F=00005 FO=
//SCHED EXEC PGM=CAJENJE0,PARM=('SCSTART OJNO= - ',
// 'S=SCHED01 FM=STL JNO=01 J=JOBXYZ F=00005 FO= ')
This is necessary so that the JES exit can recognize that this is a CA Scheduler NJE Job.
If RESTART= is specified on the JOB statement, CA Scheduler inserts a TYPRUN=HOLD and update the active workload with the nodeid where the job runs. After the update, CA Scheduler releases the job.
The following tips are helpful to troubleshoot NJE problems in a JES2 environment:
$DEXIT4$HASP823 EXIT(4) $HASP823 EXIT(4) STATUS=ENABLED,ENVIRON=JES2,$HASP823 ROUTINES=(CAJ2X4CH),SPLEVEL=CHECK,$HASP823 TRACE=NO,USECOUNT=0
CACM054I NAME SYSID #RCV APPLID #SNT S T A T U S STACK-USAGE CACM054I JESD 3163 02802 JESDSCHD 00604 CONNECTED 0 0 CACM054I JESG 1331 00121 JESGSCHD 00001 CONNECTED 0 0 CACM054I JESAJ 2181 00000 JESASCHD 00000 LOCAL-NODE
//SCHED EXEC PGM=CAJENJE0,PARM=('SCTEST')Expected display found in the JES2 log:
CACM409I CA-SCHEDULER 11.0 LEVEL 001 JES Z107
Recommended Reading: CA Scheduler Systems Programmer Guide r11 Chapter 6 NJE Processing.