Posted: Tue Sep 23, 2003 7:13 am Post subject: REXX requirement
I have a file named CARDFILE with 'n' records ( The value of n is not fixed , it may vary from 0 to 99 , at run time ). I want a REXX which will create 'n' seperate jobs, with each job having one record from cardfile as sysin, and will submit all those jobs. But all these created jobs should be seperate jobs , not several steps under one job.
Below given is example with 3 records in cardfile and 3 seperate jobs created for it.
Joined: 26 Nov 2002 Posts: 12376 Topics: 75 Location: San Jose
Posted: Tue Sep 23, 2003 8:01 am Post subject:
nex,
I guess this is a follow up question for concurrent update question in JCL forum.If sort is an acceptable solution then the following JCL will give you the desired results.This job will create a job for each record in the input file and submit it to the intrdr.Since the last character in all the jobcards is the same , all the jobs will be execueting one after another.To Understand the job initially,change the SORTOUT to the following and See how the
jobs are created.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum