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



Hi Bob,

 

In fact I didn't know if we could use STRDBG for OPM programs

This way *STMT gets a credit. 

Thanks a lot for the valuable inputs.

 

Regards,

S.chand

 

 

 

-----------------------------------------

 

date: Thu, 14 Jul 2005 09:54:17 -0500

from: "Bob Cozzi" <cozzi@xxxxxxxxx>

subject: RE: Regarding DBGVIEW(*STMT) in CRTBNRPG

 

You probably could have gotten the answers to most of these questions

yourself in less time than writing the message to the group if you'd
just

started debug on a program...

 

DBGVIEW has a lot of options, but you use the ones you need. If you
don't

want *STMT, don't use it. Most people use *SOURCE or *LIST, some
(foolishly

in my view) use *ALL. 

If DBGVIEW(*STMT) is used, then you can still debug but you don't get to
see

the source, as you read in the documentation. This basically allows you
to

continue to use the OPM debugger (sometimes called the "system
debugger") on

RPGIV programs.

 

OPTION(*SRCSTMT) is preferred in RPG IV. It causes the compiler to
generate

line numbers that typically match that of SEU. Since the compilers were

written by C programmers, they didn't really care about line numbers for

source code, so they wrote compilers that generated crazy line numbering
at

compile time. A large number of RPG programmers complained, and IBM
added

this option to solve the problem.

 

-Bob Cozzi

www.RPGxTools.com

If everything is under control, you are going too slow.

- Mario Andretti

 

 



DISCLAIMER:
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.