Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Temporary Dataset in JCL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
View previous topic :: :: View next topic  
Author Message
Rajesh S
Warnings : 1

New User


Joined: 11 Jul 2007
Posts: 54
Location: Chennai

PostPosted: Mon Sep 14, 2009 12:49 pm    Post subject: Temporary Dataset in JCL
Reply with quote

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
View user's profile Send private message

Escapa

Senior Member


Joined: 16 Feb 2007
Posts: 1399
Location: IL, USA

PostPosted: Mon Sep 14, 2009 1:24 pm    Post subject:
Reply with quote

Are you and Prabhu are doing same classes and it is some homework given to u?

I feel so from this and below topic..
http://www.ibmmainframes.com/viewtopic.php?t=43813

Same answer Please try and let us know on any issue you faced...
Back to top
View user's profile Send private message
Rajesh S
Warnings : 1

New User


Joined: 11 Jul 2007
Posts: 54
Location: Chennai

PostPosted: Mon Sep 14, 2009 3:52 pm    Post subject:
Reply with quote

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
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10374
Location: italy

PostPosted: Mon Sep 14, 2009 3:54 pm    Post subject: Reply to: Temporary Dataset in JCL
Reply with quote

at the top of the page there is a link to the IBM manuals...
Back to top
View user's profile Send private message
Escapa

Senior Member


Joined: 16 Feb 2007
Posts: 1399
Location: IL, USA

PostPosted: Mon Sep 14, 2009 4:53 pm    Post subject:
Reply with quote

Rajesh S wrote:
I think we cannot able to REFERBACK the DSName.
Correct me if im wrong

No You are Wrong.

Refer below link
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/handheld/Connected/BOOKS/iea1b640/4.4?ACTION=MATCHES&REQUEST=Backward+References&TYPE=FUZZY&SHELF=&DT=20000718114500&CASE=&searchTopic=TOPIC&searchText=TEXT&searchIndex=INDEX&rank=RANK&ScrollTOP=FIRSTHIT#FIRSTHIT
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8200
Location: East Dubuque, Illinois, USA

PostPosted: Mon Sep 14, 2009 4:58 pm    Post subject:
Reply with quote

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
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Tue Sep 15, 2009 6:27 am    Post subject:
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts File Tailoring -- Temporary dataset i... samzee71 CLIST & REXX 3 Fri Dec 01, 2017 3:12 am
No new posts Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts opening a dataset after reading it fr... arunsoods DFSORT/ICETOOL 5 Wed Oct 04, 2017 3:54 pm
No new posts Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 pm
No new posts Mainframe dataset split purushottam DFSORT/ICETOOL 13 Tue Aug 29, 2017 12:28 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us