Previous Topic: Invoke a Monitor from a TSO Command, CLIST, or REXX EXEC

Next Topic: Route Message Output to a File

Invoke TUNCALL from a Batch Job

You can execute TUNCALL from a batch job as shown in the following example:

//JOBNAME JOB (ACCT),'CALL CAMAT',CLASS=A,MSGCLASS=A //* //TUNCALL EXEC PGM=TUNCALL, // PARM='CAMAT,MONITOR INVOKE PROFILE(PAYPROD1)'

This example writes the messages to the console and can process only a single request.