Previous Topic Next topic Print topic


COMP5-BYTE-ORDER

Specifies the byte ordering to be used for COMP-5 data.

Syntax:

>>-.--------.-COMP5-BYTE-ORDER-.--"ordering"----><
   +-/-+    +--COMP5BYTEORDER--+

Parameters:

ordering
One of:
NATIVE
The byte ordering of COMP-5 data items varies depending on the platform on which they are compiled.
PORTABLE
The byte ordering of COMP-5 data items is always the same as the byte ordering used on the mainframe.

Properties:

Default: COMP5-BYTE-ORDER"NATIVE"
Phase: Syntax check
$SET: Initial

Comments:

You must not set COMP5-BYTE-ORDER"PORTABLE" if you are compiling SQL programs.

You might need to set COMP5-BYTE-ORDER"PORTABLE" if you are compiling mainframe CICS programs.

COMP-5 data is only available for use with the following dialects:

  • BS2000
  • BS2000-OFFLOAD
  • ENTCOBOL
  • MF
  • OS390

Setting COMP5-BYTE-ORDER for any other dialect has no effect.

Previous Topic Next topic Print topic