Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
Reverse engg on one of the REXX program

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
Author Message
saurabh7878
Warnings : 1

New User


Joined: 02 Jun 2005
Posts: 16

PostPosted: Tue Sep 26, 2006 7:15 pm    Post subject: Reverse engg on one of the REXX program
Reply with quote

Hi all
I am doing the reverse engg on one of the REXX program and it contains one statment mentioned below.
"EXECIO * DISKR HEADER (FINIS STEM HEADER."

It doesnot have any ALLOC before this EXECIO. Even in the whole program there is no ALLOC on the HEADER........
Can somebody explain me that what this line will be doing in the program

Thanks in advance
Saurabh
Back to top
View user's profile Send private message
References
Kevin

Active User


Joined: 25 Aug 2005
Posts: 255

PostPosted: Tue Sep 26, 2006 7:32 pm    Post subject: Re: Doubt regarding REXX
Reply with quote

EXECIO, even though it's enclosed in quotes, is an intrinsic REXX function that allows for file I-O.

ALLOC is not. It is a TSO (or MVS) function used to allocate a dataset or SYSOUT to a specific DD. It is certainly not required for a REXX exec to use.

My best guess is that the file allocations are handled by the invoking job, as they should be. Or, the ALLOC for the file is being handled elsewhere.
Back to top
View user's profile Send private message
saurabh7878
Warnings : 1

New User


Joined: 02 Jun 2005
Posts: 16

PostPosted: Tue Sep 26, 2006 7:41 pm    Post subject: Re: Doubt regarding REXX
Reply with quote

Hi Kevin
Thanks for the explanation.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1