JCL


You can run the CLI by using a TSO/E batch program, and the output will be directed to the SYSPRINT DD card.

Using CLI from batch

To run the CLI from a TSO/E batch program, use the following command:

//M9CICLI  JOB ACCT#,TIME=NOLIMIT,REGION=0M
//*
//*
RUN M9CLI COMMAND
//*
//M9CLI    EXEC PGM=IKJEFT01
//STEPLIB  DD DISP=SHR,DSN=SYS2.MODEL9.LOADLIB
//SYSEXEC  DD DISP=SHR,DSN=M9.ALL.EXEC
//SYSTSPRT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SYSTSIN  DD *
 M9CLI LISTDSN M9.SYSTEM.**
/*
//

Related topic

 

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