VIEW COMMAND command: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (misc cleanup)
No edit summary
 
Line 39: Line 39:
</ol>
</ol>


[[Category: General user commands]]
[[Category: User commands]]
[[Category:Commands]]
[[Category:Commands]]

Latest revision as of 16:29, 22 March 2017

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 Model 204 command.

Usage

Sending VIEW output to the USE data set

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, VIEW 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 SOUL procedure that has one or more commands between a USE command and the commands that direct output to the USE data set. To solve this problem:

  1. Issue VIEW COMMAND to view the flags in the command table that indicate which commands support USE output and to what extent.

  2. If your are the system manager, you can issue RESET COMMAND to update the flags.

    Refer to RESET COMMAND command for a discussion of RESET COMMAND and how to direct the output.