View previous topic :: View next topic |
Author |
Message |
cyberuser Beginner
Joined: 15 Oct 2005 Posts: 29 Topics: 12
|
Posted: Sat Dec 26, 2009 11:01 am Post subject: temp file |
|
|
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 |
|
 |
dbzTHEdinosauer Supermod
Joined: 20 Oct 2006 Posts: 1411 Topics: 26 Location: germany
|
Posted: Sat Dec 26, 2009 12:48 pm Post subject: |
|
|
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 |
|
 |
superk Advanced

Joined: 19 Dec 2002 Posts: 684 Topics: 5
|
Posted: Sat Dec 26, 2009 4:31 pm Post subject: |
|
|
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 |
|
 |
semigeezer Supermod
Joined: 03 Jan 2003 Posts: 1014 Topics: 13 Location: Atlantis
|
Posted: Sun Dec 27, 2009 12:52 pm Post subject: |
|
|
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 |
|
 |
cyberuser Beginner
Joined: 15 Oct 2005 Posts: 29 Topics: 12
|
Posted: Sun Dec 27, 2009 5:44 pm Post subject: |
|
|
it worked perfectly. Thank you !! |
|
Back to top |
|
 |
|
|