MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

DEBUGGING MODE

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
tommy123
Beginner


Joined: 04 May 2005
Posts: 21
Topics: 11

PostPosted: Thu May 12, 2005 2:35 pm    Post subject: DEBUGGING MODE Reply with quote

Hai,


Can anyone tell me the difference in the two ways of programming first one i am not using Debugging mode whereas second one i am using Debugging mode but i am getting the same output.Then what is the use of debugging mode when both cases i am getting the same result.



IDENTIFICATION DIVISION.
PROGRAM-ID. TESTPGM.
AUTHOR. ABC.
DATE-WRITTEN. 05/06/05.
DATE-COMPILED. 05/06/05.
ENVIRONMENT DIVISION.
CONFIGURATION SECTION.
*SOURCE-COMPUTER. IBM-390 WITH DEBUGGING MODE.
SOURCE-COMPUTER. IBM-390.
OBJECT-COMPUTER. IBM-390.
INPUT-OUTPUT SECTION.
DATA DIVISION.
WORKING-STORAGE SECTION.
01 FILLER PIC X(35)
VALUE "TESTPGM WORKING STORAGE AREA BEGINS".
PROCEDURE DIVISION.
0000-MAIN.
DISPLAY "ENTERING TESTPGM ".
DISPLAY "HAI".

DISPLAY "EXITING TESTPGM ".
0000-EXIT.
EXIT.
STOP RUN.



OUTPUT
------


ENTERING TESTPGM
HAI
EXITING TESTPGM






IDENTIFICATION DIVISION.
PROGRAM-ID. TESTPGM.
AUTHOR. ABC.
DATE-WRITTEN. 05/06/05.
DATE-COMPILED. 05/06/05.
ENVIRONMENT DIVISION.
CONFIGURATION SECTION.
SOURCE-COMPUTER. IBM-390 WITH DEBUGGING MODE.
*SOURCE-COMPUTER. IBM-390.
OBJECT-COMPUTER. IBM-390.
INPUT-OUTPUT SECTION.
DATA DIVISION.
WORKING-STORAGE SECTION.
01 FILLER PIC X(35)
VALUE "TESTPGM WORKING STORAGE AREA BEGINS".
PROCEDURE DIVISION.
0000-MAIN.
D DISPLAY "ENTERING TESTPGM ".
DISPLAY "HAI".

D DISPLAY "EXITING TESTPGM ".
0000-EXIT.
EXIT.
STOP RUN.



OUTPUT
------


ENTERING TESTPGM
HAI
EXITING TESTPGM



Can anyone please help me to modify the program to understand Debugging mode "D" quite well.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12380
Topics: 75
Location: San Jose

PostPosted: Fri May 13, 2005 5:54 am    Post subject: Reply with quote

tommy123,

Check the 4th topic in the below link

http://www.mvsforums.com/helpboards/viewtopic.php?t=3208&highlight=column

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group