Say I am closing the file in step20 using the above technique , and I am using(in I-O mode) the file in step30, but the job submitted through INTRDR is not yet complete, hence the Job is abending at step30!
Can anyone please suggest a better way of closing/opening the online files?
Joined: 14 Mar 2007 Posts: 8657 Location: Back in jolly old England
One suggestion which i can give is route the sysprint of the step STEP20 to dataset with disp=new.
use the same dataset for sysprint in step30 in disp=mod.
doing this step30 will wait for the dataset created in step20
Yes, and if you read the question and pay attention you will see that the problem lies with the command submitted via INTRDR and not the previous step.
I vaguely recall a package a long time ago (I think from COMPUWARE) which issued the close commands and waited for a response that the files were closed before terminating the step.
As for the problem ................... not sure if issuing the command under SDSF would be any better. Just a quick snippet from a past life .....
Can u please help me in undertanding the /V statement in the control card? and also the syntax for the key word UNALLOCATE!
I have already checked for these in OS/390 V2R10.0 SDSF Guide and Reference, but didnt find any search results!