Previous Topic: Execute an ACL/E Program from an ACL/E ProgramNext Topic: Set Up Automatic Startup and Termination Programs


ACLPGM Command

The ACLPGM command schedules another ACL/E program. For example, the following statement calls a program named NEWPRG1 to execute in the current session:

ACLPGM NEWPRG1

To make the scheduled program execute in an active session other than the current session, use this format:

ACLPGM sessID,progname

where sessID is the ID for an active session in which you want to execute the program and progname is the name of the ACL/E program. For example, this statement schedules a program named NEWPRG1 to execute in the session named T2:

ACLPGM T2,NEWPRG1

Note: The ACLPGM command does not suspend execution of the main program when a program is scheduled to run in another session. For information about suspending execution of an ACL/E program while the scheduled program is executing, see Waiting for Notification from Scheduled Programs.