Ed, Brian,

    Thank you.

On 6/6/2025 12:10 AM, Brian Westerman wrote:
Ed is correct, you although you don't need to spin it off, you do have to close 
it.  If you use SSI 80, you can get everything in the dataset up to that point 
in time, so if you are still writing to it, you will obviously only get what 
you have written and might even lose the last buffer if JES has not copied it 
there from that buffer (yet).

You would likely be better off doing the offload part in a separate step of the 
job, or have your job get the data from some other job.  It's always difficult 
to get your own data when you are still writing it.  It's not impossible, just 
harder and there is normally no reason to need to do that.  In fact as a 
separate step, it would likely be more useful because you could use it for 
other jobs just by passing it the jobname (or the current task name) and the 
DSID that you are looking for.

Brian

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to