WITHOUT WAITING keywords

WITHOUT WAITING keywords are used within the RUN statement to make it execute the child program in the background, without displaying the process of its execution.

DEFINE my_prog STRING

LET my_prog = "/child_progs/source/test_prog.4a"

RUN my_prog WITHOUT WAITING

 

A child application must contain its own MAIN program block. The variables of the two programs cannot be cross-referenced. Each of the programs (both parent and child programs) must be terminated independently by means of the EXIT PROGRAM or END MAIN statement.

 

The WITHOUT WAITING keywords are usually used when the child program needs some time for execution and the result of its execution is not required for the processing of the parent program. If these keywords are included into the RUN statement, the child program is executed as a background process and does not affect the visual display. This feature is typically used to run 4GL reports in the background.

 

Contact Us

Privacy Policy

Copyright © 2024 Querix, (UK) Ltd.