On Thu, 18 Apr 2013 23:19:04 +0200, Boris Lenz <[email protected]> wrote:
Boris >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. > Actually, I just want access to IMS DB, that's all, for now. And I consider this a very basic requirement. Any other database I have ever encountered you can simply connect to, without having to do extra stuff. Any configuration required was done when the database was first installed and is of no concern to someone who just wants to retrieve a few records from a table. There is no such crap as DRA's, most have parameters that can be set dynamically, i.e. programmatically, before or after a connection is made. >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. Like I said, with any other database this is all taken care of when first installing the database; users and application programmers wanting to access the database are not bothered with stuff like this, it just works. >Rhetorical question: why can't you run your program as a BMP? With >AIBTDLI/CTDLI? Because that, naturally, looks like the easiest approach. It is being managed by other software, also outside IMS. Anyway, I can now connect to IMS using AERTDLI() and allocate a PSB, after RRS=Y was specified, with the help of another poster, so this discussion is a bit academic.. And I really don't want all this discussion, I just need a code sample... (still) My next problem is getting at the PCB after an APSB call; it seems with ODBA PCB's are addressed by name i.s.o. by number, but in at least one customers's PSB's the PCB's have no name... So maybe AERTDLI is still not the right API. > >IMS documentation lacking in code examples? I agree. > Regards, 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
