To validate that the parameters of a job are correct before sending it to the agent, use the LJCK command. This process uses the same processes used to build the message to the agent. The process can optionally display a simulated message to send to the agent. Use the LJCK command after the initial job setup, and any time changes are made to the parameters.
The LJCK command also resolves any global variables used in the parameter definitions. If the job is submitted, but ends up in the request queue with a JCLERR status on the CA WA CA 7 Edition, use the LJCK command to validate that CA WA CA 7 Edition can build the message correctly. If it can, then the JCLERR status sometimes results from security information.
The LJCK command displays data from the database, PARMLIB, and CA IAS. With LIST=DEBUG, the LJCK command shows the simulated AFM. Using the JOBFT from the earlier example, the LJCK output appears as the following:
LJCK,JOB=JOBFT,LIST=DEBUG DSN=USERA02.DEVCA7.JCLLIB DATE=yy.ddd PAGE 0001 JOB=JOBFT MEMBER=JOBFT JCLID=255 LIST=DEBUG ***************************** JOB DEFINITION DATA ****************************** JOBNAME : JOBFT JOBTYPE : FILE_TRIGGER AGENT : WINAGENT USER : domain\usera ************** DATA FROM PARMLIB (WITH EXPANSION AND SUBSTITUTION)************** 1. FILENAME C:\env.txt CREATE ***************** DATA FROM AFM (ERRORS DISPLAYED WITH <nnnnn>)***************** AGENT EROCAGENT FILENAME C:\env.txt CREATE ********************************** DUMP OF AFM********************************** 20100910 12583722+0400 WINAGENT * JOBFT.N00420/TESTAPP.S00000D102531258/MAIN FIL ETRIG DEFINE Name(C:\env.txt) Type(CREATE) Password(SIMULATE) User(domain\usera) MFUser(MASTER) SLIN-00 REQUEST COMPLETED AT hh:mm:ss ON yy.ddd
|
Copyright © 2015 CA Technologies.
All rights reserved.
|
|