Description:
When using Job Editor to define a distributed job and using the drag & drop icons in the Job Requirement View for that job, there are no icons available for the Mainframe Jobs.
An example:
A distributed job has dependencies of a global variable value and the success of a Mainframe job. This can all be seen in the Job Requirement View (accessed from Job editor) for the distributed job. From here we can add a dependency for another distributed job but we can't add a dependency for a Mainframe job (or other mainframe objects) as there is no icon for them in the left hand Objects pane. The only icons are Calendar, Global Variable and AutoSys job.
Solution:
AutoSys requires different syntax for the dependency on the Mainframe job since it is not in the same AutoSys instance. An instance must be specified and defined in the $AUTOUSER/config.EXTERNAL file.
Example of config.EXTERNAL file:
CA7:CNCT=MVSXE30
If AutoSys job has a dependency on the CA-7 instance, the dependency would be expressed as: SUCCESS(CA71^CA7).
Where, CA7 is defined in the $AUTOUSER/config.EXTERNAL file.
One can drag the job from the Mainframe (CA-7) server in the Job Editor tree into the Job Requirement View and drop it on the AutoSys job. The dependency will be created if the config.EXTERNAL file is set up correctly.
The following steps explain how to drag and drop:
These steps are illustrated with screen prints below:
Screen #1:
<Please see attached file for image>
Activity:
Screen #2:
<Please see attached file for image>
Activity:
Screen #3:
<Please see attached file for image>
Activity:
Screen #4:
<Please see attached file for image>
Activity: