IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

PDS in MOD mode


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Vinay N.G

New User


Joined: 15 Sep 2008
Posts: 36
Location: Bangalore

PostPosted: Thu Dec 24, 2009 8:28 am
Reply with quote

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

Global Moderator


Joined: 01 Sep 2006
Posts: 2546
Location: Silicon Valley

PostPosted: Thu Dec 24, 2009 11:07 am
Reply with quote

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

Global Moderator


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

PostPosted: Thu Dec 24, 2009 3:53 pm
Reply with quote

Disposition of Partitioned Data Sets (PDSs and PDSEs).
Back to top
View user's profile Send private message
Vinay N.G

New User


Joined: 15 Sep 2008
Posts: 36
Location: Bangalore

PostPosted: Thu Dec 24, 2009 6:36 pm
Reply with quote

Thank you all...
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts HILITE on Browse mode? TSO/ISPF 2
No new posts Calling Java method from batch COBOL ... COBOL Programming 5
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
No new posts Difference when accessing dataset in ... JCL & VSAM 7
No new posts FIELDS OVERLAPPING WITH MODE = IN OR ... CICS 3
Search our Forums:

Back to Top