Handling the COMP-2 Float value in the CFF Stage & IBM37

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
vijaykumarpj
Participant
Posts: 30
Joined: Sat Dec 19, 2009 5:19 am
Location: Manchester, UK

Handling the COMP-2 Float value in the CFF Stage & IBM37

Post by vijaykumarpj »

Facing issue, to handle the COMP-2 Float value in the CFF stage for couple of fields.

Please, find the below sample value:
The value of the field in the Mainframe is 411A19ED7C6FBD27 and usage in the copy book is COMP-2, and in the COBOL Layout observed in CFF stage of datastage is PIC S9(14) V9(4) and in the parallel layout its dfloat.

Kindly, advise how to handle these values in the Datastage.

Also, want to know how to convert the IBM double precision (COMP-2) format to Decimal (readable value).

As, datstage reads the above value, as IEEE format. Now, we need to perform with the help of IBM370 format.

Kindly shed some light on this.!! Thanks!
Thanks,
VJ.
vijaykumarpj
Participant
Posts: 30
Joined: Sat Dec 19, 2009 5:19 am
Location: Manchester, UK

Post by vijaykumarpj »

Need to make the small changes in the properties of the CFF, while selecting the type, as IBM370 instead of IEEE standard.

Then, we will achieve, what we need.
Thanks,
VJ.
Post Reply