MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

temp file

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF
View previous topic :: View next topic  
Author Message
cyberuser
Beginner


Joined: 15 Oct 2005
Posts: 29
Topics: 12

PostPosted: Sat Dec 26, 2009 11:01 am    Post subject: temp file Reply with quote

hello, would be possible to have a TSO command to do same thing the JCL below is doing ?


//TEMP1 DD DSN=&&TEMP1,DISP=(,PASS),
SPACE=(CYL,(5,5)),UNIT=SYSDA


i understand would be something like this :

alloc f(temp1) SPACE(5,5) CYL da(??????) SHR REUSE

does anyone know a way to do this ?
Back to top
View user's profile Send private message
dbzTHEdinosauer
Supermod


Joined: 20 Oct 2006
Posts: 1411
Topics: 26
Location: germany

PostPosted: Sat Dec 26, 2009 12:48 pm    Post subject: Reply with quote

how would you use this? what are you trying to do?
I would suggest reading about temporary files and their purpose.
_________________
Dick Brenholtz
American living in Varel, Germany
Back to top
View user's profile Send private message
superk
Advanced


Joined: 19 Dec 2002
Posts: 684
Topics: 5

PostPosted: Sat Dec 26, 2009 4:31 pm    Post subject: Reply with quote

You were almost there:

ALLOC F(TEMP1) NEW REU SP(5,5) CYL UNIT(SYSDA) RECFM(...) LRECL(...)

although for a temporary dataset I'd use UNIT(VIO)
Back to top
View user's profile Send private message
semigeezer
Supermod


Joined: 03 Jan 2003
Posts: 1014
Topics: 13
Location: Atlantis

PostPosted: Sun Dec 27, 2009 12:52 pm    Post subject: Reply with quote

basically, just leave of the data set name in the ALLOC command.
_________________
New members are encouraged to read the How To Ask Questions The Smart Way FAQ at http://www.catb.org/~esr/faqs/smart-questions.html.
Back to top
View user's profile Send private message Visit poster's website
cyberuser
Beginner


Joined: 15 Oct 2005
Posts: 29
Topics: 12

PostPosted: Sun Dec 27, 2009 5:44 pm    Post subject: Reply with quote

it worked perfectly. Thank you !!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group