|
From: | Michael da Silva Pereira |
Subject: | RE: [open-cobol-list] Cobol |
Date: | Tue Mar 28 01:58:02 2006 |
Hi, Sorry update to my last post. By the looks
of our old runcobol was modified to add this module called “SYSTEM”,
which ran a local system command. In the source code below it suppose to run
the script in the WS-C-CALL variable. Is there any way I can replicate this
SYSTEM module in open-cobol? And if so how, The code used in runcobol was C,
and I really need to duplicate this SYSTEM call. Thanks, Michael da Silva Pereira From:
address@hidden
[mailto:address@hidden On Behalf Of Michael da Silva Pereira 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 |
[Prev in Thread] | Current Thread | [Next in Thread] |