0605: Difference between revisions

From BR Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
|Syntax error in an [[Open]] [[statement]]
|Syntax error in an [[Open]] [[statement]]
|#A syntax error exists in an OPEN string.  The [[RECL]] parameter for an [[external]] file may be missing.
|#A syntax error exists in an OPEN string.  The [[RECL]] parameter for an [[external]] file may be missing.
#An [[OPEN DISPLAY]] Window statement with illogical [[SROW]], [[SCOL]], [[EROW]], [[ECOL]], [[ROWS]], or [[COLS]] specification.
#An [[OPEN WINDOW|OPEN DISPLAY]] Window statement with illogical [[SROW]], [[SCOL]], [[EROW]], [[ECOL]], [[ROWS]], or [[COLS]] specification.
#Misspelling
#Misspelling
#<nowiki>CAPTION<=</nowiki> was specified.
#<nowiki>CAPTION<=</nowiki> was specified.

Revision as of 16:53, 22 July 2013

Summary:

Syntax error in an Open statement

Cause:

  1. A syntax error exists in an OPEN string. The RECL parameter for an external file may be missing.
  2. An OPEN DISPLAY Window statement with illogical SROW, SCOL, EROW, ECOL, ROWS, or COLS specification.
  3. Misspelling
  4. CAPTION<= was specified.
  5. Attempt to open a file with file handle 0
  6. missing "name=" or ",Use"
  7. you tried to put 7 or more parts into a multipart index
  8. Open statment has ",,Shr"

Remedy:

  1. Correct the OPEN string; provide the missing parameter.
  2. Make sure SROW and SCOL are not less than 2, also make sure that EROW is not greater than your screen height -1 and that ECOL is not greater than your Screen Width -1.
  3. Make sure you spelled "BORDER=" and/or "CAPTION=" and/or "TAB=" correctly
  4. Correct the type-o to CAPTION=<
  5. File handle 0 is not valid, use a valid, unused file handle
  6. i.e. open #998: "Name=Ledger.Int,RecL=256,Use",internal,outin without the ,Use or Name= would return this error.
  7. The system limit is 6
  8. Correct it to ",Shr"