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 first published in December 2007

Dig deeper on Mainframe operating systems and management

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

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.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

SearchWindowsServer

SearchEnterpriseLinux

SearchServerVirtualization

SearchCloudComputing

Close