View previous topic :: View next topic |
Author |
Message |
YSMVS Beginner

Joined: 19 May 2004 Posts: 51 Topics: 25 Location: My House
|
Posted: Thu Nov 16, 2006 12:06 pm Post subject: Which interface to use |
|
|
Hi all,
In my shop there are more than one IMS interface being used. Some applications are using CEETDLI and some are using CBLTDLI and some else are using AIBTDLI. What is the significant difference between them and which one is benefitful to use?
I searched in the references but was unlucky.
Thanks,
YSMVS |
|
Back to top |
|
 |
Sreejith Intermediate
Joined: 02 Dec 2002 Posts: 155 Topics: 25 Location: N.Ireland
|
Posted: Wed Nov 29, 2006 1:33 pm Post subject: |
|
|
CEETDLI : is language independant
CBLTDLI : used in COBOL programs
AIBTDLI : to deal with the Apllication interface block |
|
Back to top |
|
 |
sunkusiva Beginner
Joined: 04 Apr 2006 Posts: 8 Topics: 1
|
Posted: Sat Dec 02, 2006 11:14 pm Post subject: |
|
|
YSMVS,
I am not sure about CEETDLI.
CBLTDLI & AIBTDLI both are interfaces to DLI from application program.
AIBTDLI
While calling with AIBTDLI, you will have one position called resource name field of the AIB. Here you specify the PCBNAME that is defined in PSBGEN. The AIB resides in user-defined storage that is passed to IMS for DL/I calls that use the AIBTDLI interface. When the call is completed, the AIB is updated by IMS.
For PCBs you are going to use, you must assign a name in PSBGEN and this name you will use while calling the AIBTDLI.
CBLTDLI
For this one, you need to pass the address of the PCB rather than name. Many programs use CBLTDLI. Here in the entry call you establish a relation with the PCB address of PSB with some variables. You use this address that is established to call DLI.
Since in CBLTDLI call, we define one-one mapping for all the PCBs and then use the addresses,when we change the PSB by adding/deleting a PCB we need to change the program also accordingly. But in AIBTDLI call, since we pass the PCBNAME rather than the PCB address..AIB takes care of the address and you need not worry about the newly added/deleted PCB thus making your program a bit independent of the PSB changes.
Thanks
Siva. |
|
Back to top |
|
 |
|
|