Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

PDS in MOD mode

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
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    Post subject: PDS in MOD mode
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

Senior Member


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

PostPosted: Thu Dec 24, 2009 11:07 am    Post subject: Reply to: PDS in MOD mode
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

Moderator Team Head


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

PostPosted: Thu Dec 24, 2009 3:53 pm    Post subject: Reply to: PDS in MOD mode
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    Post subject: Reply to: PDS in MOD mode
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    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts What is the command to check MODE of ... rohanthengal CLIST & REXX 7 Fri Nov 18, 2016 1:48 pm
No new posts Calling macro via rexx in batch mode. SanaR CLIST & REXX 15 Tue Mar 08, 2016 4:46 pm
No new posts Edit not allowing in dataset after Po... krsenthil85 TSO/ISPF 8 Mon Jul 13, 2015 10:27 pm
No new posts VSAM share mode ashim prodhan JCL & VSAM 7 Wed Jun 03, 2015 7:54 pm
No new posts HEX ON on View mode Vs Browse Mode krsenthil85 TSO/ISPF 3 Wed May 13, 2015 3:03 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us