Kbase P80761: Error 1086 when compiling encrypted source code
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  7/16/2009 |
|
Status: Verified
SYMPTOM(s):
Error 1086 when compiling encrypted source code
This version of PROGRESS compiles only encrypted programs. (1086)
Statement "COMPILE <filename> SAVE" raises the 1086 error
FACT(s) (Environment):
Procedure Editor started with -rx parameter
Source code has been encrypted using XCODE
Progress 9.x
OpenEdge 10.x
All Supported Operating Systems
CAUSE:
This is expected behavior when trying to compile encrypted code in Encrypted Compiler Mode (-rx) with an unencrypted COMPILE statement.
The COMPILE statement must also be encrypted. It is not possible to start Procedure Editor with -rx and use a standard COMPILE statement.
FIX:
Use an encrypted procedure to compile the source code.
1) Create a separate procedure to compile the source code
2) Encrypt the procedure with XCODE using P147079, "How to encrypt a source code using Xcode"
3) Run the procedure; for example:
prowin32.exe -rx -p F:\wrk\91D\encrypted\compile.p
Please note that compile.p which is supplied with the Progress Toolkit can be used for this purpose, and has the facility to compile multiple files at the same time.