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 

opening a file in REXX

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


Joined: 29 Aug 2003
Posts: 5
Topics: 4

PostPosted: Sat Sep 13, 2003 11:46 am    Post subject: opening a file in REXX Reply with quote

Hi All
Can somebody please help me. I have to open a program placed in the PDS. I thought to use LINEIN function. But it is not working. Every time it gives error that it is invalid
How can we open a file in rexx and create a new file.

Thanks in Advance
Dave
Back to top
View user's profile Send private message
Mike
Beginner


Joined: 03 Dec 2002
Posts: 114
Topics: 0
Location: Sydney, Australia

PostPosted: Sun Sep 14, 2003 4:58 pm    Post subject: Reply with quote

You use EXECIO, which will open a dataset that has been allocated, to process data (assuming that the dataset type is supported) in a dataset. If the dataset(s) have not been allocated then you can use the TSO ALLOC command to allocate them, this includes creating a new dataset.

It would be wise to check the Rexx manual regarding EXECIO and to also check the TSO manual for ALLOC.
_________________
Regards,
Mike.
Back to top
View user's profile Send private message
slade
Intermediate


Joined: 07 Feb 2003
Posts: 266
Topics: 1
Location: Edison, NJ USA

PostPosted: Sun Sep 14, 2003 9:11 pm    Post subject: Reply with quote

Hi Dave,

What do you want to do once you OPEN the PDS member? The reason I ask is that if you're editing or searching the member, ISPF edit macros may be a more convenient way to do it.

Regards, Jack.
Back to top
View user's profile Send private message
warp5
Intermediate


Joined: 02 Dec 2002
Posts: 429
Topics: 18
Location: Germany

PostPosted: Mon Sep 15, 2003 2:52 am    Post subject: Reply with quote

You can download a package from IBM that contains all those commands that you can use in the PC World. Install it and then you can use Linein in the host world.
Back to top
View user's profile Send private message Visit poster's website
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