View previous topic :: View next topic
|
Author |
Message |
mukulbit
New User
Joined: 16 May 2007 Posts: 6 Location: pune
|
|
|
|
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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
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 |
|
|
|