Previous Topic: Dialog Prompt ExampleNext Topic: Prompt Panel Operation


JCL Prompt Example

Any JCL member you use to submit a query for batch execution can contain embedded variables that you can change. If a prompt panel appears when you submit the query for execution, you use it in exactly the same way as a dialog prompt panel. Your CA Dataquery Administrator can provide you with the valid replacements for variables listed on a JCL PROC prompt panel. You may also be able to display valid replacements or ranges for the variables shown if they were created by the JCL PROC author by pressing <PF5> RANGE/LIST.

Following is a sample JCL PROC. Variables are highlighted.

 =>  --------------------------------------------------------------------------DQEX0        THIS JCL IS SHARED BY OTHER MEMBERS OF YOUR GROUP.  CUSTOMIZE IT        WITH YOUR SPECIFICATIONS BY TYPING OVER THE VARIABLES LISTED        BELOW.  ENTER A JOBNAME NOT LONGER THAN 8 CHARACTERS  DQBATCH ENTER YOUR RACF USER IDENTIFICATION, FOLLOWED BY A COMMA  USERID, ENTER YOUR RACF PASSWORD  PASSWORD  -------------------------------------------------------------------------------  <PF1>  HELP       <PF2>  RETURN       <PF3>  EXECUTE      <PF4>  NOT USED  <PF5>  RANGE/LIST <PF6>  NOT USED     <PF7>  BACKWARD     <PF8>  FORWARD