Description:
Both the Operator's Guide and User's Guide mention that a predecessor and successor job can be specified after the IJ command is entered and the "Insert an Object" panel has been properly filled in.
In our test case here, there are two jobs that need to be inserted, but one must be a successor of the other. Job NXTJOB2 is a successor job to NEWJOB1 and is identified accordingly after entering the IJ command and being presented with the "Insert an Object" panel. In addition NEWJOB1 is specified as manual hold by entering a "Y" in the "Hold" field.
Upon pressing the enter key, NEWJOB1 is displayed, but it seems that NXTJOB2 is nowhere to be found as a successor job.
Solution:
There are two ways to accomplish this:
Use the IW command in CSF to Insert a WOB (workload object) in freeform as if you are coding the Application. You would need to add the RELEASE, and RUN statements as you would in the Appl.
In order to use the PRED and SUCC (Y/N), the job that it refers to has to be defined to CA ESP WA. In any case, you would need to use the "More inserts" equal 'Y' when inserting multiple jobs.
Let's say you want to insert two jobs A and B with A releasing B.
Here are the steps...
If a job is defined with PRED and SUCC and the PRED/SUCC job is not defined yet, the job will be readied right away. This is working as designed. It's the same as if you code the Application procedure as follows:
JOB A RUN ANY RELEASE B ENDJOB
As there is no JOB B defined, the RELEASE will be ignored.