skip to main content

EFD Directives : FILE Directive

FILE Directive
The FILE directive names the data dictionary with the file extension .xml. This directive is required when creating a different EFD name from that specified in the SELECT COBOL statement. It is also required when the COBOL file name is not specific.
or
or
Example
In this case, the isCOBOL compiler makes an EFD file name called CUSTOMER.XML.
 ENVIRONMENT DIVISION.
 FILE-CONTROL.
 SELECT FILENAME ASSIGN TO VARIABLE-OF-WORKING.
 DATA DIVISION.
 FILE SECTION.
 FD FILENAME

Copyright (c) 2017 Veryant
Contact us
Please share your comments on this manual or on any
Veryant product documentation with the email button at the top left