View previous topic :: View next topic |
Author |
Message |
dave Beginner
Joined: 29 Aug 2003 Posts: 5 Topics: 4
|
Posted: Sat Sep 13, 2003 11:46 am Post subject: opening a file in REXX |
|
|
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 |
|
|
Mike Beginner
Joined: 03 Dec 2002 Posts: 114 Topics: 0 Location: Sydney, Australia
|
Posted: Sun Sep 14, 2003 4:58 pm Post subject: |
|
|
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 |
|
|
slade Intermediate
Joined: 07 Feb 2003 Posts: 266 Topics: 1 Location: Edison, NJ USA
|
Posted: Sun Sep 14, 2003 9:11 pm Post subject: |
|
|
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 |
|
|
warp5 Intermediate
Joined: 02 Dec 2002 Posts: 429 Topics: 18 Location: Germany
|
Posted: Mon Sep 15, 2003 2:52 am Post subject: |
|
|
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 |
|
|
|
|