Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

ENTRY 'DLITCBL' statement in both driver and called pgm

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC
View previous topic :: :: View next topic  
Author Message
Ajay Baghel

Active User


Joined: 25 Apr 2007
Posts: 205
Location: Bangalore

PostPosted: Mon Feb 01, 2010 7:25 pm    Post subject: ENTRY 'DLITCBL' statement in both driver and called pgm
Reply with quote

Is it possible to have ENTRY 'DLITCBL' statement in both the main program and the called program? The main program is an online driver program and calls a BMP like this.
CALL 'SUBPGM' USING IO-PCB, ALT-PCB,DB1-PCB.

The SUBPGM has ENTRY 'DLITCBL' and is a BMP and it does not have PROCEDURE DIVISIN USING.

Please guide what entry statement means here in CALLED pgm. Why is there no PROCEDURE division here. I am confused. Please guide.

Thank you
Ajay
Back to top
View user's profile Send private message

Ajay Baghel

Active User


Joined: 25 Apr 2007
Posts: 205
Location: Bangalore

PostPosted: Mon Feb 01, 2010 7:26 pm    Post subject:
Reply with quote

Quote:
Why is there no PROCEDURE division here


Why is there no "PROCEDURE division USING" here ?

Thank you.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Mon Feb 01, 2010 10:16 pm    Post subject:
Reply with quote

Hello,

You need to review additional COBOL material (i.e. the ENTRY statement). . .

Look here:
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/handheld/Connected/BOOKS/igy3lr50/6.2.12

If you find something in the manual that is not clear, post what you found and your doubt about it. Someone will be able to clarify.
Back to top
View user's profile Send private message
Ajay Baghel

Active User


Joined: 25 Apr 2007
Posts: 205
Location: Bangalore

PostPosted: Tue Feb 02, 2010 9:35 am    Post subject:
Reply with quote

Thanks Dick. The link helps in knowing about the concept behind ENTRY statement.

I will get back regarding the example in question if it is not clear still.

Thank you,
Ajay
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Tue Feb 02, 2010 9:55 am    Post subject: Reply to: ENTRY 'DLITCBL' statement in both driver and calle
Reply with quote

You're welcome - good luck icon_smile.gif

d
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts ROUNDED Problem with COMPUTE statement shalem COBOL Programming 11 Thu Feb 09, 2017 8:16 pm
No new posts VALIDATE NULL VALUE IN DB2 CASE STATE... useit DB2 5 Thu Feb 09, 2017 4:34 pm
No new posts How does a called pgm know if its cal... Graeme Westerman COBOL Programming 4 Tue Nov 29, 2016 9:25 pm
No new posts -913/-911 Deadlock during UPDATE stat... NoSleep319 DB2 5 Fri Nov 18, 2016 12:37 am
No new posts Cobol list of programs being called biswajit.dattagupta COBOL Programming 5 Tue Nov 01, 2016 2:10 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us