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
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.
Joined: 13 Jun 2007 Posts: 826 Location: Wilmington, DE
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.