Quick Request (-q)
- Last Updated: March 30, 2020
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
Quick Request (-q)
Use Quick Request (-q) to
tell the AVM to search PROPATH directories only
on the first use of a procedure.
| Operating system and syntax | UNIX / Windows |
-q
|
||
|---|---|---|---|---|
| Use with | Maximum value | Minimum value | Single-user default | Multi-user default |
| Client Session | — | — | — | — |
Ordinarily in an ABL procedure, when the RUN statement is used to run a
subprocedure, the AVM searches the directories named by the PROPATH
environment variable, looking for a procedure of the same name with a
.r extension. If it finds a file with a .r
extension (an r-code file), it checks to make sure the r-code file has not changed since
that r-code file was created.
This search is very useful in a development environment where procedures change regularly and you want to make sure you are always running the most current version of your application. However, in a production environment, you might want to bypass this search.
With Quick Request (-q), after the initial search, if the procedure still
resides in memory or in the local session-compiled file, the AVM uses that version of the
procedure rather than searching the directories again. However, the AVM always checks
whether Data Dictionary definitions related to a procedure were modified. If they were
modified, the AVM displays an error when it tries to retrieve the procedure.