JCL
The CLI can be executed using a TSO/E batch program, the output is directed to the SYSPRINT DD card.
USING CLI FROM BATCH
1
//M9CICLI JOB ACCT#,TIME=NOLIMIT,REGION=0M
2
//*
3
//*
4
RUN M9CLI COMMAND
5
//*
6
//M9CLI EXEC PGM=IKJEFT01
7
//STEPLIB DD DISP=SHR,DSN=SYS2.MODEL9.LOADLIB
8
//SYSEXEC DD DISP=SHR,DSN=M9.ALL.EXEC
9
//SYSTSPRT DD SYSOUT=*
10
//SYSPRINT DD SYSOUT=*
11
//SYSTSIN DD *
12
M9CLI LISTDSN M9.SYSTEM.**
13
/*
14
//
Copied!
Last modified 1mo ago
Export as PDF
Copy link