Accessing Temporary Dataset

5 pts.
Tags:
Mainframe
Mainframe Datasets
Temporary dataset
I have a temporary dataset created in step1. I know that temporary dataset gets deleted when the job is successfully completed. Is it possible to access that temporary dataset in step5?

Answer Wiki

Thanks. We'll let you know when a new response is added.

as per my knowledge in mainframe,i will suggest you to look for that data set in vtoc(volume table of content) as aftr the termination of the job, ds is not permanently removed and it resides in vtoc which is just like recycle bin……

i am a fresher in mainframe….so hope my suggestion will somehow prove to be fruitful……….

If the area on the DASD has not been overwritten then all you will need is to put the DD in step 5 and the program will be able to access the file.

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Indoubt88
    Yes you should be able to. I am assuming this is a system temporary data set where for 'most' accesses it is gone at the end of the job automatically. Now the bits on disk are there until something overwrites them but you can't really access them very easily (although you can but I won't go into that). However if you want to access the file in the same job that created it, you can by specifying a disposition of PASS in the 2nd (and 3rd if you like) subparmeter of the disposition parmameter on the creating DD (so long as you don't delete it in a later DD between the two steps). In the the later step you want to read it in, just specify the same name or use a JCL refer back to the creating DD statement in your JCL (it is easier if you give it a &&xxx name - where xxx is whatever you like up to 8 character). Now if you meant something else, the above may not help you any. Good luck
    45 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following