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

I/O operation with PDS Members


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
mukulbit

New User


Joined: 16 May 2007
Posts: 6
Location: pune

PostPosted: Thu May 17, 2007 12:08 pm
Reply with quote

Hi All
I'm having following requirement
1.Get count of all PDS members.
2.if members are 1000 then create a two new PDS and move 900 members in one and 100 in others i.e i can't move more than 900 members in one PDS.
3.i don't know how many members are there in 1st PDS.
4.According to count i've to create new PDS dynamically and move the members also.

Please tell me what approch should i follow. whether to write a COBOL or it can be done with the JCL.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Thu May 17, 2007 4:10 pm
Reply with quote

Yes it is

http://ibmmainframes.com/viewtopic.php?t=6192
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 May 17, 2007 5:32 pm
Reply with quote

ISPF Library Management (LM) services work just as well in a COBOL program as the do in REXX or CLIST. The program will also have to use dynamic allocation functions (BPXWDYN or IKJEFTSR).

ALL of these processes have been discussed in these forums before.
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 -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts Duplicate several members of/in one l... JCL & VSAM 7
No new posts list pds members name starting with xyz CLIST & REXX 11
No new posts REXX editmacro to compare two members... CLIST & REXX 7
No new posts Easy way to delete selected members f... IBM Tools 12
No new posts To find an array of words (sys-symbol... JCL & VSAM 9
Search our Forums:

Back to Top