× 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:
>Here is the statement that is giving me fits:
   BREAK 396 WHEN P_JOBNUM = '2ACZ0093' AND W_WIPSTA = 'W'
                                            ^
>The cursor is found where the ^ is positioned.  I am starting to think that 
>the WHEN clause (?) only supports testing one field.  That couldn't 
>possibly be true for modern development debugging tools, could it?  Well, I 
>suppose that if Interactive Source Debugger hasn't been touched in 9 years 
>and 9 releases, it's possible.

You can't do what you want with the host debugger. The host debugger syntax 
is quite limited. No amount of messing with compound statements, 
parentheses, etc. allowed me to make this work. It doesn't complain about 
the AND because it has been built to allow expansion but currently does not 
support complex expressions. You are restricted to the same sort of 
expressions that can be specified on the EVAL statement. You would not 
expect:
        EVAL  space and library  
to work, would you? Although  there is a valid case for:
        EVAL space = 'ABC' and library = 'XYZ'
but that's not supported either.

Note that you can use built-in functions (the DEBUG ones, not the RPG ones) 
in a BREAK statement. For example:
           BREAK 396 WHEN %SUBSTR(P_JOBNUM 1 3) = '2AC'

Given Rochester's penchant for GUI this and GUI that I would not expect any 
improvements in the host debugger. If you want a modern debugger then look 
at CODE/400 or Eclipse or the IBM Distributed Debugger.

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