Re: Procobol error.. please help

From: Jim Smith <usenet_at_ponder-stibbons.com>
Date: Mon, 18 Dec 2006 08:48:25 +0000
Message-ID: <Ri9A98aZXlhFFwXT_at_jimsmith.demon.co.uk>


In message <1166422552.590658.167260_at_j72g2000cwa.googlegroups.com>, attraxion <attraxion_at_gmail.com> writes
>Hi All,
>
>I'm a newbie. I am trying to create a program to extract some entries
>from tables and load some others, using Pro*COBOL. The overall thing
>seems to be all right, but on compiling I am getting a strange one I
>never encountered before -
>
>PCB-S-00400, Encountered the symbol "<end-of-source>" when expecting
>one of the
>following:
>
> + - * / . & id string integer floating-point literal EXTERNAL
> GLOBAL REFERENCE PICTURE USAGE BINARY COMP COMPUTATIONAL
> COMPUTATIONAL-4 ........ etc etc
>
>I STFWed but there is no description of this error anywhere on google.
>The error occurs at a place where I try to include a file containing
>valid values in my program. The excerpt from the list file is as
>follows -
>
> 132 01 SW00-FILE-I-STATUS SYNC PIC X(2)
> 133 *----------------------------------------------------
> 134 * COPY 'filestatus.va'
> 135 *----------------------------------------------------
> 136 88 FS-FILE-STATUS-OK
>Error at line 137, column 29 in file extract_art_image.pco
> 137 VALUE IS "00".
> 137 ............................1
> 137 PCB-S-00400, Encountered the symbol "<end-of-source>" when
>expecting one of the following:

It is a very long time since I've written any cobol, but are you missing a period at the end of line 132?

-- 
Jim Smith
Ponder Stibbons Limited <http://oracleandting.blogspot.com/>
RSS <http://oracleandting.blogspot.com/atom.xml>
Received on Mon Dec 18 2006 - 09:48:25 CET

Original text of this message