contents.gifindex.gifprev1.gifnext1.gif

CALLing C$ASYNCRUN

If desired, you call the C$ASYNCRUN library routine along with the remote application name to achieve asynchronous processing. The syntax for this CALL is:

CALL "C$ASYNCRUN" using handle-of-call program_name parameter-1 parameter-2

where:

handle-of-call
is a handle of the CALL defined in working storage
program_name
is the name of the CALLed program
parameter
is a parameter of the CALL

For example, you might have the following line in the working storage section of your client program:

01 h-call-prog2 handle.

And the following in the procedure division section:

CALL "C$ASYNCRUN" using h-call-prog2 "prog2.acu" customer-info.

C$ASYNCRUN tells AcuConnect to allow the client application to continue processing even while the server application is active.

See Also

con90002.gif Sample "asynch.cbl" Program