Kbase P109866: NEW GLOBAL SHARED VARIABLE is blank when initialized to UNKNOWN via the INITIAL clause.
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  18/01/2008 |
|
Status: Unverified
SYMPTOM(s):
NEW GLOBAL SHARED VARIABLE is blank
Variable is initialized to UNKNOWN via the INITIAL clause.
Running .r code.
.r code was produced on another operating system.
The OS where the .r was produced and the OS where the .r is executed, have different endianess.
CAUSE:
Bug# 20030924-031
CAUSE:
This is a known issue.
The initial value for NEW GLOBAL SHARED variable's is incorrectly stored in the .r in machine-dependent format. This problem manifests itself when, for example, generating the .r code on Solaris for SPARC and deploying it on Linux for Intel.
FIX:
There are two possible solutions to this problem:
1) Upgrade to OpenEdge 10.
2) Upgrade both compilation and deployment environments to 9.1D08 or later. Then, add the -glbshvarfix startup parameter to the client sessions in the compilation environment and re-compile the problematic programs, producing new .r code. Deploy the new .r code to the target machine.