Hi all,

I need to connect to the IMS database from a C program.
I tried API's like ctdli(), AIBTDLI(), but they all crash. I think this is 
because these are meant to be used by programs running within IMS, and that's 
not what I need; I need the program to run outside of IMS and connect to it.

The best results so far are using AERTDLI(). This one does not crash, and seems 
to actually do something... at first it gave error codes that referred to a DRA 
table that's apparently needed.
This DRA table now exists, now the error codes (x108, reason x544) indicate 
RRS/MVS is not running.
The IMS administrator started it for me, but it did not help; still these error 
codes.

So AERTDLI() doesn't seem to work either. Googling some more, I found DFSPRRC0; 
but I can find no documentation whatsoever on this, other than some highlevel 
talk about what it is for.

Does anyone have a simple little C sample that shows how I can connect to IMS, 
with any API whatsoever as long as it can be called from C and runs outside IMS 
(so no #pargma env(IMS))  ?

Thanks,
Etienne

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to