IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Entry Statement in IMS DB


IBM Mainframe Forums -> IMS DB/DC
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sudip

New User


Joined: 10 Mar 2006
Posts: 2

PostPosted: Mon May 07, 2007 3:20 pm
Reply with quote

Hi,
i have a doubt please help me in it. The ENTRY (ENTRY 'DLITCBL' using PCB-MASK) statement provides a mechanism for DL/I to transfer control to the application program. Some programs do not have this statement instead there is directly PROCEDURE DIVISION USING PCB-MASK. What is the difference between these two? please help

Thanks
Sudip
Back to top
View user's profile Send private message
itssreehere
Warnings : 1

New User


Joined: 10 Jan 2006
Posts: 65
Location: chennai

PostPosted: Mon May 07, 2007 5:29 pm
Reply with quote

Hi Sudip,

programs using older versions of IMS had separate entry statements.From IMS version7(not sure about the version number) onwards this is changed and no specific entry statement is required. But to maintain the compatibility with older programs it supports both. Hope this answers your question.

Regards,
Sreejith
Back to top
View user's profile Send private message
sudip

New User


Joined: 10 Mar 2006
Posts: 2

PostPosted: Mon May 07, 2007 5:40 pm
Reply with quote

Thanks Sreejith this perfectly answers my question but can you provide me the source of the information so that i can verify the Version number too.

Thanks
Sudip
Back to top
View user's profile Send private message
kesavarao

New User


Joined: 16 Apr 2006
Posts: 2

PostPosted: Thu Jul 30, 2009 11:38 am
Reply with quote

IMS Program may call another IMS program.

Main ims program will have entry statement and subprogram will not have entry statement.

main program looks like below :-
------------------------------------
Linkage section.
pcb-mask

procedure division.
entry 'dlitcbl' pcb-mask

call 'subprogram' pcb-mask

goback.

subprogram looks like below :-
---------------------------------
Linage section
pacb-mask -----> (received from main program)

procedure division pcb-mask
-----> Here you don't find entry statement

Regards
Devoji Kesavarao
Back to top
View user's profile Send private message
Sandy Zimmer

Active Member


Joined: 13 Jun 2007
Posts: 826
Location: Wilmington, DE

PostPosted: Tue Aug 04, 2009 6:11 pm
Reply with quote

When you see PROCEDURE DIVISION USING......it indicates that your program is not talking DIRECTLY to IMS - it is a sub task. Some installations had all of their IMS programs running as a subtask. They had a "main" module that talked to IMS.

GREAT example kesavarao!
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> IMS DB/DC

 


Similar Topics
Topic Forum Replies
No new posts JOIN STATEMENT PERFORMANCE. DFSORT/ICETOOL 12
No new posts Relate COBOL statements to EGL statement All Other Mainframe Topics 0
No new posts process statement for SUPREC, CMPCOLM... TSO/ISPF 4
No new posts SYNCSORT/ICETOOL JOINKEYS SORT Statem... DFSORT/ICETOOL 13
No new posts DFDSS COPY using Filter REFDT statement JCL & VSAM 2
Search our Forums:

Back to Top