this is the process i usually follow.
i use File-AID .
i have a GDG file which has many records.EG:a111.b111.c111v00
and in a PDS "P111.p222.p333",member "P9330PLX" has the copybook format in it
with the above info i enter the file aid and sort the file on this condition
10 PLFX-COS-ADJ-FLG 1/AN = M
so then i start manually coping the below fields in an excel sheet
10 PLFX-AMOUNT DISPLAY 0000008250}
10 PLFX-STE 3/AN ABA
the amount field is displayed in HEXADECIMAL.which is converted to decimal as specified in the above example
below are details from the copybook
FIELD LEVEL/NAME -------PICTURE- -NUMBER START END LENGTH
10 PLFX-AMOUNT S9(9)V99 36 42 52 11
10 PLFX-STE XXX 37 53 55 3
10 PLFX-COS-ADJ-FLG X 53 133 133 1
as i am doing the above process manually.i would like to have a JCL which would create a file where the amount(decimal format) and the PLFX-STE are saved.
Now "Code'd", but was mis-aligned manually in the original post. . .