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
 

 

Copy PDS to PDS except empty member

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
js_pradeep

New User


Joined: 08 Sep 2006
Posts: 1

PostPosted: Thu Sep 10, 2009 12:12 pm    Post subject: Copy PDS to PDS except empty member
Reply with quote

Hi,
I have a requirement to copy one PDS members to another PDS except empty members. Is this posible with ICETOOL. If yes please provide sample example.
Back to top
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Thu Sep 10, 2009 12:51 pm    Post subject:
Reply with quote

Welcome to the forum - so please note DO NOT just ask for code without showing your own attempts. This is a HELP forum, not a do it for me forum.

I would say that no, it is not possible using ICETOOL.

You will need a program such as REXX to interrogate the PDS directory to get record counts of each member. Of course, if the ISPF statistics have not been maintained for every member, then you need to open those members to verify that there are records present.

With the results from the step above you can generate the control statements for IEBCOPY and then invoke IEBCOPY all within the same REXX code.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Thu Sep 10, 2009 2:40 pm    Post subject:
Reply with quote

Quote:
Is this posible with ICETOOL
Why do you choose ICETOOL instead of rather used IEBCOPY for such tasks? Are you from some SORT product team, by any chance?
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts member list compare jzhardy TSO/ISPF 6 Fri May 12, 2017 3:18 pm
No new posts copy SEQ to PDS and create stats steve-myers JCL & VSAM 7 Thu Apr 27, 2017 1:15 am
No new posts Copy load modules and alias vasanthz IBM Tools 5 Thu Apr 20, 2017 6:31 am
No new posts Browsing member from any PDS shiitiizz CLIST & REXX 7 Wed Mar 08, 2017 1:17 am
No new posts Bind plan as a member to another bind... rexx77 DB2 0 Thu Feb 16, 2017 2:02 am


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