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 

GDG generation creation time and userid needed

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
shekar123
Advanced


Joined: 22 Jul 2005
Posts: 528
Topics: 90
Location: Bangalore India

PostPosted: Thu Nov 10, 2005 12:37 pm    Post subject: GDG generation creation time and userid needed Reply with quote

Hai All,

Is there any way by which we can know the GDG generation creation time and the userid who has created the new GDG generation.For example if we have a GDG lists:


Code:

PROJECT.TEST.GDG
PROJECT.TEST.GDG.G0001V00
PROJECT.TEST.GDG.G0002V00
PROJECT.TEST.GDG.G0003V00
PROJECT.TEST.GDG.G0004V00
PROJECT.TEST.GDG.G0005V00



In test environment many users will be working on datasets.If any userid say TECH022 submits the job of creation of new version of GDG how do we know what time is the new sixth generation and which userid has created.

Code:

PROJECT.TEST.GDG.G0006V00



If we see the information for generation

Code:

Command - Enter "/" to select action                  Message           Volume
-------------------------------------------------------------------------------
I        PROJECT.TEST.GDG.G0006V00                             DSTEST1




we get the following information of creation date and referenced date only.

Code:

Creation date . . . : 2005/11/01      Referenced date . . : 2005/11/01   



How do we know the userid who has created the generation as well the time of creation ?
_________________
Shekar
Grow Technically
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


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

PostPosted: Thu Nov 10, 2005 12:39 pm    Post subject: Reply with quote

shekar123,

Please search before posting. check this link which explains about extracting the gdg version create dates

http://www.mvsforums.com/helpboards/viewtopic.php?t=2104&highlight=create+gdg

Hope this helps...

Cheers

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


Joined: 22 Jul 2005
Posts: 528
Topics: 90
Location: Bangalore India

PostPosted: Thu Nov 10, 2005 3:00 pm    Post subject: GDG generation creation time and userid needed Reply with quote

Kolusu,

I tried out the JCL but i am getting RC code 16 in the TOOLMSG step and invalid sysntax error in the DFSMSG step.Can u please explain me why ?

TOOLMSG ERROR

Code:

1ICE600I 0 DFSORT ICETOOL UTILITY RUN STARTED                                   
                                                                               
 ICE632I 0 SOURCE FOR ICETOOL STATEMENTS:  TOOLIN                               
                                                                               
                                                                               
 ICE630I 0 MODE IN EFFECT:  STOP                                               
                                                                               
              COPY FROM(IN)  USING(CTL1)                                       
 ICE606I 0 DFSORT CALL 0001 FOR COPY FROM IN       TO OUTFIL   USING CTL1CNTL COMPLETED
 ICE602I 0 OPERATION RETURN CODE:  00                                           
                                                                               
              SORT FROM(CON) USING(CTL2)                                       
 ICE606I 0 DFSORT CALL 0002 FOR SORT FROM CON      TO OUTFIL   USING CTL2CNTL TERMINATED
 ICE602I 0 OPERATION RETURN CODE:  16                                           

ICE601I 0 DFSORT ICETOOL UTILITY RUN ENDED - RETURN CODE:  16



DFSMSG ERROR

Code:

 0            OPTION EQUALS                                                     
              INREC FIELDS=(1,49,50,2,CHANGE=(1,C'19',C'0',                     
                                                C'20',C'1',                     
                                                C'21',C'2'),NOMATCH=(C'0'),     
                            52,5,80:X,81,8)                                     
              SORT FIELDS=(81,8,ZD,A)                                           
              SUM FIELDS=(50,6,ZD)                                             
              OUTREC FIELDS=(1,49,50,6,ZD,PD,LENGTH=4,80:X)                     
              OUTFIL FNAMES=OUT,                                               
              OUTREC=(1,44,C' IS CREATED ON: ',50,4,DT1,EDIT=(TTTT-TT-TT),80:X)
                                                    $                           
 ICE007A E SYNTAX ERROR                                                         
 ICE146I 0 END OF STATEMENTS FROM CTL2CNTL - PARAMETER LIST STATEMENTS FOLLOW   
           DEBUG NOABEND,ESTAE                                                 
           OPTION LIST,MSGPRT=ALL,MSGDDN=DFSMSG,RESINV=0,SORTDD=CTL2,SORTIN=CON,DY*
                          NALLOC                                               
 ICE052I 3 END OF DFSORT


_________________
Shekar
Grow Technically
Back to top
View user's profile Send private message
Frank Yaeger
Sort Forum Moderator
Sort Forum Moderator


Joined: 02 Dec 2002
Posts: 1618
Topics: 31
Location: San Jose

PostPosted: Thu Nov 10, 2005 3:16 pm    Post subject: Reply with quote

The error message for DFSORT's DT1 format indicates you are very behind in DFSORT service. DT1 has been available in DFSORT since March, 2002. Ask your System Programmer to install DFSORT R14 PTF UQ95213 (Dec, 2004) - that will get you all of the DFSORT functional PTFs.
_________________
Frank Yaeger - DFSORT Development Team (IBM)
Specialties: JOINKEYS, FINDREP, WHEN=GROUP, ICETOOL, Symbols, Migration
DFSORT is on the Web at:
www.ibm.com/storage/dfsort
Back to top
View user's profile Send private message Send e-mail Visit poster's website
shekar123
Advanced


Joined: 22 Jul 2005
Posts: 528
Topics: 90
Location: Bangalore India

PostPosted: Thu Nov 10, 2005 3:56 pm    Post subject: GDG generation creation time and userid needed Reply with quote

Thanks Frank & Kolusu for your replies.

In the case if the job was successful(DFSORT R14 PTF UQ95213 was available),then i would have got the output as:


Code:

PROJECT.TEST.GDG                  IS CREATED ON: 2005-11-01
PROJECT.TEST.GDG.G0001V00         IS CREATED ON: 2005-11-01
PROJECT.TEST.GDG.G0002V00         IS CREATED ON: 2005-11-01
PROJECT.TEST.GDG.G0003V00         IS CREATED ON: 2005-11-01
PROJECT.TEST.GDG.G0004V00         IS CREATED ON: 2005-11-01
PROJECT.TEST.GDG.G0005V00         IS CREATED ON: 2005-11-01
PROJECT.TEST.GDG.G0006V00         IS CREATED ON: 2005-11-01




My question could be silly too but i just want to know is there any way where in we can know what is the TIME of creation of GDG base as well as TIME of creation of each generation and the USERID who created the base / generations individually?
_________________
Shekar
Grow Technically
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


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

PostPosted: Thu Nov 10, 2005 7:12 pm    Post subject: Reply with quote

Quote:

My question could be silly too but i just want to know is there any way where in we can know what is the TIME of creation of GDG base as well as TIME of creation of each generation and the USERID who created the base / generations individually?

shekar123,

Please search before posting. check these links

http://www.mvsforums.com/helpboards/viewtopic.php?t=168&highlight=creation+gdg

http://www.mvsforums.com/helpboards/viewtopic.php?t=161&highlight=smf


http://www.mvsforums.com/helpboards/viewtopic.php?t=3266&highlight=smf

Hope this helps....

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/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 -> Job Control Language(JCL) 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