gnucobol-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[open-cobol-list] Cobol


From: Michael da Silva Pereira
Subject: [open-cobol-list] Cobol
Date: Tue Mar 28 01:25:25 2006

Hi,

 

I have been trying to move an accouting packaged off a unix based solution, this packacge uses cobol to run.

 

I have started playing with open-cobol to try and get cobol to run on a linux system.

All is well except there are a few problems I am getting for example 1 Applciation gives me the following error:

 

[root@ v327f]# ./pdtest

libcob: cannot find module 'SYSTEM'

 

the source code is as follows:

 

       IDENTIFICATION DIVISION.

       PROGRAM-ID.      PDCALL.

       ENVIRONMENT DIVISION.

       CONFIGURATION SECTION.

       SOURCE-COMPUTER.      IBM.

       OBJECT-COMPUTER.      IBM.

       DATA DIVISION.

       WORKING-STORAGE SECTION.

       01 WS-C-CALL.

         05 WS-CCALL                PIC X(27)

                        VALUE  "/d1/dat/s2000/test W".

       PROCEDURE DIVISION.

 

       0-MAIN SECTION.

       05-INIT.

           CALL "SYSTEM" USING WS-C-CALL.

 

       04-EXIT.

           EXIT PROGRAM.

 

 

Any ideas what the line “CALL "SYSTEM" USING WS-C-CALL” means? And How I can get around / fix this.

 

 

Thanks,

Michael da Silva Pereira


reply via email to

[Prev in Thread] Current Thread [Next in Thread]