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

Where is the UnitOfWork identifier?

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.

Robert Harris
Inventor
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

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.

Please create a username to comment.

-ADS BY GOOGLE

SearchWindowsServer

SearchServerVirtualization

SearchCloudComputing

Close