Skip to main content

Hello Experts,

01 WS-URL-PATH-CM.
      05 WS-URL-IE PIC X(48) VALUE
          "C:\\Program Files\\Internet Explorer\\iexplore.exe ".
      05 WS-URL-CM PIC X(2000).

call "C$SYSTEM" using WS-URL-PATH-CM.


when we execute this above call, it is opening the web browser, but till i close the web browser the above call is active and not able to access(hang) my product application which has built in AcuGT cobol. 

Using the above call , I want to execute webbrowser and cancel the same call and go and execute further my logic in my program. that means, my program should execute that web browser and leave the browser and come to program for further execution,

how do i do that please? if my question is not clear,then write here pleas.

 

 

Hello Experts,

01 WS-URL-PATH-CM.
      05 WS-URL-IE PIC X(48) VALUE
          "C:\\Program Files\\Internet Explorer\\iexplore.exe ".
      05 WS-URL-CM PIC X(2000).

call "C$SYSTEM" using WS-URL-PATH-CM.


when we execute this above call, it is opening the web browser, but till i close the web browser the above call is active and not able to access(hang) my product application which has built in AcuGT cobol. 

Using the above call , I want to execute webbrowser and cancel the same call and go and execute further my logic in my program. that means, my program should execute that web browser and leave the browser and come to program for further execution,

how do i do that please? if my question is not clear,then write here pleas.

 

 

Any one has idea on this please?


Any one has idea on this please?

Hello All,

01 WS-URL-PATH-CM.
      05 WS-URL-IE PIC X(48) VALUE
          "C:\\Program Files\\Internet Explorer\\iexplore.exe ".
      05 WS-URL-CM PIC X(2000).

call "C$SYSTEM" using WS-URL-PATH-CM.


when we execute above call, it is opening the web browser, but till I close the web browser the above call is active and not able to access(hanging) my product application which has built in ACU GT cobol

Using the above call , my program should open the web browser and leave the browser and come to program for further execution,

 

Any clue please?


Hello All,

01 WS-URL-PATH-CM.
      05 WS-URL-IE PIC X(48) VALUE
          "C:\\Program Files\\Internet Explorer\\iexplore.exe ".
      05 WS-URL-CM PIC X(2000).

call "C$SYSTEM" using WS-URL-PATH-CM.


when we execute above call, it is opening the web browser, but till I close the web browser the above call is active and not able to access(hanging) my product application which has built in ACU GT cobol

Using the above call , my program should open the web browser and leave the browser and come to program for further execution,

 

Any clue please?

Can you try adding the CSYS-ASYNC flag to your call?

call "C$SYSTEM" using WS-URL-PATH-CM, CSYS-ASYNC.

The C$SYSTEM Documentation may help, here: https://bit.ly/2V09ezy


Hello Experts,

01 WS-URL-PATH-CM.
      05 WS-URL-IE PIC X(48) VALUE
          "C:\\Program Files\\Internet Explorer\\iexplore.exe ".
      05 WS-URL-CM PIC X(2000).

call "C$SYSTEM" using WS-URL-PATH-CM.


when we execute this above call, it is opening the web browser, but till i close the web browser the above call is active and not able to access(hang) my product application which has built in AcuGT cobol. 

Using the above call , I want to execute webbrowser and cancel the same call and go and execute further my logic in my program. that means, my program should execute that web browser and leave the browser and come to program for further execution,

how do i do that please? if my question is not clear,then write here pleas.

 

 

You can use threads - these are threads within the runtime (not actual O/S CPU threads). This forum discussion is very similar to what you are wanting to do:

https://community.microfocus.com/t5/Extend-and-AcuCOBOL-Forum/threads/m-p/1732130#M11311