I am using the following JCL to find a list of GDG bases and their properties
//STEP EXEC PGM=IDCAMS
//SYSIN DD *
LISTCAT ENTRIES(abc.x.*) GDG ALL
//SYSPRINT DD SYSOUT=*
//*
//SYSIN DD *
LISTCAT ENTRIES(abc.x.*) GDG ALL
//SYSPRINT DD SYSOUT=*
//*
This displays only gdgs with 3 qualifiers, eg. abc.x.abc, abc.x.acdbg
But I could find GDG bases with upto 5 qualifiers in my DASD and also the 3rd and 4th qualfiers are varied,and so am not able to group.
Is there way to display the list of bases with qualifiers 4 and more. Tried abc.x.**, abc.x.%, abc.x.- and all of these seems invalid. Some help would be appreciated. Thanks in adavance