raj_mainframe08
New User
Joined: 11 Sep 2007 Posts: 65 Location: Gurgaon
|
|
|
|
Hi,
My requirement is to create MFD in Mainframe Focus to read the following fields in COBOL File.
Code: |
SG02-CTRB-EMP-PCT PIC V99.
SG02-CTRB-EWD-PCT PIC 9(1)V99 COMP-3.
|
I created the Focus MFD as below for the above fields but not getting the correct results...
Code: |
FILE=B548290 ,SUFFIX=FIX
SEGNAME=B548290
FIELDNAME =CTRB.EMP.PCT ,E02 ,I3.2 ,Z2 ,$
FIELDNAME =CTRB.EWD.PCT ,E03 ,I4.2 ,P2 ,$
|
i.e. The value in cobol file field SG02-CTRB-EMP-PCT and SG02-CTRB-EWD-PCT is 0.67 and .81 but when i am reading that file with Focus MFD i created as above, i am getting 67.00 and 81.00. Can somebody please help me on what I'm doing wrong here? |
|