MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

adding members to a PDS with Cobol and maintaining stats

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF
View previous topic :: View next topic  
Author Message
stansaraczewski
Beginner


Joined: 06 Sep 2006
Posts: 44
Topics: 13
Location: Southern California

PostPosted: Wed Feb 04, 2009 7:32 pm    Post subject: adding members to a PDS with Cobol and maintaining stats Reply with quote

We'd like to copy members from one PDS to another and not lose the Created and Updated dates... it isn't working with cobol. Any ideas ? It should be a batch process.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12369
Topics: 75
Location: San Jose

PostPosted: Wed Feb 04, 2009 8:04 pm    Post subject: Reply with quote

stansaraczewski,

Why not use the plain old IEBCOPY?

Code:

//STEP0100 EXEC  PGM=IEBCOPY           
//SYSPRINT DD  SYSOUT=*                 
//IN       DD  DSN=Your source pds,     
//             DISP=SHR                 
//OUT      DD  DSNAME=your target pds,
//             DISP=SHR             
//SYSIN    DD  *                     
COPYOPER   COPY  OUTDD=OUT,INDD=IN   
           SELECT MEMBER=MEMBER1
           SELECT MEMBER=MEMBER2
            .....
           SELECT MEMBER=MEMNNNN
//*

_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
stansaraczewski
Beginner


Joined: 06 Sep 2006
Posts: 44
Topics: 13
Location: Southern California

PostPosted: Thu Feb 05, 2009 11:08 am    Post subject: Reply with quote

No good reason not to... thanks for the suggestion.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group