View previous topic :: View next topic
|
Author |
Message |
abdulrafi
Active User
Joined: 14 Sep 2009 Posts: 184 Location: Coimbatore
|
|
|
|
Hi,
I do have a requirement to submit a job from Cobol module several times based on the input feed. I have a doubt in this. I am Ok to develop a cobol program and dynamic file where job cards are created which will triggers the other job using ITRDR, but I need to pass input file to this job. If my cobol program has 5 input data, 5 times the job has to run with the input file provided. How would I create separate files every time the job executes ?. Is it possible ?. As the input data changes, I cant use the same file.
Can anybody suggest me a solution ?.
Thanks
Abdul rafi. |
|
Back to top |
|
|
Nic Clouston
Global Moderator
Joined: 10 May 2007 Posts: 2455 Location: Hampshire, UK
|
|
|
|
Why is this posted in the JCL & VSAM section of the forum and not the COBOL section?
Will your input data set (not file) always have 5 records in it so that you will always generate 5 jobs? |
|
Back to top |
|
|
abdulrafi
Active User
Joined: 14 Sep 2009 Posts: 184 Location: Coimbatore
|
|
|
|
Sorry that I posted it here.
My input data can have even more than 5 records. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10872 Location: italy
|
|
|
|
Quote: |
My input data can have even more than 5 records.
|
You will have to do a better job explaining the requirement |
|
Back to top |
|
|
sergeyken
Senior Member
Joined: 29 Apr 2008 Posts: 2010 Location: USA
|
|
|
|
abdulrafi wrote: |
I do have a requirement to submit a job from Cobol module several times based on the input feed. I have a doubt in this. I am Ok to develop a cobol program and dynamic file where job cards are created which will triggers the other job using ITRDR, but I need to pass input file to this job. If my cobol program has 5 input data, 5 times the job has to run with the input file provided. How would I create separate files every time the job executes ?. Is it possible ?. As the input data changes, I cant use the same file. |
Why not to submit the job 5 times via INTRDR, with different input dataset (DSNAME, or whatever?), plus different (updated) DSNAME for output dataset each time?
What actually is the problem? |
|
Back to top |
|
|
|