Is there any CICS command or EIB field that gives the UnitofWork (UOW) identifier? I know that we have the EIBTASKN field that gives the CICS task number but I am not aware of any fields/commands that gives the UOW identifier. Please help, thanks.
I'm afraid that we do not expose the UnitOfWork identifier currently being used by a CICS Transaction via an API call. However, you could attempt to get it by having a good trawl through the CICS Control Blocks but that's not really a nice thing to do. Why do you need this value anyway? If you want something unique, SYSID||TRANID||TaskNumber||STCK is certainly good enough.
CICS Technical Strategist -- CICS expert at Search390.com
Editor's note: Do you agree with this expert's response? If you have more to share, post it in one of our .VO7aaqqaAFk.0@/search390>discussion forums.
Dig Deeper on IBM system z and mainframe systems
Related Q&A from Robert Crawford
For better mainframe capacity planning, how do I convert CPU hours to MIPS? And is there a way to calculate the relationship between MIPS and MSUs? Continue Reading
I have two years of experience in mainframe technology, currently working as a mainframe developer. I want to change to Java technology. Continue Reading
I want to replicate DB2 from the mainframe to an AIX box since it's cheaper and the copy can be used for testing. Is this possible? Continue Reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.