Skip to main content

Hi -

 

I have situation .  I want to call RM/COBOL program B from RM/COBOL program A but donot want to wait for response. 

 

Am I able to do using RM/COBOL?

Hi -

 

I have situation .  I want to call RM/COBOL program B from RM/COBOL program A but donot want to wait for response. 

 

Am I able to do using RM/COBOL?

Seems like the simplest way would be to use CALL "SYSTEM" to execute a runcobol command line, which will start another instance.  Simple parameters can be passed using the runcobol A option, or even the switches (as a throwback to the 1960s!).  More complex parameters can be passed by exporting data to a temp file and using the A parameter to specify the filename of the parameters.  (For the latter case, I would use XML Extensions to substantially reduce the burden of the export and import of complex parameters.)


Seems like the simplest way would be to use CALL "SYSTEM" to execute a runcobol command line, which will start another instance.  Simple parameters can be passed using the runcobol A option, or even the switches (as a throwback to the 1960s!).  More complex parameters can be passed by exporting data to a temp file and using the A parameter to specify the filename of the parameters.  (For the latter case, I would use XML Extensions to substantially reduce the burden of the export and import of complex parameters.)

Thanks