View previous topic :: View next topic
|
Author |
Message |
Rajesh S Warnings : 1 New User
Joined: 11 Jul 2007 Posts: 54 Location: Chennai
|
|
|
|
HI,
Can we create a temporary datasets with the same name in two different DD statements in a single JCL?
I answered, No. We can passed the Temporary dataset to some other DD statement, otherwise we can create the Temporary dataset in two different names.
Please correct me, If im wrong
Thanks in Advance
Rajesh S |
|
Back to top |
|
|
Escapa
Senior Member
Joined: 16 Feb 2007 Posts: 1399 Location: IL, USA
|
|
|
|
Are you and Prabhu are doing same classes and it is some homework given to u?
I feel so from this and below topic..
www.ibmmainframes.com/viewtopic.php?t=43813
Same answer Please try and let us know on any issue you faced... |
|
Back to top |
|
|
Rajesh S Warnings : 1 New User
Joined: 11 Jul 2007 Posts: 54 Location: Chennai
|
|
|
|
Hi Sambhaji,
REFERBACK is used to refer the disp, space, unit, vol, DCB parameters only.
I think we cannot able to REFERBACK the DSName.
Correct me if im wrong
Thanks
Rajesh S |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
at the top of the page there is a link to the IBM manuals... |
|
Back to top |
|
|
Escapa
Senior Member
Joined: 16 Feb 2007 Posts: 1399 Location: IL, USA
|
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
Quote: |
Can we create a temporary datasets with the same name in two different DD statements in a single JCL? |
Of course -- step1 of the job creates &&T1, step2 uses and deletes it, step 3 creates &&T1 again. All in one job (JCL). |
|
Back to top |
|
|
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1592
|
|
|
|
Reading the manual it looks like you can, provided they are not created in the same second of time, since hhmmss is part of the assigned DSN.
Only user unnamed temp datasets are assured to be uniquely named because of a unique 5 digit number appended to the system assigned name. |
|
Back to top |
|
|
|