Kbase P80743: 4GL/ABL: How to disable selected 4GL/ABL keywords?
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  14/02/2009 |
|
Status: Verified
GOAL:
4GL/ABL: How to disable selected 4GL/ABL keywords?
GOAL:
How to prevent an application from executing certain 4GL/ABL statements?
GOAL:
How to use the Keyword Forget List (-k) client session startup parameter?
GOAL:
How to migrate an application whose old variable or function names happen to be keywords in the new version?
GOAL:
How to prevent users from accessing the Operating System Shell by executing the UNIX or DOS statements?
FACT(s) (Environment):
All Supported Operating Systems
Progress 8.x
Progress 9.x
OpenEdge 10.x
FIX:
To migrate an existing application to a new version whose new keywords are the same as some of the application's variable or function names, use the Keyword Forget List (-k) client session startup parameter. For example:
prowin32 -k ForgetListFilename
Where ForgetListFilename is the name of a text file containing the new version keywords that are uses as variable or function names in the application.
The use pf the Keyword Forget List (-k) client session startup parameter also prevents an application from executing certain statements or functions by including the statements or functions in the forget list file.
For example, to prevent users from accessing the Operating System shell by executing the 4GL/ABL UNIX or DOS statements from a Procedure Editor session or a 4GL/ABL application, include the keyword UNIX and DOS in the forget list file and enforce the use of the Keyword Forget List (-k) client session startup parameter in all 4GL/ABL sessions.