View previous topic :: View next topic
|
Author |
Message |
dheerajyermal
New User
Joined: 20 Sep 2010 Posts: 6 Location: banglore
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
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:
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 |
|
|
|