Previous Topic: What You Can DoNext Topic: Helpful Hints


How to Use CULLUS36

To invoke CULLUS36:

First—Define the input file and the field containing the floating point values.

Second—Define work fields to receive the converted value (16-byte numeric field) and hold the precision indicator (1-byte alphanumeric field) if an alphanumeric literal is not used.

Third—Issue a CALL to CULLUS36 in type 7 logic:

Col
2
▼
RPT-nn7sss CALL US36 (field-name indicator-qv result-v
decimal-place-vn end-code-v)

Precision...

Is indicated by...

Single

'S'

Double

'D'

The value...

Indicates the conversion is...

Blank

Successful

ARGn

Unsuccessful in the argument indicated

Fourth—Test the value of the error indicator work field (end-code-v) immediately after the US36 call.