My requirement is, I need to search for a string in all GDG generations(appx 100). I need the name of the dataset/generation in spool.
The string is at a specific position.
The search should start from (Latest Gen - 1) up to oldest generation present.
Each generation is of almost 15 GB size.
I have a working code using FilaAid which works for some other GDG, relatively small generations(15) and smaller sized generations.
But it starts from the latest gen to oldest one.
Is there a way of skipping the latest gen ???
//FILEAID EXEC PGM=FILEAID
//SYSPRINT DD SYSOUT=*
//SYSLIST DD SYSOUT=*
//DD01 DD DSN=my.gdg.base,
// DISP=SHR
//SYSIN DD *
$$DD01 LIST OUT=0,
IF=(33,EQ,C'my_string')
/*
//*
//SYSPRINT DD SYSOUT=*
//SYSLIST DD SYSOUT=*
//DD01 DD DSN=my.gdg.base,
// DISP=SHR
//SYSIN DD *
$$DD01 LIST OUT=0,
IF=(33,EQ,C'my_string')
/*
//*
This utility gives GDG generation name in the spool, more like a dump, but it does(for the smaller GDG).
However, it just hangs/does nothing for the bigger GDG.
Any suggestion on getting this work?
Any other tool that can be used for this scenario ?
Best regards.