In addition to the ALGOL features previously discussed, DCALGOL includes the CONTROLCARD function, which you can use instead of the ZIP statement to submit WFL jobs for execution. The CONTROLCARD function has several capabilities that are unavailable through ZIP. For example, the CONTROLCARD function can
-
Specify whether the WFL job should be a dependent or independent process
-
Compile the job for syntax checking only, without executing it
-
Specify that any messages generated by the job be routed to an MCS for display in the originating session
-
Define the invalid character to be something other than a question mark (?)
-
Submit a job that is stored as a message in a DCALGOL queue
Additionally, the process that submits the CONTROLCARD function can determine whether the WFL job compiled without syntax errors. If a WFL job submitted through CONTROLCARD has syntax errors, the system assigns the value 1 to the TASKVALUE of the process that submitted the job.
A privileged DCALGOL process can also duplicate the process initiation and control capabilities that are available at an ODT. You can use the DCKEYIN statement to submit system commands to the operating system. The GETSTATUS and SETSTATUS functions directly invoke the operating system interfaces that are accessed by system commands. For information about ODT process initiation and control capabilities, refer to Tasking from Interactive Sources.

