× 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 Dan,

You wrote:
>Where is this documented?  Or did you find it by trial & error?  That's 
>really the thing that gets me, the WHEN clause doesn't appear to be 
>documented *anywhere*.

See 3.1.6.3  Setting and Removing Conditional Job Breakpoints in the ILE RPG 
for AS/400 Programmers Guide.

In my view, one of the major flaws in the host debugger is that the debugger 
syntax is specific to the programming language being used. This idea might 
be fine if you program in one language but is a real pain in the arse if you 
use multiple languages. Therefore the debugger supports some things in one 
language that you cannot do in another, or you can do it but the syntax is 
different. Also, the debugger documentation is found in the Programming 
Guide for the particular programming language being used.

>Gee, have to ask, although I'm sure I know the answer, is there a 
>%CONCATenate bif?

Nope, but I don't see why you would need that. The same effect can be 
achieved using %SUBSTR, for example:
        EVAL data = 'FIRST'
        EVAL %SUBSTR(data 11 10) = 'SECOND'

It gets worse if you are debugging C because a simple:
        EVAL charVar = 'NEW VALUE' 
won't work due C's stupid view of character data. You have to treat it as an 
array and set each single character element individually. Mind you the same 
problem exists with 1 char arrays in RPG so perhaps I shouldn't complain.

Regards,
Simon Coulter.
--------------------------------------------------------------------
   FlyByNight Software         AS/400 Technical Specialists       
                                                                  
   http://www.flybynight.com.au/                                  
   Phone: +61 3 9419 0175   Mobile: +61 0411 091 400        /"\   
   Fax:   +61 3 9419 0175   mailto: shc@xxxxxxxxxxxxxxxxx   \ /   
                                                             X    
                 ASCII Ribbon campaign against HTML E-Mail  / \   
--------------------------------------------------------------------


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.