× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Here's a short reference for the OPM debugger:

When you compile the program to be debugged, make sure the source listings
option parameter (OPTION) is set to *SRCDBG. 

Start Debugger:
STRISDB
        example - STRISDB PGM(MYLIB/MYPGM) PARM('MYPARM') UPDPROD(*YES)
        The UPDPROD parameter lets your debug session open files for I/O.

Function Keys:

F10 Cursor to Command Line/Menu
Tab Cursor to Command Line/Menu

F3  Exit
F12 Cancel

F9  Retrieve previous command

F4  Go to current statement being executed
F7  Page Up
F8  Page Down
F19 Shift Left
F20 Shift Right

F16 Find string in code
F14 Program List

F5  Step  
F6  Break
F17 Run
F13 Run to location of cursor

F11 Show Variable - must have the cursor on the variable whose value you
want to see
F23 Change Variable  - must have the cursor on the variable whose value you
want to change

Common Command-Line Commands:
 
TOP
BOTTOM
nnn - enter line number
UP nnn - move up nnn lines
DOWN nnn - move down nnn lines      
LEFT nnn - move left nnn spaces
RIGHT nnn - move right nnn spaces
BACKWARD nnn - move back nnn pages
FORWARD nnn - move forward nnn pages

ADDISDBPGM program-name - add additional programs to the debug session
RMVISDBPGM program-name - remove programs from a debug session

WATCH variable-name  - lets you see the value of a variable as it changes
UNWATCH variable-name - removes the line showing the value of the variable 

BREAK nnn WHEN variable-name = X  - break on line nnn when the variable has
value X

Hope this helps.
Kelly
Thanks,
Kelly

-----Original Message-----
From: cobol400-l-bounces+kcookson=dotfoods.com@xxxxxxxxxxxx
[mailto:cobol400-l-bounces+kcookson=dotfoods.com@xxxxxxxxxxxx]On Behalf
Of Finucci Domenico
Sent: Thursday, July 15, 2004 10:01 AM
To: COBOL Programming on the iSeries/AS400
Subject: R: [COBOL400-L] newbie: simple file output problem, debugging


Hello, Jared: to learn ILE Debugger please read Chapter 7 of "COBOL ILE
Programmer's Guide", code C0925402, downloadable as PDF.
Sincerely
        Domenico Finucci
        Fiditalia S.p.A. via G. Silva, 34 - 20149 Milano
        Sistemi informativi, Tel. + 39 02-43.01.2494
        E-mail: domenico.finucci@xxxxxxxxxxxx 
> Sito internet: www.fiditalia.it
> 


-----Messaggio originale-----
Da: jared [mailto:jhunter@xxxxxxxxxxxx]
Inviato: giovedì 15 luglio 2004 16.44
A: COBOL Programming on the iSeries/AS400
Oggetto: Re: [COBOL400-L] newbie: simple file output problem, debugging


i'd love to become knowledgable with debug, i just have no idea how to
start the debugger...

On Thu, 15 Jul 2004, Rick Klopfer wrote:

> I believe you said that you were not knowledgeable with debug, so try
> displaying the record after the write to the file.  Maybe a record counter
> as well would help.

_______________________________________________
This is the COBOL Programming on the iSeries/AS400 (COBOL400-L) mailing list
To post a message email: COBOL400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/cobol400-l
or email: COBOL400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/cobol400-l.


_______________________________________________
This is the COBOL Programming on the iSeries/AS400 (COBOL400-L) mailing list
To post a message email: COBOL400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/cobol400-l
or email: COBOL400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/cobol400-l.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.