Previous Topic: What You Can DoNext Topic: Converting Packed Decimal to Binary (CULLUS33)


How to Use CULLUS31

To invoke CULLUS31:

  1. Define the field to be translated on a REC parameter or a work field parameter.
  2. Define an alphanumeric work field to receive the translated value.
  3. Issue a CALL to CULLUS31 from type 7 logic:
    Col
    2
    ▼
    RPT-nn7sss CALL US31 (field-name length-vn result-v)
    

Example

This example shows the CA Culprit parameters required to translate the contents of an input field into a hexadecimal representation.

The following code:

REPORT NO. 13 CULLUS31 mm/dd/yy PAGE 1 INPUT HEX REPRESENTATION 047I F0F4F7C9 046I F0F4F6C9 035E F0F3F5C5 034I F0F3F4C9 046G F0F4F6C7 033D F0F3F3C4 030A F0F3F0C1 001E F0F0F1C5 045H F0F4F5C8 006I F0F0F6C9