Page 1 of 1

Entry points in IMSDB

PostPosted: Thu Sep 05, 2013 11:53 pm
by sudhakarsgsvp
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.

Re: Entry points in IMSDB

PostPosted: Fri Sep 06, 2013 5:41 pm
by Ed Goodman
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

Re: Entry points in IMSDB

PostPosted: Wed Sep 18, 2013 12:02 am
by sudhakarsgsvp
Thanks Ed Goodman..Sorry to delay....Could you please explain this topic with an example?.

Regards,
Sudhakar.

Re: Entry points in IMSDB

PostPosted: Wed Nov 27, 2013 9:26 pm
by Ed Goodman
I think you HAVE an example...that's what you described.