Previous Topic: Preparing for Batch Export Function UseNext Topic: Batch Sign/On Management


Sample JCL for Batch Sign/On Mode

When using CA Dataquery through the Sign/On mode, all of the input to batch CA Dataquery is made through the use of SYSIN or SYSIPT control statements for z/OS and z/VSE respectively. Provide individual control statements for each CA Dataquery command, with only one command per statement. Examples follow:

Sample z/OS JCL

 //jobname    See Preparing JCL for Batch CA Dataquery Utilities.
 //       EXEC PGM=DQBATCH
 //STEPLIB    See Preparing JCL for Batch CA Dataquery Utilities.
 //SYSUDUMP DD SYSOUT=*
 //SYSPRINT DD SYSOUT=*                            Print Output
 //SNAPER   DD SYSOUT=*
 //USRPRINT DD SYSOUT=*
 //SYSIN    DD *                                   Command input
 SIGN/ON dq-user-id PASSWORD ppppppppp
 EXEC sample-query
 /*
 //

Sample z/VSE JCL

 * $$ JOB ...           See Preparing JCL for Batch CA Dataquery Utilities.
 * $$ LST ...
 // JOB name
 // EXEC PROC=procname  Whether you use PROCs or LIBDEFs, see Preparing JCL for Batch CA Dataquery Utilities.
 // EXEC DQBATCH
 SIGN/ON dq-user-id PASSWORD ppppppppp
 EXEC sample-query
 /*
 /&
 * $$ EOJ