Entry points in IMSDB



IBM's hierarchical database management system with a Database Manager (IMS DB) and a Transaction Manager(IMS DC)

Entry points in IMSDB

Postby sudhakarsgsvp » Thu Sep 05, 2013 11:53 pm

Hi Team,

1. Can any one please provide the information about the ENTRY statement in COBOL+IMSDB program?
2. How it works in the IMSDB+ COBOL , when entry made thru CBLTDLI and DLITCBL?
3. How It works in between two programs?

For example I have one scenario below:
I have two programs PGMA and PGMB. PGMA is making the entry point as mentioned below:
ENTRY 'ABCD' USING VARIABLE1, VARIABLE2-----> In PGMA
ENTRY 'PGMB' USING VARIABLE3, VARIABLE4----->In PGMA

Now can some one please tell me where the ABCD declaration will happen (or if it just like static call in cobol just leave it). Why I am asking this question is I didn't find any declaration for 'ABCD" in PGMA.

what's the code for the CBLTDLI and DLITCBL?

Bunch of thanks

Regards,
Sudhakar.
sudhakarsgsvp
 
Posts: 2
Joined: Thu Sep 05, 2013 2:51 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Entry points in IMSDB

Postby Ed Goodman » Fri Sep 06, 2013 5:41 pm

The DLITCBL entry point is called by DFSRRC00. If you look at the execution JCL of an IMS program, you will see that program in the PGM= parm. The COBOL program name is passed as a parm to DFSRRC00.

When you have an entry point in a program that is not in the code, I think it was added at compile/link time. You will find an extra card in the SYSLIN dd that says something like:
ALIAS ABCD
Ed Goodman
 
Posts: 341
Joined: Thu Feb 24, 2011 12:05 am
Has thanked: 3 times
Been thanked: 17 times

Re: Entry points in IMSDB

Postby sudhakarsgsvp » Wed Sep 18, 2013 12:02 am

Thanks Ed Goodman..Sorry to delay....Could you please explain this topic with an example?.

Regards,
Sudhakar.
sudhakarsgsvp
 
Posts: 2
Joined: Thu Sep 05, 2013 2:51 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Entry points in IMSDB

Postby Ed Goodman » Wed Nov 27, 2013 9:26 pm

I think you HAVE an example...that's what you described.
Ed Goodman
 
Posts: 341
Joined: Thu Feb 24, 2011 12:05 am
Has thanked: 3 times
Been thanked: 17 times


Return to IMS DB/DC

 


  • Related topics
    Replies
    Views
    Last post