Progress
Programming
Handbook
Procedure Filenames
You can specify filename using any of these forms:
- The unquoted name of the procedure file.
- VALUE(char–expression), where char–expression is any character expression equal to the procedure filename.
- An unquoted reference to an r-code library member. For more information on r-code libraries and how to reference them, see the Progress Client Deployment Guide.
For example, this statement runs the procedure file
p-exprc2.p
, listed later in this section:
NOTE: When Progress encounters a RUN statement, it first searches for an available internal procedure whose name matches filename. If it cannot find a matching internal procedure, it then tries to find the external procedure. For more information on internal procedures, see the "Internal Procedures" section.Because an external procedure is an operating system file, the maximum length and composition of an external procedure filename depends on your operating system. By convention, procedure source files end with a .p or .w extension. The compiled versions of procedure files, r-code files, must end with a .r extension. If you specify the name of a source file, Progress tries to find and execute the corresponding r-code file before compiling and executing the source file.
Progress also imposes additional limits to promote compatibility between versions of operating systems like UNIX. For more information on the length and composition of external procedure names, see the section on Progress limits in the Progress Client Deployment Guide.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |