if it is not possible in cobol.. can you please suggest me if i can achieve this using JCL or REXX or something else..
Why does someone believe this is wanted or needed?I have to create a header file which will have name of all the variables used in the COBOL module.
BillyBoyo wrote:We still don't know why you want it, which would probably help.
Ensure that you get the "data map" from your compile listing, the datanames and lengths are in "normalised" positions, and you can tell from the normalised level-numbers what belongs where, although you show a very simple layout so won't need it. You don't show any REDEFINES or decimal places, so no problem there.