Saving CANDE Commands for Later Use

You can achieve some of the convenience of programmatic task initiation and control by saving CANDE commands in a file for later use. You can use the DO or SCHEDULE command to execute the commands in the file. You can reuse the file as many times as desired.

The DO command takes effect immediately and prevents you from using most other commands in the session until the DO file is completed. However, you can use the SCHEDULE command to cause the file to be executed separately from your current session or at a later time.

Files that store CANDE commands are different from programs in that they are not compiled and are not executed as separate processes. Their process control abilities are more limited than those of WFL, ALGOL, or COBOL programs, because no conditional statements or variables are available.