Connect:Direct for i5/OS Run Task Statement
The Connect:Direct® for i5/OS RUN TASK statement is used in a non-i5/OS Process to execute i5/OS CL commands on a remote Connect:Direct for i5/OS node. Possible uses include:
- Calling programs before or after copying files (CALL command)
- Submitting jobs before or after copying files (SBMJOB command)
- Creating save files prior to transport (CRTSAVF and SAVxxx commands)
- Restoring save files after transport (RSTxxx command)
- Sending notification to a user on the Connect:Direct for i5/OS node (SNDBRKMSG, SNDMSG, or an equivalent command
The following is the Connect:Direct for i5/OS Run Task statement format. Refer to Connect:Direct for i5/OS Process Parameters for more information.
Label | Statement | Parameters |
---|---|---|
stepname | RUN TASK | (PGM=AS400) |
SNODE | ||
SYSOPTS = "string" |