Previous Topic: What You Can DoNext Topic: Helpful Hints


How to Use CULLUS25

To invoke CULLUS25:

First—Define the input file containing the retrieval key on the INPUT parameter and in the CULL step of the CA Culprit JCL.

Second—Define the VSAM file on an INPUT parameter and in the CA Culprit JCL:

Third—Define the key fields in each file on REC parameters.

Fourth—Issue a CALL to CULLUS25 in type 7 logic:

Col
2
▼
RPT-nn7sss CALL US25 (conversion-qv search-v key-v length-vn return-v
                         external-file-name-v var-length-field-v)

The code...

Converts to...

Blank

None

'1'

Binary

'2'

Zoned decimal without changing the sign bit value

'3'

Packed decimal without changing the sign bit value

'P'

Packed decimal with the sign X'F'

'U'

Zoned decimal with the sign X'F'

'9'

None. Closes the VSAM file

Search value

Search type

Compare method

Record retrieved

Zero

Full key (FKS)

Key equal (KEQ)

The record with an identical key

Less than the VSAM key field size

Generic (GEN)

Key greater than or equal to (KGE)

The first having n positions greater than or equal to n positions of the search key

Greater than or equal to the VSAM key field size

Full key (FKS)

Key greater than or equal to (KGE)

The first having a full key value greater than or equal to the search key

Fifth—Test for a NO RECORD FOUND condition in type 7 logic.