Etienne,

> 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 seem to want a Swiss Army knife application (i.e., for whatever
reason, it *must* run outside of IMS control, on z/OS, but you want to
access IMS DBs, and you don't want to invoke another application that runs
under IMS, such as a transaction), but without further configuration
(i.e., set up RRS+DRA properly). I don't see it happen.

IMO it's not about "just a connection can be made"; you have to accept
that it is IMS' duty to assure IMS DB integrity, no matter what your
program does or if it ABENDs or not. That's where RRS comes into play.
Rhetorical question: why can't you run your program as a BMP? With
AIBTDLI/CTDLI? Because that, naturally, looks like the easiest approach.

>>- 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 ?

You posted return codes, but not the call. Eventually, it might help if
you posted the JCL you're using, too. And I really think you'll get better
answers on IMS-L.

IMS documentation lacking in code examples? I agree.

Regards,
Boris

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

Reply via email to