I'm working on a project to optimize the batch flow in test region for my client. The batch in test regions in not scheduled through a scheduler, but is achieved using a in-house utility, which inserts the SUBMIT statements at the end of the test JCL's to create the logic for submission of the next jobs (its much more than this, but I'm keeping it simple here).
I have got hold of the logic (job dependency table) which is present in a pds member (say $JOBFLOW), and in order to visualize the batch, first thing I want to do is to create a visual flow diagram of this batch. I'm looking for help with any softwares available (if possible for free) which could help me in converting the job dependency table into batch flow diagram. Using this batch flow diagram I then plan to trace the critical path and take my research & analysis ahead.
Structure of the Job Dependency Table:
This is a flat file input with two columns of 8 bytes each separated by a blank, PRED (read predecessor) and SUCC (read successor).
- If JOB1 has two sucessors JOB2 and JOB3, then the table will contain two rows as below
- If JOB5 has three predecessors (JOB2, JOB3 and JOB4), then the table will contain three rows as below:
I need this automated solution since I have multiple applications in scope and I would want to be able to regenerate the flow diagrams if there are any changes done the the dependency schedule to achieve quicker batch in this test environment.