|
|
KSAM/3000 Reference Manual: HP 3000 MPE/iX Computer Systems > Chapter 3 USING KSAM FILES IN COBOL PROGRAMS STATUS PARAMETER |
|
The status parameter is a two-character item to which the status of the input-output operation is returned. It is always the second parameter in a KSAM procedure call. The status parameter must be defined in the WORKING-STORAGE SECTION of the COBOL program. Status consists of two separate characters: the left character is known as status-key-1, and the right is known as status-key-2.
The possible combinations of the left and right characters of parameter status are shown in Table 3-2 “Valid status Parameter Character Combinations” The values of status-key-2 (the right character) shown in the table are the only valid values for status-key-2. Table 3-2 Valid status Parameter Character Combinations
Combining status-key-1 with status-key-2, the following values may be returned to the status parameter as a whole:
|
|