I have a many jobs that create a logfile after the job is complete. I use the DSJobLog after jobs routine to create the logfile. The file is created in the following format. Here JB_Master is the jobname
Now after the job log is created, a job is built to read this file and load it into a log table. So, I want to build a sequencer which will call 2 jobs in sequence:
Code: Select all
1. Main job that loads an application table
2. Job that loads the log table.
When I do this, I want to pass the jobname from step 1, so that it can use the file pattern and read the appropriate log file. Pls suggest me how to achieve this. IS there any other way to handle this?