I have a requirement where I have to load an Assembler table (CSLVRNS) from a COBOL CICS program (X3O99203) and I have to load it dynamically. It is because the table contains our project release information and we want the info to be picked up into the copybook layout CSWVRNS (present in Linkage Section) of X3099203 when it loads the CSLVRNS table, without having to recompile the main program X3099203 at the time of release.
Here it is what I am supposed to do:
LOAD THE VERSION LEVEL AND RELEASE DATE
ENTRY(ADDRESS OF CSWVRNS)
FYI, value of WS-CSLVRNS-PGM is CSLVRNS only.
However, when I run this code, I only see the old values in CSWVRNS, even when I changed the contents in CSLVRNS and pick both programs from the latest and updated load library.
I am compiling the ASM module in batch mode. Not sure whether I should do in online mode or not as I don't have any idea about Assemblers.
I suspect that the it program X3099203 is only picking old values from whenever it was last ran and it is not reflecting the current value from CSLVRNS.