So im calling PAS async using the appserver transport.
(Tested on 11.7.1, 11.7.3)
CREATE SERVER hPAS. ASSIGN blnRet = hPAS:CONNECT("-URL " + SystemParameter.PASConnectionURL). RUN somecode.p ON hPAS ASYNCHRONOUS SET hasync (). QUIT.
The above code never finishes the execution of somecode.p. As soon as the "QUIT" statement is hit, the second session dies on PAS. If i place a Pause between the run and the quit, i can make the execution get further or complete.
So the async run seems to rely on the calling process staying active? Is this correct behavior? Im almost certain on 11.6 flavors this did not happen.
|
||||
Brian Maher
|
||||
Principal Engineer, Technical Support
|
||||
Progress
|
||||
14 Oak Park | Bedford, MA 01730 | USA
|
||||
|
||||
|
|
||||
Brian Maher
|
||||
Principal Engineer, Technical Support
|
||||
Progress
|
||||
14 Oak Park | Bedford, MA 01730 | USA
|
||||
|
||||
|