You will need to set the SP option on the CICS translator to allow use of the SP (sysprogs) interface commands. You can use XOPTS to pass this if you are using a standard proc, or something like Endevor to compile with.
Steve
[small]"Every program can be reduced by one instruction, and every program has at least one bug. Therefore, any program can be reduced to one instruction which doesn't work." (Object:erlDesignPatterns)[/small]
Marc, Steve,
That sounds like a viable option, now I've done some reading, the exit that we're looking at using gives us easy access to the transaction number (don't ask why that's hard, it's too painful). For like 90% of our programs, the transaction ID and the program name are identical, but there are some which inexplicably (I'm new here) aren't. So this call should ensure that I can get the proper program name from the CICS tables. I'll continue to investigate along these lines for now.
If you have the transaction ID, you don't need to do the start-next-end browse sequence, you can enquire directly. This will be faster and less code.
You can pass the XOPTS as a comment in the first line of the program source, which might save you having to change your compile CLIST.
Steve
[small]"Every program can be reduced by one instruction, and every program has at least one bug. Therefore, any program can be reduced to one instruction which doesn't work." (Object:erlDesignPatterns)[/small]
No. It's a 'if you get this transaction, then run this program' 1:1 mapping. Occasionally you find that multiple transactions can map on to the same program, (which then looks at EIBTRNID to work out what to do next), but never the other way around.
Steve
[small]"Every program can be reduced by one instruction, and every program has at least one bug. Therefore, any program can be reduced to one instruction which doesn't work." (Object:erlDesignPatterns)[/small]
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.