SNAX/HLS Application Programming Manual

RECEIVE-CONTROL-WAIT Verb
SNAX/HLS Verbs
104707 Tandem Computers Incorporated 5–71
Request Format
77 VERB–RECEIVE–CONTROL–WAIT pic 9(4) comp value 20.
01 RECEIVE–CONTROL–WAIT–REQUEST.
02 VERB–CODE pic 9(4) comp.
02 SESSION–ID pic 9(4) comp.
Reply Format ( verb–code = 20 )
01 RECEIVE–CONTROL–WAIT–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 RECOVERY–TAGS
03 BOM pic S9(4) comp.
03 EOM pic S9(4) comp.
02 RECEIVE–DATA–QUEUED–IND pic X. (Y or N)
02 ENTER–SEND–STATE–IND pic X. (Y or N)
02 TRANSACTION–IN–PROGRESS–IND pic X. (Y or N)
02 MESSAGE–COMPLETE–IND pic X. (Y or N)
02 DEFINITE–RESPONSE–IND pic X.
02 FUTURE pic X.
02 DATA–TYPE–RECEIVED pic S9(4) comp.
02 USER–DATA–LENGTH pic 9(4) comp.
Return Codes
RC–OK RC–N–DATA–AVAILABLE
RC–INVALID–SESSION–ID RC–INVALID–VERB
RC–SESSION–FAILURE RC–INVALID–VERB–LENGTH
RC–DATA–TRUNCATED RC–POSSIBLE–DATA–LOSS
RC–SESSION–NOT–ALLOCATED RC–MESSAGE–CANCELLED
Request Details
VERB–CODE
identifies the request by an integer constant (of value 20), named as follows:
VERB–RECEIVE–CONTROL–WAIT (in SCOBOL)
VERB^RECEIVE^CONTROL^WAIT (in TAL)
SESSION–ID
identifies the session.