On Monday, June 17, 2013 11:03:25 PM UTC-7, wbreidbach wrote:
> Am Montag, 17. Juni 2013 19:11:40 UTC+2 schrieb Anupam Das: > On Monday, June 17, 2013 10:29:41 PM UTC+5:30, Vijay Muralidharan wrote: > > > Using batchcom i can able to execute some tacl macros very well. But i want to know whether is it possible to do the tal compilation using batchcom? If yes, how? > > > > Why not?! Same as you executed any other tacl macro, routine or command. Encapsulate the compilation command inside an obey file and put that obey file in the IN file of the job. Everything that can be done using a non-interactive TACL can be done within NetBatch. Just ensure that you are using the correct userid and correctly specify your input and output files. btw: I cannot imagine any reason for using the TAL compiler within NetBatch except massive capacity problems.
All compiles are run through Batchcom where I work to prevent the developers from inundating a CPU with multiple compilers. The compiles are scheduled via an executor that runs one at a time. Submitting the compiles through Batchcom also provides an audit log.
the compile command is coded in <file-in>.
Then submit the batch job using the below as an example
BATCHCOM / NAME / ; SET JOB IN <file-in>;
open $ZBAT; &
set job class CBLCOMP; &
set job out $s.#<prog-name>; &
set job adp (<user-id>)PROD; &
submit job CBLCOMP-<prog-name>