SNAX/HLS Application Programming Manual

CONVERT-ERROR-CODE Verb
SNAX/HLS Verbs
5–4 104707 Tandem Computers Incorporated
CONVERT-ERROR
-CODE Verb
This verb is used to convert sense data into a format that is usable by SCOBOLX or
COBOL, and to convert SNAX/HLS return codes into printable explanations.
Request Format
77 VERB–CONVERT–ERROR–CODE pic 9(4) comp value 9.
01 CONVERT–ERROR–CODE–REQUEST.
02 VERB–CODE pic 9(4) comp.
02 SESSION–ID pic 9(4) comp.
02 RETURN–CODE pic 9(4) comp.
02 SYSTEM–ERROR–CODE pic S9(4) comp.
02 USER–ERROR–CODE pic S9(4) comp.
Reply Format (verb–code = 9)
01 CONVERT–ERROR–CODE–REPLY.
02 VERB–CODE pic 9(4) comp.
02 SESSION–ID pic 9(4) comp.
02 RETURN–CODE pic 9(4) comp.
02 SYSTEM–ERROR–CODE pic S9(4) comp.
02 USER–ERROR–CODE pic S9(4) comp.
02 RETRY–ACTION–CODE pic 9(4) comp.
02 USER–DATA–LENGTH pic 9(4) comp.
02 SYSTEM–ERROR–DISPLAY pic X(4).
02 USER–ERROR–DISPLAY pic X(4).
02 RETURN–CODE–MESSAGE pic X(30).
02 SYSTEM–ERROR–MESSAGE pic X(40).
Return Codes
RC–OK
RC–INVALID–VERB
RC–INVALID–VERB–LENGTH
Request Details
VERB–CODE
identifies the request by an integer constant (of value 9), named as follows:
VERB–CONVERT–ERROR–CODE (in SCOBOL)
VERB^CONVERT^ERROR^CODE (in TAL)
SESSION–ID
identifies this session. SNAX/HLS generates a session ID in response to OPEN–
SESSION and HLS–ALLOCATE verbs.
RETURN–CODE
contains the return–code value to be translated.