View previous topic :: View next topic
|
Author |
Message |
cpuhawg
Active User
Joined: 14 Jun 2006 Posts: 331 Location: Jacksonville, FL
|
|
|
|
I frequently CALL the ICETOOL program in REXX where I have to pre-allocate datasets such as those input to the CTL1CNTL or CTL2CNTL DD statements.
Is there a method of allocating a temporary dataset (like &&TEMPFILE is used in JCL) using the ALLOC command so you don't have to delete permanently created datasets at the end of a REXX routine? |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
Allocate the DD only without a DSNAME parameter? I do this:
"ALLOC DD(SYSIN) NEW REU UNIT(VIO) RECFM(F B) LRECL(80)"
a lot. |
|
Back to top |
|
|
bhavin.mehta
New User
Joined: 25 Jun 2012 Posts: 34 Location: India
|
|
|
|
I have a Rexx, which creates the temp file (which is a SORTCARD) and then Submits the SORT Job which has to use the above SORTCARD.
How do I refer to this file in the JCL?
//SYSIN DD ????? <- What would go here? |
|
Back to top |
|
|
Akatsukami
Global Moderator
Joined: 03 Oct 2009 Posts: 1788 Location: Bloomington, IL
|
|
|
|
Since you revived a six-year-old thread instead of starting a new one as is proper, I doubt if you will be aided. |
|
Back to top |
|
|
|