|
From: | Michael da Silva Pereira |
Subject: | [open-cobol-list] cobol compile problem |
Date: | Wed Mar 29 00:57:05 2006 |
Hi there, I keep getting this error trying to compile a cobol app
called pdmnt. See below: address@hidden michael_dev_pday]# cobc pdmnt.cbl PD-COM1:1: syntax error, unexpected WORD, expecting SEQUENCE Pdmnt.cbl calls the file PD-COM1 via: IDENTIFICATION DIVISION. PROGRAM-ID. PDMNT. * Year 2000 - 07/04/1998. ENVIRONMENT DIVISION. CONFIGURATION SECTION. SOURCE-COMPUTER. NCR. OBJECT-COMPUTER. NCR. INPUT-OUTPUT SECTION. FILE-CONTROL. COPY PD-COM1.CPB. COPY PD-FL1.CPB. And the source for PD-COM1 is as follows: SELECT COMPANYFL ASSIGN TO DISK COMFLNAME ORGANIZATION IS RELATIVE ACCESS MODE IS DYNAMIC RELATIVE KEY IS CRELKEY FILE STATUS IS DSTAT. Any assistance would be greatly appreciated. Kind regards, Michael da silva |
[Prev in Thread] | Current Thread | [Next in Thread] |