What is the COMP-X used for?
Tue, 06/28/2011 - 13:49
We use Micro focus mainframe express for our development work in
COBOL, recently I came across a copybook which had datatype of variables
defined as COMP-X. Please see below code for reference.
10 FCD-STATUS-KEY-1 PIC X.
10 FCD-STATUS-KEY-2 PIC X.
10 FCD-BINARY REDEFINES FCD-STATUS-KEY-2
PIC 99 COMP-X.
As far as I know, I dont think regular COBOL which runs on mainframe uses
I would be grateful if someone can explain what is COMP-X datatype and if
COBOL for OS/390 uses this?"; ; ; ;