Skip to main content

We updated to Acu 9.2.2 on Windows Server 2012 to address the reported issue with C$SYSTEM for Windows 8 assuming our issue with Server 2012 was related to the same.  The purpose of the call is to display a pdf file with the default pdf viewer as follows:

          move spaces to ws-file-name
           string 
               "C:\\Image\\a.pdf"
              into ws-file-name
            end-string
           inspect ws-file-name replacing
                       trailing " " by low-value.

           call "C$SYSTEM" using ws-word-file-name, 97
                giving status-code.

This method works with XP, Win7 (32 and 64), Windows 8, and Windows Server 2008.

Any ideas on how we can resolve?

Thanks.

 

 

 


#CSYSTEM

We updated to Acu 9.2.2 on Windows Server 2012 to address the reported issue with C$SYSTEM for Windows 8 assuming our issue with Server 2012 was related to the same.  The purpose of the call is to display a pdf file with the default pdf viewer as follows:

          move spaces to ws-file-name
           string 
               "C:\\Image\\a.pdf"
              into ws-file-name
            end-string
           inspect ws-file-name replacing
                       trailing " " by low-value.

           call "C$SYSTEM" using ws-word-file-name, 97
                giving status-code.

This method works with XP, Win7 (32 and 64), Windows 8, and Windows Server 2008.

Any ideas on how we can resolve?

Thanks.

 

 

 


#CSYSTEM

The sample program calls vi.exe. You can either make sure you have vi.exe on your system (in the PATH), or use another program. Note that the program MUST be a non-GUI program (so notepad.exe won't test the error).On the Windows 2012 server, does this program run:

      identification division.

      program-id. ziptest is initial.

      environment division.

      input-output section.

      file-control.

      data division.

      file section.

      working-storage section.

      copy "acucobol.def".

      77 Ftp-Stat       pic 9(9) comp-4 value 0.

      procedure division.

      Main section.

  call "c$system" using

               "vi.exe systest.cbl",

               csys-minimized

          end-call

          exit program.


We updated to Acu 9.2.2 on Windows Server 2012 to address the reported issue with C$SYSTEM for Windows 8 assuming our issue with Server 2012 was related to the same.  The purpose of the call is to display a pdf file with the default pdf viewer as follows:

          move spaces to ws-file-name
           string 
               "C:\\Image\\a.pdf"
              into ws-file-name
            end-string
           inspect ws-file-name replacing
                       trailing " " by low-value.

           call "C$SYSTEM" using ws-word-file-name, 97
                giving status-code.

This method works with XP, Win7 (32 and 64), Windows 8, and Windows Server 2008.

Any ideas on how we can resolve?

Thanks.

 

 

 


#CSYSTEM

I was doing some testing on Windows Server 2012 last year and I noticed that the Power Shell works a bit differently than a Command Prompt. Wiith the Powershell it works better when you preface your command with cmd /c

Try a call to System and use the cmd /c and see if your PDF displays.


We updated to Acu 9.2.2 on Windows Server 2012 to address the reported issue with C$SYSTEM for Windows 8 assuming our issue with Server 2012 was related to the same.  The purpose of the call is to display a pdf file with the default pdf viewer as follows:

          move spaces to ws-file-name
           string 
               "C:\\Image\\a.pdf"
              into ws-file-name
            end-string
           inspect ws-file-name replacing
                       trailing " " by low-value.

           call "C$SYSTEM" using ws-word-file-name, 97
                giving status-code.

This method works with XP, Win7 (32 and 64), Windows 8, and Windows Server 2008.

Any ideas on how we can resolve?

Thanks.

 

 

 


#CSYSTEM

That did it!   Thank you!


We updated to Acu 9.2.2 on Windows Server 2012 to address the reported issue with C$SYSTEM for Windows 8 assuming our issue with Server 2012 was related to the same.  The purpose of the call is to display a pdf file with the default pdf viewer as follows:

          move spaces to ws-file-name
           string 
               "C:\\Image\\a.pdf"
              into ws-file-name
            end-string
           inspect ws-file-name replacing
                       trailing " " by low-value.

           call "C$SYSTEM" using ws-word-file-name, 97
                giving status-code.

This method works with XP, Win7 (32 and 64), Windows 8, and Windows Server 2008.

Any ideas on how we can resolve?

Thanks.

 

 

 


#CSYSTEM

That did it!   Thank you!


We updated to Acu 9.2.2 on Windows Server 2012 to address the reported issue with C$SYSTEM for Windows 8 assuming our issue with Server 2012 was related to the same.  The purpose of the call is to display a pdf file with the default pdf viewer as follows:

          move spaces to ws-file-name
           string 
               "C:\\Image\\a.pdf"
              into ws-file-name
            end-string
           inspect ws-file-name replacing
                       trailing " " by low-value.

           call "C$SYSTEM" using ws-word-file-name, 97
                giving status-code.

This method works with XP, Win7 (32 and 64), Windows 8, and Windows Server 2008.

Any ideas on how we can resolve?

Thanks.

 

 

 


#CSYSTEM

That did it!   Thank you!