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 

How to Browse a GDG?

 
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
aquarian
Beginner


Joined: 28 Sep 2005
Posts: 66
Topics: 17
Location: Mars

PostPosted: Thu Sep 29, 2005 6:36 am    Post subject: How to Browse a GDG? Reply with quote

Hi,
Can any one tell me how to browse a GDG or Tape entry ..(not with ditto) 8)
_________________
cheers,
Aquarian
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Phantom
Data Mgmt Moderator
Data Mgmt Moderator


Joined: 07 Jan 2003
Posts: 1056
Topics: 91
Location: The Blue Planet

PostPosted: Thu Sep 29, 2005 6:51 am    Post subject: Reply with quote

Aquarian,

Datasets / GDGs stored in physical Tape cannot be viewed directly. You need to copy them to local datasets using SORT or any other tool and then browse / view them.

Thanks,
Phantom
Back to top
View user's profile Send private message
ANIL SARATHY
Beginner


Joined: 30 Aug 2005
Posts: 88
Topics: 3
Location: Syracuse,New york

PostPosted: Thu Sep 29, 2005 6:54 am    Post subject: Reply with quote

"a GDG or Tape entry" can u be clear about this
is it GDG base or version

in 3.4 you can browse the GDG versions.


tape entry can be copied into a dasd and use 3.4.
_________________
Anil Sarathy
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
aquarian
Beginner


Joined: 28 Sep 2005
Posts: 66
Topics: 17
Location: Mars

PostPosted: Thu Sep 29, 2005 7:23 am    Post subject: Reply with quote

thanks phantiom and anil Smile
I wolud like to view the Base entry of the GDG not its versions ...
i would like to view the content ...is it possible
_________________
cheers,
Aquarian
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
ANIL SARATHY
Beginner


Joined: 30 Aug 2005
Posts: 88
Topics: 3
Location: Syracuse,New york

PostPosted: Thu Sep 29, 2005 7:33 am    Post subject: Reply with quote

listcat entries(gdgbase name) of IDCAMS should give u details of base

this u can search and try.
_________________
Anil Sarathy
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
Phantom
Data Mgmt Moderator
Data Mgmt Moderator


Joined: 07 Jan 2003
Posts: 1056
Topics: 91
Location: The Blue Planet

PostPosted: Thu Sep 29, 2005 7:47 am    Post subject: Reply with quote

Aquarian,

Quote:

I wolud like to view the Base entry of the GDG not its versions ...
i would like to view the content ...is it possible


I am not clear with your request...What do you want to see in the Base entry ? Using Base, you can only view the particulars of that GDG (total number of generations allowed, number of active generations, Scratch/Empty parameters....). For this you can use File-Aid / ListCat.

But in the next line you say, you want to view the content. What does this refer to ? data in all generations ???

Thanks,
Phantom
Back to top
View user's profile Send private message
aquarian
Beginner


Joined: 28 Sep 2005
Posts: 66
Topics: 17
Location: Mars

PostPosted: Thu Sep 29, 2005 8:50 am    Post subject: Reply with quote

Yes ....data in all generations
i am a beginner so i could pose a right question
any way thanks for ur assistance
_________________
cheers,
Aquarian
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Phantom
Data Mgmt Moderator
Data Mgmt Moderator


Joined: 07 Jan 2003
Posts: 1056
Topics: 91
Location: The Blue Planet

PostPosted: Thu Sep 29, 2005 9:04 am    Post subject: Reply with quote

Aquarian,

To see data in all generations, you cannot issue a browe/edit over the Base. You need to copy the contents of all generations into another dataset and then view them. Try the following jcl

Code:

//R010   EXEC  PGM=SORT
//SORTIN   DD DSN=YOUR.GDG.BASE,
//            DISP=SHR
//SORTOUT DD DSN=YOUT.NEW.PS,
//            DISP=(NEW,CATLG,DELETE),
//            UNIT=SYSDA,
//            SPACE=(CYL,(1,1),RLSE)
//SYSOUT    DD SYSOUT=*
//SYSIN     DD *
   SORT FIELDS=COPY
/*


Note:
In the above JCL, I used only the Base name in SORTIN. When you don't specify any versions like this, the data in all active versions will be concatenated together (one after the other) and written to the output. This is not specific to SORT, its the funda of JCL.

Hope this helps,

Thanks,
Phantom
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 -> 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