Hi,
Is there a way that using ISPF 3.4 we can locate only the GDG bases? I mean when I use wild card it shows the generations also.
The problem I have is - I want to pick only the GDG bases - every base has got may generations for it - so it takes many iterations to reach to next GDGD base, if I could locate only the bases it could have been easier.
Locating only GDG bases.
-
- Registered Member
- Posts: 20
- Joined: Mon Aug 18, 2014 10:25 am
- Anuj Dhawan
- Founder
- Posts: 2824
- Joined: Sun Apr 21, 2013 7:40 pm
- Location: Mumbai, India
- Contact:
Re: Locating only GDG bases.
Hi,
Not an ISPF 3.4 solution, however, see if this works for you:
Not an ISPF 3.4 solution, however, see if this works for you:
Code: Select all
//STEP01 EXEC PGM=IKJEFT01
//*
//SYSTSPRT DD DSN=&L,
// DISP=(,PASS),
// SPACE=(CYL,(??,??),RLSE),
// DCB=(LRECL=80,RECFM=FB,BLKSIZE=0)
//SYSTSIN DD *
LISTCAT LEVEL('gdg.base.criteria') ALL
//*
//STEP0200 EXEC PGM=SORT
//SYSOUT DD SYSOUT=*
//SORTIN DD DSN=&L,DISP=(OLD,DELETE)
//SORTOUT DD SYSOUT=*
//SYSIN DD *
SORT FIELDS=COPY
INCLUDE COND=(1,8,CH,EQ,C'GDG BASE')
OUTREC FIELDS=(17,36)
/*
Thanks,
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
-
- Registered Member
- Posts: 20
- Joined: Mon Aug 18, 2014 10:25 am
- Anuj Dhawan
- Founder
- Posts: 2824
- Joined: Sun Apr 21, 2013 7:40 pm
- Location: Mumbai, India
- Contact:
Re: Locating only GDG bases.
You're welcome Ashish.
Thanks,
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Create an account or sign in to join the discussion
You need to be a member in order to post a reply
Create an account
Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute