Welcome Serena Central users! CLICK HERE
The migration of the Serena Central community is currently underway. Be sure to read THIS MESSAGE to get your new login set up to access your account.
rstoll Absent Member.
Absent Member.
1219 views

C$System not executing

I have a user with 64-bit Windows Ultimate SP1, Dell OptiPlex 9110, that cannot run a program using C$SYSTEM.  As soon as the CALL C$SYSTEM command is executed it fails. Other users not having this problem, but I am remote, its not clear if the other users have Windows Ultimate.  I don't experience the behavior on my Dell T1700 WIndows Professional o/s.  Has anyone else seen this?   Is there another method to execute a user inputted acucobol program name that works?  Thanks out there!  Hope I can help you guys one day.

Sample of the code:

       01 RUN-COMMAND.
            02 FILLER PIC X(44) VALUE
                 "wrun32.exe -c \bi\data\cblconfi ".
            02 RUN-PROGRAM PIC X(30).

*************the program to run is an Acucobol .acu file, the application automatically appends .acu to the program name they've entered.
       01  system-call-vbls.
           05  command-flag     pic 99 value 72.
*******Command-flag values: 1 Async; 2 No I/O; 4 Maximized; 8 Minimized
*******16 Compatibility 32 Hidden  64 Shell
           05  command-flag-min-compat-shell pic 99 value 88.         
           05  exit-statusA     pic 99.   
       

           IF RUNPROG-button-pressed               
               CALL 'C$SYSTEM' USING RUN-COMMAND

                                                           command-flag-min-compat-shell
                    GIVING EXIT-STATUSA

0 Likes
1 Reply
Micro Focus Expert
Micro Focus Expert

RE: C$System not executing

If you user opens a DOD prompt and types wrun32.exe -vv ... do they get a response?

I am betting this is some type of PATH issue.

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.