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



I just did a comparison here are the results. All size in KB

1. All 488
2. None 284
3. List 484
4. stmt 360

You can see the difference clearly here.  In larger programs the
difference could be more dramatic.  

Note: I didn't know that there was a 268gig limit to the size of a
program in ILE.  Learn something everyday or die.

Marvin

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Wilt, Charles
Sent: Thursday, July 14, 2005 8:58 AM
To: RPG programming on the AS400 / iSeries
Subject: RE: Regarding DBGVIEW(*STMT) in CRTBNRPG

Bob,

Just curious as to why you consider DBGVIEW(*ALL) to be foolish.

Charles Wilt
--
iSeries Systems Administrator / Developer
Mitsubishi Electric Automotive America
ph: 513-573-4343
fax: 513-398-1121
 

> -----Original Message-----
> From: rpg400-l-bounces@xxxxxxxxxxxx
> [mailto:rpg400-l-bounces@xxxxxxxxxxxx]On Behalf Of Bob Cozzi
> Sent: Thursday, July 14, 2005 10:54 AM
> To: 'RPG programming on the AS400 / iSeries'
> 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
> 


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.