View previous topic :: View next topic
|
Author |
Message |
Vinay N.G
New User
Joined: 15 Sep 2008 Posts: 36 Location: Bangalore
|
|
|
|
Hi,
I was tryin to write into a member of PDS with disposition parameter
as MOD...
"ALLOC FI(OUP) DA('"PDS-NAME"(MEMBER)') MOD"
PUSH "TESTING"
"EXECIO 1 DISKW OUP"
When i execute the above code i get the some errors saying module not found and also "Error while closing the dataset".
But when i try to do the same thing with disposition parameter as SHR, it goes fine...
Can anyone let me know the reason for this.
Thanks in advance |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2546 Location: Silicon Valley
|
|
|
|
Is there a message number? Issue PROFILE MSGID before running your rexx program.
I do not think you can have DISP=MOD for a PDS member, because of the way that members are organized within PDS space. |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
Back to top |
|
|
Vinay N.G
New User
Joined: 15 Sep 2008 Posts: 36 Location: Bangalore
|
|
|
|
Thank you all... |
|
Back to top |
|
|
|