NetBatch Management Programming Manual
Sample Programs
NetBatch Management Programming Manual—522462-003
C-31
Sample TACL Macros
Step 5: Load Macros From Source File
End the EDIT session and load the macros from the source file you created at Step 1:
*EXIT
> LOAD /KEEP 1/ TEMP.TACLSRC
Loaded from $DATA7.TEMP.TACLSRC:
SPIEXTACL SUBMIT^JOB STATUS^JOB SEND^SPI WAIT^FOR^IT
Step 6: Test the Macros
Test the macros by invoking SPIEXTACL:
> SPIEXTACL
 Job submitted to $ZBAT using SPI
 Job number : 7
 Job name : TACL-JOB
 Job status from $ZBAT using SPI
 Selpri : 3
 Class : OPERATIONS
Step 7: Delete the Submitted Job
> BATCHCOM $ZBAT; DELETE JOB TACL-JOB
Job TACL-JOB Jobnumber 7 deleted










