z/OS TSO/E Programming Services
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Output from the Command Scan Service Routine

z/OS TSO/E Programming Services
SA32-0973-00

The Command Scan Service Routine scans the command buffer and returns the results of its scan to the calling routine by filling in the command scan output area, and by updating the offset field in the command buffer. Table 1 shows the possible CSOA settings and command buffer offset settings upon return from the Command Scan Service Routine.

Table 1. Return from command scan - CSOA and command buffer settings
Command scan output area Command buffer
Flag Meaning Length field Offset set to:
X'80' The command name is valid and the remainder of the buffer contains non-separator characters. Length of command name The first non-separator following the command name.
X'40' The command name is valid and there are no non-separator characters remaining. Length of command name The end of the buffer.
X'20' The command name is a question mark. Zero Unchanged.
X'10' The buffer is empty or contains only separators. Zero The end of the buffer.
X'08' The command name is syntactically not correct. Zero Unchanged.
X'04' The command is an implicit EXEC command. Length of command name The first non-separator following the command name.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014