Procedure Modules › Converting Doubleword Binary to Packed Decimal (CULLUS37) › How to Use CULLUS37
How to Use CULLUS37
To invoke CULLUS37:
- Define the binary input field as alphanumeric on a REC parameter.
- Define an 8-byte numeric work field.
- Issue a CALL to CULLUS37 in type 7 logic:
Col
2
▼
RPT-nn7sss CALL US37 (input-field-v result-field-v)
- Rpt-nn, coded in columns 2 and 3, specifies a 2-digit number in the range 00 through 99 that identifies the CA Culprit report.
- Sss, coded in columns 5 through 7, specifies a 3-digit number indicating the sequence number of the type 7 parameter.
- Input-field-v (ARG1) requires the name of the 8-byte binary input field.
- Result-field-v (ARG2) requires the name of the work field receiving the packed decimal conversion.
Example
This example shows the CA Culprit parameters required to convert an 8-byte binary input field to packed decimal format.
Copyright © 2014 CA.
All rights reserved.
|
|