How z/VM® Responds to Your Commands
CP and CMS respond differently to different types of requests.
All CMS command responses (and all responses to CP commands that are
entered from the CMS environment) are followed by the CMS ready message.
The form of the ready message can vary, because it can be changed
using the SET command. The long form of the ready message is:
Ready; T=7.36/19.89 09:26:11
If
you have entered the command:
set rdymsg smsg
to set the
ready message to the short form, the ready message looks like:
Ready;
When you enter a command incorrectly, you receive a message describing
the error. The ready message contains the return code from the command.
By default, a return code of up to 10 digits in length displays as
part of the ready message. For example:
Ready(00028);
indicates
that the return code from the command was 28.Ready(200000);
indicates that the return code from the
command was 200000.Note that at least 5 digits are displayed. Leading zeros are added
on the left as needed. A ready message from the command may contain
a negative return code; for example:
Ready(-0001);
indicates that
the return code from the command was -1. Note that at least 4 digits
are displayed when the return code is negative.The number of digits displayed for the return code depends on the SET RDYMSG command. For more information, see z/VM: CMS Commands and Utilities Reference.