Preparing jobs without unresolved promptable variables
Type the N row command beside the job to edit it and start the setup operation. The scheduler automatically resolves any non-promptable job variables that are defined to be resolved at setup time and then invokes the ISPF editor.
You can edit the job as required in the EDITING JCL FOR AN OPERATION panel (EQQRJCLE - Editing JCL for an operation).
The job in EQQRJCLE - Editing
JCL for an operation has several
errors:
- The error message 2 refers to the line following (3). CDATE is a dynamic-format variable whose format must be specified in a SETFORM directive before being used.
- When variables are not found, other variables, such as those on the job card, are not substituted either, even though HCL Workload Automation for Z has found them. You do not see any substituted variables unless HCL Workload Automation for Z has found them all.
- The variable on 1 is wrong. You cannot have variables in HCL Workload Automation for Z RECOVER directive. The scheduler has not pointed out this error because it does not scan recovery statements unless the job fails.
When you have finished editing
the job, exit by entering one of
the following commands:
- END, which causes HCL Workload Automation for Z to save the modified or not modified job in the JCL repository, set the status of the setup operation to C (complete), and start the successor operation (the job itself) unless there are other dependencies.
- CANCEL, which causes HCL Workload Automation for Z to exit without saving the job in the JCL repository. The status of the setup operation is still R (ready).
- TSAVE, which saves your edited job in the JCL repository for later editing and changes the setup operation to status I (interrupted). Use this command if you want to keep your changes and continue editing later.