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 

Stats. wiped out in copying

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities
View previous topic :: View next topic  
Author Message
naveen
Beginner


Joined: 03 Dec 2002
Posts: 90
Topics: 31

PostPosted: Tue Mar 25, 2003 12:19 am    Post subject: Stats. wiped out in copying Reply with quote

While copying a member from one PDS to another using IEBGENER , the stats. (the information regarding Size,Created,Changed,ID) are wiped out. How can I keep these stats. intact , after copying the meber ?
Back to top
View user's profile Send private message Send e-mail
semigeezer
Supermod


Joined: 03 Jan 2003
Posts: 1014
Topics: 13
Location: Atlantis

PostPosted: Tue Mar 25, 2003 1:01 am    Post subject: Reply with quote

Use IEBCOPY instead. IEBGENER only copies the contents of the sequential file (the member being treated as a sequential file in this case). You need a utility that knows about the directory too.
Back to top
View user's profile Send private message Visit poster's website
naveen
Beginner


Joined: 03 Dec 2002
Posts: 90
Topics: 31

PostPosted: Tue Mar 25, 2003 8:26 am    Post subject: Reply with quote

Any other method???
Back to top
View user's profile Send private message Send e-mail
kolusu
Site Admin
Site Admin


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

PostPosted: Tue Mar 25, 2003 11:08 am    Post subject: Reply with quote

Naveen,

You can use FILE-AID to update the ISPF stats for the member copied.

Code:
 

//STEP0100 EXEC PGM=FILEAID                                 
//*                                                         
//SYSLIST  DD SYSOUT=*                                     
//SYSPRINT DD SYSOUT=*                                     
//SYSUDUMP DD SYSOUT=*                                     
//DD01     DD DSN=YOUR PDS,                         
//            DISP=SHR                                     
//SYSIN    DD *                                             
$$DD01 UPDATE MEMBER=PLG01,                               
              EDITALL=(1,0,C' ',C' '),PDSSTAT=A
/*


In here we are updating the member PLG01 for a space with a space , so there is nothing actually changed, but the parameter PDSSTAT=A will update the PDS statistics if they exist, or add statistics if they don't exist.

Hope this helps....

cheers

kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities 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