Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Allocating a temporary dataset using REXX

 
Post new topic   This topic is locked: you cannot edit posts or make replies.    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
View previous topic :: :: View next topic  
Author Message
cpuhawg

Active User


Joined: 14 Jun 2006
Posts: 331
Location: Jacksonville, FL

PostPosted: Thu Nov 20, 2008 9:40 pm    Post subject: Allocating a temporary dataset using REXX
Reply with quote

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

superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Thu Nov 20, 2008 9:49 pm    Post subject: Reply to: Allocating a temporary dataset using REXX
Reply with quote

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

New User


Joined: 25 Jun 2012
Posts: 32
Location: India

PostPosted: Wed Jul 22, 2015 3:46 pm    Post subject: Reply to: Allocating a temporary dataset using REXX
Reply with quote

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

Global Moderator


Joined: 03 Oct 2009
Posts: 1753
Location: Bloomington, IL

PostPosted: Wed Jul 22, 2015 5:19 pm    Post subject:
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   This topic is locked: you cannot edit posts or make replies.    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Want to pull the job log into a Mainf... Jishu Mukherjee Compuware & Other Tools 9 Tue Mar 21, 2017 4:48 pm
No new posts REXX cdoe to purge a JOB from spool a... Sulabh Agrawal CLIST & REXX 11 Thu Mar 09, 2017 11:36 am
No new posts Overriding PS data in rexx Shaheen Shaik CLIST & REXX 8 Fri Mar 03, 2017 5:08 pm
No new posts JCL to get submitted once dataset has... vinu78 JCL & VSAM 17 Thu Feb 16, 2017 7:32 am
No new posts REXX compiled via RXTCOMP sergeyken CLIST & REXX 7 Tue Feb 07, 2017 9:41 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us