Code in %ZOSF("SAVE") should set XCM
Bug #640867 reported by
Jon Tai
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenVista/GT.M Integration |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
On Cache, the value of %ZOSF("SAVE") is:
N XCS S XCS="F XCM=1:1 S XCN=$O(
Note that XCM is set. OCXOCMP8 (and possibly other routines) expect XCM to be set.
On GT.M, %ZOSF("SAVE") calls D SAVE^%ZOSV2(X). The equivalent FOR loop in SAVE^%ZOSV2 does not set XCM:
F S XCN=$O(
The solution is to change the FOR loop from an argumentless FOR to FOR XCM=1:1.
Related branches
Changed in openvista-gtm-integration: | |
milestone: | none → 0.8.10 |
Changed in openvista-gtm-integration: | |
status: | New → Fix Committed |
Changed in openvista-gtm-integration: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Adding some more context...
This issue was discovered because lab notifications were not working. While debugging, it was determined that the order check rules needed to be compiled. The routines that do order checks are also the same ones that do notifications. Attempting to run the option to Compile Rules [OCX RUN COMPILER] caused the XCM error.