In my below rexx program i am creation 10 job based on different conditions.
I am having below questions
1: In the INDD , the name is passed in 'Dataset.cnt' by retriving the dataset name from and it's correspondoing volume serial no from tabel. Because the generation is present on tape we need to recall it by it's volume ser no . We are maintaining those info in our tabel . The question is sometime the dataset is stored on more than one volume so we need to recall them from all volumes so and those volumes i need to pass to 'Volser.cnt so how to pass all those volumes to this variale 'Volser.cnt
in one job? and i don't want any hardcoding like
VOL=SER='Volser.1' , 'Volser.2' ......
2: Below i am creating 10 jobs bust i want to submit the job as second job should get submitted after completion of first and third one should afetr completion of second..............
How one column will have two volume serial no's? Please tell me things when situatiuon is like I have mantioned.
Topic 2: I have already serached the "sleep" word on this forum
i know it is not the good option to use . One should avoid using this option
My situation is ,IN my all ten job i am creating and copying required datasets and after CREATINO of these dataset ( afetr completion of thesae 10 jobs) i am am sending these dataset fom one host to anothe( through one job)
SO IF wrote separate job in one dataset tell me how can i achive my targer using INTRDR