Skip to main content

 It seems to lock up the called screen when using "96" until I exit out of that called program.

Tried using C$SYSTEM XXXXX FLAGS. (Flags has a value of 1)

Tried using C$SYSTEM XXXXX 1.

Tried using C$SYSTEM XXXXX CSYS-ASYNC.

None of these work when trying to use C$SYSTEM (Seems to work like a ENTER key)
What am I doing wrong?

 It seems to lock up the called screen when using "96" until I exit out of that called program.

Tried using C$SYSTEM XXXXX FLAGS. (Flags has a value of 1)

Tried using C$SYSTEM XXXXX 1.

Tried using C$SYSTEM XXXXX CSYS-ASYNC.

None of these work when trying to use C$SYSTEM (Seems to work like a ENTER key)
What am I doing wrong?

supportline.microfocus.com/.../gt4i57.htm

 It seems to lock up the called screen when using "96" until I exit out of that called program.

Tried using C$SYSTEM XXXXX FLAGS. (Flags has a value of 1)

Tried using C$SYSTEM XXXXX 1.

Tried using C$SYSTEM XXXXX CSYS-ASYNC.

None of these work when trying to use C$SYSTEM (Seems to work like a ENTER key)
What am I doing wrong?

I'm not sure what your program is doing. The docs say you need to use CSYS-SHELL in Windows when the called program doesn't have an interface. You might try 97 to add the CSYS-ASYNC flag to what you are already using. I don't remember running into an instance where CSYS-ASYNC didn't immediately return control to the calling program so it would continue.

There is one trick you may want to try if using 97 for the flag doesn't work for you. In Windows, you can use "start" to run a program. Without the "/w" (wait) flag, it immediately returns control to the calling program. I've used this in batch files outside of AcuCOBOL. For your example, the AX-QUE value would begin with "start D:\\AXIAR\\UPRINT\\ULP.EXE ...".

 It seems to lock up the called screen when using "96" until I exit out of that called program.

Tried using C$SYSTEM XXXXX FLAGS. (Flags has a value of 1)

Tried using C$SYSTEM XXXXX 1.

Tried using C$SYSTEM XXXXX CSYS-ASYNC.

None of these work when trying to use C$SYSTEM (Seems to work like a ENTER key)
What am I doing wrong?

Do you know if this "Windows 126 bytes" is accurate; command line for windows is 8000 bytes now. 1024 bytes is still accurate for Linux. I wonder what the ULP.EXE read, write, execute permissions and ownership are. I used C$SYSTEM to run VB.net and C#.net programs from Acucobol-GT. I put the VB.net exe and its DLL's and the C#.net exe and its DLL's on the Linux server and ran them on the Linux server from Acucobol-GT cobol obj's on the Linux server.

 It seems to lock up the called screen when using "96" until I exit out of that called program.

Tried using C$SYSTEM XXXXX FLAGS. (Flags has a value of 1)

Tried using C$SYSTEM XXXXX 1.

Tried using C$SYSTEM XXXXX CSYS-ASYNC.

None of these work when trying to use C$SYSTEM (Seems to work like a ENTER key)
What am I doing wrong?

can't you use cmd "D:\\AXIAR\\UPRINT\\ULP.EXE" I was using mysqlimport and mysql command from within Acucobol; same with cmd; I think you may use run command as well with C$SYSTEM

 It seems to lock up the called screen when using "96" until I exit out of that called program.

Tried using C$SYSTEM XXXXX FLAGS. (Flags has a value of 1)

Tried using C$SYSTEM XXXXX 1.

Tried using C$SYSTEM XXXXX CSYS-ASYNC.

None of these work when trying to use C$SYSTEM (Seems to work like a ENTER key)
What am I doing wrong?

we always use '129' instead of 96, works like a champ.

 It seems to lock up the called screen when using "96" until I exit out of that called program.

Tried using C$SYSTEM XXXXX FLAGS. (Flags has a value of 1)

Tried using C$SYSTEM XXXXX 1.

Tried using C$SYSTEM XXXXX CSYS-ASYNC.

None of these work when trying to use C$SYSTEM (Seems to work like a ENTER key)
What am I doing wrong?

Shane 97 worked like a champ Thanks for all your help.

 It seems to lock up the called screen when using "96" until I exit out of that called program.

Tried using C$SYSTEM XXXXX FLAGS. (Flags has a value of 1)

Tried using C$SYSTEM XXXXX 1.

Tried using C$SYSTEM XXXXX CSYS-ASYNC.

None of these work when trying to use C$SYSTEM (Seems to work like a ENTER key)
What am I doing wrong?

try the 129 too, just to eliminate whether it's good or bad reply

 It seems to lock up the called screen when using "96" until I exit out of that called program.

Tried using C$SYSTEM XXXXX FLAGS. (Flags has a value of 1)

Tried using C$SYSTEM XXXXX 1.

Tried using C$SYSTEM XXXXX CSYS-ASYNC.

None of these work when trying to use C$SYSTEM (Seems to work like a ENTER key)
What am I doing wrong?

129 did not work

 It seems to lock up the called screen when using "96" until I exit out of that called program.

Tried using C$SYSTEM XXXXX FLAGS. (Flags has a value of 1)

Tried using C$SYSTEM XXXXX 1.

Tried using C$SYSTEM XXXXX CSYS-ASYNC.

None of these work when trying to use C$SYSTEM (Seems to work like a ENTER key)
What am I doing wrong?

I'm wondering if you need to put quotes around the path such as like: "start 'D:\\AXIAR\\UPRINT\\ULP.EXE' ...". The reason I think that may help is the path isn't likely in the system path; maybe it is getting confused without the internal quotes. Wouldn't be the first time. Don't we put quotes around the path and exe in C#, C ...