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
 

 

use of DECLARATIVES

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
dheerajyermal

New User


Joined: 20 Sep 2010
Posts: 6
Location: banglore

PostPosted: Fri Oct 08, 2010 9:43 am    Post subject: use of DECLARATIVES
Reply with quote

in one progranm they have used DECLARATIVES.
after procedure devision
DECLARATIVES.

0100-DEBUG-DECLARATIVES SECTION.
USE FOR DEBUGGING ON ALL PROCEDURES.
0100-DEBUG-PARAGRAPH.
DISPLAY ' ------------ START ------------------'.
DISPLAY ' PARAGRAPH NAME :' DEBUG-NAME.
DISPLAY ' Counter-I :' WS-A-I.
DISPLAY ' Program :' LON-PGM-CD.
DISPLAY ' Product :' LON-PGM-PRD-CD.
DISPLAY ' --------------- END -------------------'.
0100-EXIT.
EXIT.

END DECLARATIVES.
in this program they have error routine also . what is the use of this one can any one explain properly as i am new to these things.
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: Fri Oct 08, 2010 10:06 am    Post subject:
Reply with quote

Hello,

At the top of the page is a link to "IBM Manuals". The first set is for COBOL. Suggest you become both familiar and comfortable with using the IBM manuals.

Read here for info about the debugging declaritive:
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/handheld/Connected/BOOKS/igy3lr50/8.1.15.4

There is no reason for someone to re-post what is already well covered in the documentation. If you find something in the manual that is not clear, post what you found and your doubt. Someone will be able to clarify.
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 -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Declaratives in procedure division blackzero COBOL Programming 11 Fri Jul 04, 2008 9:42 pm
No new posts Use of Declaratives in cobol harikrishnanrajeev COBOL Programming 1 Mon Apr 05, 2004 10:06 am


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