what is the use of ENTRY in IMS?

Answer Posted / srinivas gudla

When ever your batch program is involked under the control
of the DL/I batch intialization module, DL/I first load the
appropriate control blocks and modules, then loads your
application program and passes control to it. Declare
DLITCBL as an entry point to your program by coding
following ENTRY statement,

ENTRY 'DLITCBL' USING PCB-name1
PCB-name2...

Similarly, when your program ends, it must pass control back
to DL/I so that DL/I can deallocate its resources and close
your data base data sets.. To do that, you code a GOBACK
statement, not a STOP RUN statment.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define dl/i?

3132


What are the disadvantages of a hierarchical database?

2771


how do you bind the cobol with db2

2322


What is psbgen process?

698


Explain the two ways in which dl/i interface can be invoked?

3121






What is the maximum number of segment types allowed for a single database?

645


Explain dbdgen process?

644


What is ims (db/dc)?

614


Explain the disadvantage of dynamic generation of acb?

552


What is dl/i?

592


What information does a psb contain?

603


What are the advantages of a hierarchical database?

2760


Which languages does ims support / application program languages?

578


Define pcb?

659


What are the two types of fields available in ims db?

569