Cobol enterprise 5.2 comp-5 usage.
search cancel

Cobol enterprise 5.2 comp-5 usage.

book

Article ID: 44517

calendar_today

Updated On:

Products

Datacom DATACOM - AD

Issue/Introduction

Question:

CA Datacom/DD 14.0 does not seem to support COMP-5 field atribute.

Is there already a patch to fix this?

 

Answer:

A new patch has been written as APAR # RO90630 

Title: COBOL USAGE CLAUSE, COMP-5, NOT TREATED AS BINARY

 

Additional Information:

Definition of sizes from the Enterprise COBOL for z/OS Programming Guide: 

(v5.2 - http://publibfp.boulder.ibm.com/epubs/pdf/igy5pg20.pdf - text Pg 49, PDF page 75) 




PIC S9(1) – S9(4) Binary 2 bytes 

PIC S9(5) – S9(9) Binary 4 bytes 

PIC S9(10) – S9(18) Binary 8 bytes 



PIC 9(1) – 9(4) Binary 2 bytes 

PIC 9(5) – 9(9) Binary 4 bytes 

PIC 9(10) – 9(18) Binary 8 bytes 

Environment

Release: DATABB00200-14-Datacom/AD
Component: