Pathway/iTS Web Client Programming Manual (G06.24+)

Java Import Package Reference
Compaq NonStop Pathway/iTS Web Client Programming Manual—520270-001
6-8
Class ServerReplyCode
Member Summary
Constructor
ServerReplyCode()
Methods
Method Constructor
Syntax
public ServerReplyCode ()
Description
Constructor for the ServerReplyCode class.
Method addReplyCode (Single Data Identifier)
Syntax
public void addReplyCode (Integer replyCode,
int terminationStatus,
ScobolType identifier)
Description
Equivalent to the REPLY CODE reply-code-value YIELDS identifier-2
clause of the SCREEN COBOL SEND statement. This method is called once for each
reply-code-value in the YIELDS clause.
Parameters
Side Effects
Sets the value of ScobolLib.terminationStatus.
addReplyCode() Equivalent to the YIELDS clause of the SCREEN
COBOL SEND statement
replyCode Equivalent to reply-code-value in the YIELDS
clause of the SEND statement. If null, this is the same
as REPLY CODE OTHER.
terminationStatus The value to which
ScobolLib.terminationStatus is to be set
when the server’s reply code matches the value of
replyCode.
identifier Equivalent to identifier-2 in the YIELDS clause.