RUN

From CometWiki

Revision as of 13:08, 5 June 2009 by Badge (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

RUN Syntax: RUN program[,directory-name][,"message"] Placement: The RUN command must be the last command in the report or the last command in a report contained in a multiple-report specification. Discussion: The RUN command executes a program. Follow it with the name of the program you wish to run, such as:

 RUN Z,DSK
 RUN QREPORTS,UTR,"ARREPORT,DSK,5000"
 

As an option, you can also type the three-character name of the directory where the program is located. You may also send a message, such as a file-name or command, to the program. You must enclose the message in double quotes. The message can be any information the program is expecting, including a command file name, directory, and beginning line number as shown in the second example above. This example would run The Reporter asking to run a report named ARRPORT, located in directory DSK, and starting at line number 5000.

Personal tools