Programming Guide > Programming Guide > A. Operating System Differences > How You Can Use File Specifications
Was this helpful?
How You Can Use File Specifications
File specifications, which are rarely used in 4GL, are required for the following:
FileHandle attribute of BitmapObject and StringObject
SQL copy statement
call runimage statement
One way to use file specifications is to store them in an Ingres variable. At runtime, use the GetEnv method of the SessionObject system class to determine the file specification. For example:
filename = CurSession.GetEnv('MYAPP_FILENAME');
Another way to use file specifications is to store your file specifications in a database table.
Last modified date: 06/25/2024