View previous topic :: View next topic |
Author |
Message |
aquarian Beginner

Joined: 28 Sep 2005 Posts: 66 Topics: 17 Location: Mars
|
Posted: Thu Sep 29, 2005 6:36 am Post subject: How to Browse a GDG? |
|
|
Hi,
Can any one tell me how to browse a GDG or Tape entry ..(not with ditto) 8) _________________ cheers,
Aquarian |
|
Back to top |
|
 |
Phantom Data Mgmt Moderator

Joined: 07 Jan 2003 Posts: 1056 Topics: 91 Location: The Blue Planet
|
Posted: Thu Sep 29, 2005 6:51 am Post subject: |
|
|
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 |
|
 |
ANIL SARATHY Beginner

Joined: 30 Aug 2005 Posts: 88 Topics: 3 Location: Syracuse,New york
|
Posted: Thu Sep 29, 2005 6:54 am Post subject: |
|
|
"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 |
|
 |
aquarian Beginner

Joined: 28 Sep 2005 Posts: 66 Topics: 17 Location: Mars
|
Posted: Thu Sep 29, 2005 7:23 am Post subject: |
|
|
thanks phantiom and anil
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 |
|
 |
ANIL SARATHY Beginner

Joined: 30 Aug 2005 Posts: 88 Topics: 3 Location: Syracuse,New york
|
Posted: Thu Sep 29, 2005 7:33 am Post subject: |
|
|
listcat entries(gdgbase name) of IDCAMS should give u details of base
this u can search and try. _________________ Anil Sarathy |
|
Back to top |
|
 |
Phantom Data Mgmt Moderator

Joined: 07 Jan 2003 Posts: 1056 Topics: 91 Location: The Blue Planet
|
Posted: Thu Sep 29, 2005 7:47 am Post subject: |
|
|
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 |
|
 |
aquarian Beginner

Joined: 28 Sep 2005 Posts: 66 Topics: 17 Location: Mars
|
Posted: Thu Sep 29, 2005 8:50 am Post subject: |
|
|
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 |
|
 |
Phantom Data Mgmt Moderator

Joined: 07 Jan 2003 Posts: 1056 Topics: 91 Location: The Blue Planet
|
Posted: Thu Sep 29, 2005 9:04 am Post subject: |
|
|
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 |
|
 |
|
|