Hi,
i need to find out the length of a gdg through cobol pgm
and display it
eg.
DB2P.IMAGCPY.COTSP1
has a length of 19
so how can i get the name of the gdg in cobol pgm
so how can i get the name of the gdg in cobol pgm
If you list the catalog entries, you can place the output in a file (ratgher than the print queue) and then read that file into your cobol code and calculate the length of each dsn.actually i dont have the gdg's names in any file
i have to read them from the system(catalog table)