Q

Can a program use IXLLIST macros in CICS?

CICS expert Robert Crawford discusses if a program can use IXLLIST macros in CICS when IXLLIST are APF.

Is there any way to have a program use IXLLIST macros in CICS when the IXLLIST is APF?
This is tough because, as you know, CICS application programs run unauthorized. I can think of two things:
  • Your CICS program could call a user written SVC routine. Since the SVC receives control in authorized state, it could either issue the IXLLIST requests or branch back into the CICS program. I must stress that both of these solutions, especially the latter, are dangerous to system integrity. The handshakes between the CICS program and the SVC should be carefully controlled.

  • A TCB running as APF authorized can issue the IXLLIST macros. However, there are rules governing non-authorized tasks attaching authorized children, so you won't be able to do it from CICS' quasi-reentrant TCB. I'm not sure if this will work, but you could start the authorized TCB from the original job step, then attach CICS' main task (entry point DFHSIP) as a subtask. From there it's a matter of writing handshakes between the CICS programs and the authorized TCB.

The easiest answer may be to use some other mechanism to share data across the Sysplex. If this is a purely CICS application, shared temporary storage queue servers will do the trick. Failing that, there's everyone's favorite kluge, a shared VSAM file.

This was last published in December 2007

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

SearchEnterpriseLinux

SearchServerVirtualization

SearchCloudComputing

Close