The document provides instructions for debugging programs on a mainframe system using the debugger. It explains how to execute programs line by line or completely, set breakpoints, monitor variable values, view record mappings, skip execution, reverse debugging direction, debug called programs, set conditional breakpoints, and exit the debugger.
Download as DOC, PDF, TXT or read online on Scribd
100%(1)100% found this document useful (1 vote)
126 views
Xpeditor Screen Shots
The document provides instructions for debugging programs on a mainframe system using the debugger. It explains how to execute programs line by line or completely, set breakpoints, monitor variable values, view record mappings, skip execution, reverse debugging direction, debug called programs, set conditional breakpoints, and exit the debugger.
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 8
SCHOOL OF MAINFRAMES
S R Nagar, Opp AXIS Bank
Ph: 040-400781!"!4#1#1$7 %EB&' PROCESS &SIN' EXPE%I(OR At the command prompt type )* +p The below screen appears: Type $,BA(CH- at the command prompt, the below screen appears: SCHOOL OF MAINFRAMES S R Nagar, Opp AXIS Bank Ph: 040-400781!"!4#1#1$7 Enter the path of the JCL that needs to be run as shown above at the Dataset name field. The below screen appears: elect the pro!ram that needs to be e"ecuted by placin! #I$ before the name of the pro!ram and type #SE$ %Etup& at the command prompt as below: SCHOOL OF MAINFRAMES S R Nagar, Opp AXIS Bank Ph: 040-400781!"!4#1#1$7 The below screen appears and type #$ %%%IO& at the 'ption prompt as below: SCHOOL OF MAINFRAMES S R Nagar, Opp AXIS Bank Ph: 040-400781!"!4#1#1$7 (ress EN(ER and the below screen appears. Enter the name of the %%IO library that is actually used while compilin! the pro!ram usin! XPE%COMP. This )ob can be found in the (D #T'.CD*+(.,'-.$ SCHOOL OF MAINFRAMES S R Nagar, Opp AXIS Bank Ph: 040-400781!"!4#1#1$7 (ress /0 twice and the below screen appears a!ain. Type #R&N$ at the command prompt and press E1TE-. 1ow the control !oes to the pro!ram for debu!!in! throu!h the followin! screens SCHOOL OF MAINFRAMES S R Nagar, Opp AXIS Bank Ph: 040-400781!"!4#1#1$7 (ress Enter and the below screen appears SCHOOL OF MAINFRAMES S R Nagar, Opp AXIS Bank Ph: 040-400781!"!4#1#1$7 The control !oes to the specified pro!ram as shown below: SCHOOL OF MAINFRAMES S R Nagar, Opp AXIS Bank Ph: 040-400781!"!4#1#1$7 1ow we can start debu!!in! the pro!ram by usin! the followin! commands: %./0g C122an34: 1. (ress #F56 for Line-to-Line e"ecution 2. (ress #F16 for Complete e"ecution 3. Type #B6 at the ri!ht side of the statement for Break-point and press #F1$ for e"ecution till brea2 point. 4. Type #%$ at the same statement %where brea2 point is placed& to remove the break point. 5. Type #7..p 8ar9a/:. na2.$ for monitoring the value of a particular variable. 6. 'r type #7$ at the ri!ht side of the statement to display 3 monitor the values of all the variables in that particular statement. 7. Type #S.; 7..p XX$ at the command prompt so that, that many lines can be used for displayin! the variables where, XX < number of lines needed for display. 8. Type =PE6 at the line so that, we can view the total record mappin! with correspondin! copy boo2 or record layout. 9. Type ='(6 at line up where you want to s2ip the e"ecution. 10. Type #MONI(OR$ at the command prompt, and at any point of time, is we need to !o bac2 to the ori!inal state, type #RE8ERSE$ at the command prompt to reverse the debu!!in! till the start. Type #RE8ERSE$ a!ain to debu! forward once more. 11. Type #IN(ERCEP( 40/pr1gra2 na2.$ to debug the called program. 4efore this, the subpro!ram must have been compiled with the same DD5' library as that of the main pro!ram. This is a pre6re7uisite. /or statically called pro!rams, sub6 pro!ram needs to be compiled first and then the main6pro!ram. 12. Type =>HEN 8ar9a/:. < 8a:0.6 at the command prompt and (ress F1 5f we want to debu! the pro!ram until a sta!e when the value of a particular variable is e7ual to some value which we need. 13. Type #EXI( ? pr.44 EN(ER$ at the command prompt twice to come out of the debugger.