Q
Problem solve Get help with specific problems with your technologies, process and projects.

Can I test different versions of the same load module in CICS?

How can I test different versions of the same load module in CICS? Can you shift between different load datasets?...

I remember, back in the VERY old days of CICS 1.4, when the Command Level API was starting to replace the functions of the Macro API, wanting to do exactly what you are suggesting. Have an older version of a named module and a newer version of the same module around in the same CICS region, and then somehow switch between them for testing purposes.

Needless to say, it did not work then, and I'm afraid that this operation is still not available.

The closest you can get to this is to have a load library in DFHRPL into which you can place versions of your module, and then CEMT NEWCOPY each time to bring whatever version is in there active.

If you can link the newer version of the program with a different name to that of the old, then you can use the XPCREQ GLUE to alter the name of the program being linked to (better to have RDOed the new name rather than use PROGRAM Autoinstall). You would write a little bit of GLUE code to alter the relevant name to the newer one and enable it to use the new program-name.

You might also want to think about using the XFCFTCH exit, but this would require knowledge of the Entry Point Address of the newer program, and so be more complex to code - but this will work for modules being run from a TRANSACTION definition.


This was last published in November 2002

Dig Deeper on IBM system z and mainframe systems

PRO+

Content

Find more PRO+ content and other member only offers, here.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchWindowsServer

SearchServerVirtualization

SearchCloudComputing

Close