I use this statement for to do a Vutil32.exe -info within a cobolprogram. On my own Windows7 PC the value in STATUS-SYSO is zero. By a customer the value is 95. Why? What are the values you can get back form the system after running. COMPUTE H05-PARAM = CSYS-HIDDEN + CSYS-SHELL. CALL "C$SYSTEM" USING PARAM-A-SYSO H05-PARAM GIVING STATUS-SYSO. INITIALIZE PARAM-SYSO. STRING '"' H31-MAP-UTILITY DELIMITED BY LOW-VALUES '\bin\Vutil32.exe" ' DELIMITED BY SIZE "-info -k " DELIMITED BY SIZE H21-PATH DELIMITED BY LOW-VALUES "." H31-FILE-SUFFIX DELIMITED BY SPACE H31-OUTPUT-INFO DELIMITED BY LOW-VALUES INTO PARAM-A-SYSO END-STRING.
↧