Page 1 of 1

How IMS works?

Posted: Sat Sep 14, 2013 7:43 pm
by E377878
Hi,

There was this basic sounding question - but it makes me understand that it's tough to explain it in plain English to someone about how's IMS DB and DC works?

I said that there is DBDs, PSBs and PCBs which connects all together to make the application work. The interviewer was convinced though I think there can be better explanation too, can someone please provide me a direction.

Regards,

Re: How IMS works?

Posted: Mon Sep 16, 2013 2:04 pm
by Anuj Dhawan
Let's talk about IMS DB - DFSRRC00 is 'IMS in batch'. DFSRRC00 invokes the 'COBOL program' like it were a sub-module but without any knowledge about parameters to be passed to that module - what the parameters do to the program is a separate thing.

IMS DB loads the DBD and the PCB Control-Blocks into Memory. These PCBs, are referenced by the COBOL program in Linkage Section by the PCB Mask and in Procedure Division. COBOL program get the address of the DBD and the PCB Control Blocks this way.

Re: How IMS works?

Posted: Sun Sep 22, 2013 5:33 pm
by E377878
Thank you Anuj. This is very to the point and crisp explanation and helps.

Regards,
E377878