VIEW COMMAND command
Summary
- Privileges
- Any user
- Function
- Displays the USE data set support and the command privileges for commands.
Syntax
VIEW COMMAND command
Where: command is any User Language command
Usage
Sending VIEW output to the USE data set
If you want to see how the Model 204 Command table settings are set to know whether the output from a command is sent to the screen or the USE data set, you can issue a VIEW COMMAND command. If there is an open USE data set, the VIEW COMMAND command output is directed to it. For example:
VIEW COMMAND SETGRC
This command displays results similar to the following:
SETGRC COMMAND USE=IGNORE PRIVILEGE=(LOGONREQ)
This might cause a problem for any User Language procedure that has one or more commands between a USE command and the commands that directs its output to the USE data set. To solve this problem:
-
Issue a VIEW COMMAND command to view the flags in the command table that indicate which commands support USE output and to what extent.
-
If your are the system manager you can issue a RESET COMMAND command to update the flags.
Please refer to "RESET COMMAND: Control USE data set support" for a discussion of the RESET COMMAND command and how to direct the output.