From: David E. <de...@us...> - 2007-02-11 07:11:25
|
Ralcala wrote: > Hi fellas i now its a newie question but i need > your help i just cant compile a file with this > syntax errors: > > error: syntax error, on or before 'IN' > error: invalid clause in select, on or before 'IN' > ... > and in the cobol files stands for: > > FILE-CONTROL. > SELECT CREAANSA ASSIGN TO "anusaldo.idx" > ORGANIZATION IS INDEXED > ACCESS MODE IS RANDOM > RECORD KEY IS CVESAL > ALTERNATE RECORD KEY IS ULTSAL IN REGAAS > WITH DUPLICATES > ... The problem is with the qualification of the identifiers (IN REGAAS). This syntax is valid, but not currently implimented in TC for file description entries. Just remove the 'IN REGAAS' and the code should compile. Hope this helps. |