Hi Willi,
Yes it does help, thanks. I tend to prefer Cobol when doing "complicated"
stuff such as accessing DB2, for ease of maintenance, but I understand the
performance point. I'll probably end up with a hybrid solution, with Exit
02 in assembler and the CCID / DB2 API written in Cobol. This has the
advantage that I can develop the API in isolation from Exit 02, plus I can
reuse it outside the exit if other things need to get the same information
/ perform the same functions.
Do you call CAF each time you invoke Exit 02 then (going through the
sequence of Connect to the subsystem, Open the DB2 Plan, Execute the
static SQL, Close the Plan with Commit, Disconnect from DB2)?
Do your exits create LE environments?
It's nice to know that other sites have used the "hold the CCID's in a DB2
table" approach.
Hope you don't mind the follow-up questions!
Charles
Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number
741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU