Hi,
Is it possible to extract field name in COBOL. please don't be confused with field name and field value. i need to extract the all the field name under a group variable. for example. if WS-FMTD-FILE-LAYOUT is group variable and it is defined as given below:
01 WS-FMTD-FILE-LAYOUT
06 WV55-HIER-DOC-PT-ID PIC 9(10) VALUE ZEROES.
06 WV55-HIER-PRORD-SEQ-NBR PIC Z(7) VALUE ZEROES.
06 WV55-PLN-PRTY PIC 9(5) VALUE ZEROES.
06 WV55-PRCG-PLAN-ID PIC X(8).
I want to extarct all fields name under the group variable 01 WS-FMTD-FILE-LAYOUT with their length. Length I know but no idea about extracting field name.