"." in file name in COBOL
SELECT PFILE ASSIGN TO P.FILE, but the compiler won't accept it as it uses the period to mark the end-of-statement.
I can't rename or override the file name, it has to be P.FILE.
Any solutions would be greatly appreciated.
SELECT PFILE ASSIGN TO "DATABASE-P.FILE".
COPY DDS-ALL-FORMATS OF "P.FILE"
REPLACING == P.FILE-RECORD == BY == PFILE-RECORD ==.
Looking for relevant AS/400 Whitepapers? Visit the Search400.com Research Library.
Gilly400 | May 15 2008 8:30AM GMT
Hi,
Why can’t you override the file name? I don’t think you’ll be able to reference this file unless you can rename or override it.
Regards,
Martin Gilbert.