The BCAM commands supply command return codes that you can query when using SDF-P. Each return code consists of a subcode1 (SC1), a subcode2 (SC2) and the maincode.
Subcode1
Subcode1 represents the error code and is a decimal number.
The possible error classes are:
No error:
the value of subcode1 is 0.Syntax error:
the value of subcode1 is in the range 1 through 31.Internal error (system error):
the value of subcode1 is 32.Error not assigned to any other class:
the value of subcode1 is in the range 64 through 127. If the value of subcode1 is in this range, the maincode must be evaluated in order to ascertain the appropriate action.Command cannot be executed at this time:
the value of subcode1 is in the range 128 through 130.
Subcode2
Subcode2 either contains information supplementary to that in subcode1 or is equal to 0.
Maincode
The maincode corresponds to the message key of the SYSOUT message. You can use the /HELP-MSG-INFORMATION command to fetch more detailed information. The chapter on Messages contains details on the meanings of the messages and the actions to be taken in response.
See the BS2000 Commands manuals for a detailed general description of the command return codes.
Each command description shows which command return codes are possible for the command in question and explains the meanings of the return codes.