Information

This site will undergo a brief period of maintenance on Friday, 18 December at 12:30 AM Central/12:00 PM IST. During a 30 minute window, site availability may be intermittent.

TSO/E


Related topics

CLI Getting started

You can run the CLI from TSO/E. The output will be displayed on the screen. The general syntax of CLI commands is as follows:

M9CLI <command> <required-parameter> [optional parameters]

To run the CLI from the TSO/E command line

To run the CLI from the TSO/E command line, use the following command:

TSO M9CLI LISTDSN M9.SYSTEM.**

To capture the CLI output from REXX EXEC

The M9CLI output is directed to stdout. To capture the M9CLI output, you need to redirect stdout. For example:

/* REXX */
"Alloc f(CLIDD) lrecl(1024) recfm(V,B) new reuse"
Address tso "M9CLI LISTDSN M9.PROD.* 1>DD:CLIDD"
cliRc = rc

To run the CLI from REXX EXEC

To run the CLI from REXX EXEC, use the following command:

/* REXX */
Address TSO "M9CLI LISTDSN M9.SYSTEM.**"

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC AMI Cloud Data and BMC AMI Cloud Vault 4.2