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

Copy PDS to PDS except empty member


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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: 8797
Location: Welsh Wales

PostPosted: Thu Sep 10, 2009 12:51 pm
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

Superior Member


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

PostPosted: Thu Sep 10, 2009 2:40 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts VB to VB copy - Full length reached SYNCSORT 8
No new posts Need COBOL COPY Help in MVS Environment COBOL Programming 4
No new posts Issue after ISPF copy to Linklist Lib... TSO/ISPF 1
No new posts DB2 Table - Image copy unload IBM Tools 2
No new posts Insert trailer for non empty file only DFSORT/ICETOOL 6
Search our Forums:

Back to Top