Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Cobol Misc > Re: error on co...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 2 Topic 120 of 183
Post > Topic >>

Re: error on compilation

by Jerome <j.aubert1@[EMAIL PROTECTED] > May 11, 2006 at 03:37 PM

Jerome a écrit :
> Hello,
> 
> I must work on a cobol program to modify it.
> 
> This program read an external indexed file so I wrote :
> 
> FILE-CONTROL.
>     SELECT OPTIONAL ENTREE ASSIGN TO RANDOM FGCTEM01
>         ORGANIZATIONAL IS INDEXED
>         ACCESS DYNAMIC
>         RECORD KEY EK-HISTOR1
>         ALTERNATE RECORD KEY IS EK-HISTOR2 WITH DUPLICATES.
> ...
> DATA DIVISION.
> FILE SECTION.
>     FD ENTREE RECORD CONTAINS 128 CHARACTERS
>         LABEL RECORD STANDARD
>         DATA RECORD EHISTOR.
>     01 EHISTOR.
>         02 EK-HISTOR1.
>             03 ...
>             03 ...
>             ...
>         02 EK-HISTOR2.
>             03 ...
>             03 ...
>         02 ...
> ...
> 
> When I try to compile, I've got this message :
> 
> 0180: E File access name data-name is not defined for file : ENTREE
> 
> What's wrong
> 
> Best regards
> 
> Jerome

I find the error :

SELECT OPTIONAL ENTREE ASSIGN TO RANDOM "FGCTEM01"

It' better

:-)

Jerome
 




 2 Posts in Topic:
error on compilation
Jerome <j.aubert1@[EMA  2006-05-11 15:06:27 
Re: error on compilation
Jerome <j.aubert1@[EMA  2006-05-11 15:37:23 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Oct 11 1:57:37 CDT 2008.