Progress
Language Reference
FILE-NAME Attribute
The name of the file associated with a handle.
Data Type: CHARACTERAccess: Readable/WriteableApplies To: COMPILER System Handle, FILE-INFO System Handle, RCODE-INFO System Handle, THIS-PROCEDURE System Handle (and all procedure handles)The FILE-NAME attribute of the COMPILER handle is the name of the source file from the preceding compilation. If no error occurred during the preceding compilation, FILE-NAME assumes the unknown value (?).
The FILE-NAME attribute of the FILE-INFO or RCODE-INFO handle is the name of the file used by subsequent references to the handle. You can specify the filename with a
.p
,.r
, or no extension. If you set FILE-NAME to a relative pathname, Progress searches the PROPATH to find the file. Otherwise, Progress looks for the file specified by the absolute pathname.The FILE-NAME attribute of a procedure handle is the pathname of the procedure file that contains the procedure associated with the handle. If the procedure file is specified by the Startup Procedure (-p) parameter, the attribute contains the full pathname of the file. Otherwise, it contains the pathname exactly as specified in the RUN statement that invoked it. The procedure can be local or remote. For more information on remote procedures, see Building Distributed Applications Using the Progress AppServer .
The FILE-NAME attribute of the COMPILER handle and procedure handles is read only.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |