COBOL Manual for TNS/E Programs (H06.03+)
Environment Division
HP COBOL Manual for TNS/E Programs—520347-003
6-62
RECEIVE-CONTROL Paragraph
file-name
is the name of a file whose longest record’s length is the number of characters
from a reply message to be saved in the reply table.
ERROR CODE phrase
error
is an unsigned integer numeric item for storing an error code for a reply
message, which you must set. It can be in the Working-Storage Section, the
File Section, or the Linkage Section.
MESSAGE SOURCE phrase
message
is an alphanumeric item that is:
°
Defined in the Working-Storage Section, Extended-Storage Section, File
Section, or Linkage Section
°
Aligned on an even character boundary within a record
°
At least 32 characters long
°
Not a table
°
Not modified by a reference
°
Not of a variable size (not a data structure that contains an OCCURS
DEPENDING ON clause)
The contents of message are updated automatically after a file assigned to
$RECEIVE is successfully read.
ERROR
CODE
error
IS
VST067.vsd
MESSAGE
SOURCE
message
IS
VST068.vsd










