× 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.



Hello,

Initially, you have to compile the COBOL code using *SRCDBG option for
source listing options. After taking 14 on the source and F4, followed by
F10, we get additional parameters. In additional parameters, the first input
capable field is source listing option.

Then use the command STRISDB PGM (Program name) UPDPROD (*YES) INVPGM (*YES)
to start your debug session.

For step execution use <F5>.

To set a debug point, use <F6> on the program line.

To run to the debug point, use <F17> (Shift + F5)

You can skip certain perform routines and jump to next execution steps using
<F13> (Shift + F1).

To watch the variables, use W 'variable name' on the debug command line.

To display the variables, use D 'variable name' on the debug command line.

Hope the above points help you...
Please mail back for further queries.

Regards,

-----Original Message-----
From: cobol400-l-bounces+muthathal_ramasamy=satyam.com@xxxxxxxxxxxx
[mailto:cobol400-l-bounces+muthathal_ramasamy=satyam.com@xxxxxxxxxxxx] 
Sent: Monday, April 04, 2005 12:58 PM
To: COBOL Programming on the iSeries/AS400
Subject: [COBOL400-L] how to debug in cobol400

hi all,

i'm just new to cobol400, but with some background in rpg

this is my situation,
1. after i finished compiling the dspf and cbl using option 14
2. then in the command line i enter strcbldbg pgm(my_cblpgm)
3  then nothing happens

how do i we use the "strcbldbg" correctly?
1. how to start the debug correctly?
2. how to step
3. how to add breakpoint and jump to that breakpoint
4. how to see the attributes and the current value of a variable

MANY THANKS IN ADVANCE!!!
GODBLESS!!!

_______________________________________________
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 email (including any attachments) is intended for the sole use of the
intended recipient/s and may contain material that is CONFIDENTIAL AND
PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or
distribution or forwarding of any or all of the contents in this message is
STRICTLY PROHIBITED. If you are not the intended recipient, please contact
the sender by email and delete all copies; your cooperation in this regard
is appreciated.
**************************************************************************

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.