PowerBuilder 2019R3, b2703
Oracle 12C and PostgreSQL v12
IDE: Windows 10 64 bit o/s
Runtime: Windows 19 server
Perhaps the header portion of the Global Variables is fixed and gets overwritten at some schedule known only to PowerBuilder. I moved the declaration from it's current location into the Application object using EDIT and clicking on the Instance Variables tab, then the Global Variables option, then manually entering n_tr sqlcz. Let's see if it sticks.
The new global value "n_tr sqlcz" vanishes from the list of global variables after a full build or a compile. Why is this occurring and how can I set the app to retain the new global variable?
1. I added a new n_tr value of sqlcz to the global variables using Edit Source. See image.
2. I do a Full Build, and then a DEPLOY. Everything works.
3. I do another full Build a day later and the variable sqlcz is no longer listed in the global
variables; it appears to have been deleted by magic.