HRS City/State Separation Utility
Cobol
HRS uses a single field to store city and state information. Many
functions require these to be separate fields.
From a Cobol program, this module is called as follows:
CALL 'IS9055A' USING HPARM1 HPARM2 HPARM3 HPARM4
where these are defined as follows:
- Subroutine Return Code -- 1 byte/output
- 0 - Successful Completion of Routine
- 6 - City Field Cannot be Found
- 7 - State Field Cannot be Found
- 8 - The Input String Had a Bad Format (no comma)
- 9 - The Input String Was Blank
- Combined City/State Field -- 25 bytes/input
- City Field -- 20 bytes/output
- State Field -- 2 bytes/output
No JCL changes are required to invoke this procedure.