Using CA SYSVIEW Clists To Issue Multiple Commands

Document ID : KB000047080
Last Modified Date : 14/02/2018
Show Technical Document Details


Using CA SYSVIEW CLISTs can save you keystrokes as well as help with ease of use by replacing complex sets of commands with one command.



The purpose of a CLIST is to make it easier for a user to enter a list of predefined commands. The same commands that can be entered on the command line can be used in a CLIST member. Therefore, you should think of the term CLIST as a command list or a list of commands.  Hence, a CA SYSVIEW CLIST is a list of CA SYSVIEW command-line commands which are coded in the CLIST the same way they are entered at the command line. The CLISTs are stored in a PDS. Sysview provides the SYSVIEW.CNM4BCLS CLIST library to house your CLISTS for Sysview use. The system CNM4BCLS CLIST library is defined by the Dsn-System-CLISTLIB parameter in the System Configuration Options member (GSVXGSVX), in the GSVXSCFG parmlib. in GSVXGEN. To specify your own CLIST library, issue the SET CLISTDSN command which updates your profile to override the default.

CLISTs are executed by using the CA SYSVIEW CLIST command. The syntax of the command is:

CLIST mbrname <dsname> <parms>

mbrname - The CLIST library member name to be executed.

dsname - The data set name of the CLIST library containing the CLIST member.

parms - The parameters to be passed to the CLIST.

If you are using the default CLISTDSN or have specified your own data set with the SET CLISTDSN, you can omit the dsname by using the following syntax

CLIST mbrname,,<parms>

To further shorten the command, SET CLISTCMDCHAR to a value of %. You can now execute a CLIST from any command line by typing: