skip to main content

Environment Division : INPUT-OUTPUT Section : File names interpretation

File names interpretation
The isCOBOL Framework constructs the full-name of a file in this way:
1.
If iscobol.file.env_naming (boolean) is set in the configuration, the physical file name is searched between the environment variables. During this search hyphens are translated to underscores and names are made lowercase to be case insensitive before the comparison between file name and configuration property name.
Note: the conversion affects only properties set through SET ENVIRONMENT. For properties set in the external configuration, it’s your responsibility to use underscores and lowercase names, otherwise they will not match.
2.
3.
If iscobol.file.remove_name_spaces (boolean) is set to true, then spaces are removed from the file name.
4.
If iscobol.file.index.strip_extension (boolean) is set to true and the file name includes an extension, then the extension is removed (only for indexed files).
5.
6.
7.
Once the full-name is ready, it’s passed to the file handler.
Some file handlers might perform additional operations on the file name. For example:
JIsam
c-tree
Database Bridge
paths are not considered unless iscobol.easydb.dirlevel property is set to a value greater than zero.
remote

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