Guest_imported
New member
- Jan 1, 1970
- 0
Hi !
Is there any tool available or a utility or way exists on IBM Mainframe that let me see the positioning of fields in the copy book from the beginning of the file(cumulative position ) rather than my self manually counting and adding the lengths of all fields.
Let say in the emp-record as mentioned below
01 emp-record.
05 emp-id pic x(11).
05 emp-name pic x(50).
05 emp-qual pic x(4).
05 emp-grade pic x(3).
.
.
.
.
.
05 emp-salary pic s9(9)v99.
If i want to know at what postion emp-salary field exists do i have to count all the fields from the beginning or is there a tool or utility exists which gives me summary like
01 emp-record.
05 emp-id pic x(11). 1-11
05 emp-name pic x(50). 12-61
05 emp-qual pic x(4). 62-65
05 emp-grade pic x(3). 66-68
.
So that i can look in the file directly at 62-65 position for emp-qual and 12-61 position for name.
I appreciate any guidance...
[sig][/sig]
Is there any tool available or a utility or way exists on IBM Mainframe that let me see the positioning of fields in the copy book from the beginning of the file(cumulative position ) rather than my self manually counting and adding the lengths of all fields.
Let say in the emp-record as mentioned below
01 emp-record.
05 emp-id pic x(11).
05 emp-name pic x(50).
05 emp-qual pic x(4).
05 emp-grade pic x(3).
.
.
.
.
.
05 emp-salary pic s9(9)v99.
If i want to know at what postion emp-salary field exists do i have to count all the fields from the beginning or is there a tool or utility exists which gives me summary like
01 emp-record.
05 emp-id pic x(11). 1-11
05 emp-name pic x(50). 12-61
05 emp-qual pic x(4). 62-65
05 emp-grade pic x(3). 66-68
.
So that i can look in the file directly at 62-65 position for emp-qual and 12-61 position for name.
I appreciate any guidance...
[sig][/sig]