Thanks Boris for replying...

>
>No, I can't provide sample code (I've never done this).
>
:-(

>But a couple of thoughts that could help you:
>
>- you're talking about IMS ODBA (Open Database Access). For IMS people, it
>might be easier if you stick to that term. AERTDLI sounds like the right
>way to go to me.

Actually, I am not. I really don't care which interface, ODBA, ODBM, DBCTL, 
whatever, as long as I can call it from C to connect to IMS and do DLI calls. 
Preferably without requiring other stuff to be configured.
AERTDLI() happens to be the only API that seems to actually do something, the 
rest either crashes (ctdli, AIBTDLI) or lacks documentation (DFSPPRC0).

Iit appears AERTDLI() requires "other stuff", namely RRS. Another poster 
brought to my attention that not only RRS must be started, but also that IMS 
must be started with RRS=Y in order for AERTDLI() to work (or ODBA as you 
prefer).

The IMS administrator has now done this, so this error has gone away.
But I don't like the fact that now RRS is needed to run the product, not for 
any good reason, but just so a connection can be made.

>- you may want to post this on the IMS list, IMS-L, which is read by
>people who are interested in this kind of stuff (i.e. C & Java access to
>IMS DB)

That is probably a good idea.

>- it may help if you posted your actual call to AERTDLI and the
>return/reason codes you got.

I thought I did post the returncodes, x108, reason x544 ?

>- I assume you've already done this, but if not, you should have a look at
>the IMS documentation, e.g. here: http://bit.ly/IMSv12ODBA (also search
>for "AERTDLI" or "ODBA" in the info center)

Yes I read that. All highlevel talk about what it can do and what it is for, 
but no details as to how.
The IMS documentation is seriously lacking in code examples.

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

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

Reply via email to