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



Thankyou. Clicking on the plus icon and entering TABPRV(1..9) did the
trick.

-----Original Message-----
From: wdsci-l-bounces@xxxxxxxxxxxx [mailto:wdsci-l-bounces@xxxxxxxxxxxx]
On Behalf Of Xuan Chen
Sent: Tuesday, 8 July 2008 1:21 AM
To: Websphere Development Studio Client for iSeries
Subject: Re: [WDSCI-L] Debugging - Displaying the Contents of a Table

Actually, in the Monitor View, you could also click on the Plus icon to
bring up Monitor Expression dialog. Then you could type in
"TABPRV(1..9)"
in the entry field.

Thanks,

Xuan Chen, Problem Determination Tools for iSeries
(905) 413-3769 T/L 313-3769
xuanchen@xxxxxxxxxx





Bailey Paul <paul.bailey@xxxxxxxxx>
Sent by: wdsci-l-bounces@xxxxxxxxxxxx
07/07/2008 03:30 AM
Please respond to
Websphere Development Studio Client for iSeries <wdsci-l@xxxxxxxxxxxx>


To
"Websphere Development Studio Client for iSeries" <wdsci-l@xxxxxxxxxxxx>
cc

Subject
Re: [WDSCI-L] Debugging - Displaying the Contents of a Table







Hi,

I'm not sure if you've tried this but have you looked at the "monitor"
view in the Debug perspective? You can highlight the variable name in
the Debug editor and press F11, or right-click in the "monitor" view in
the debug perspective and select "Monitor Expression".

The monitor view will display all the contents of selected fields, data
structures and arrays. The only problem with the monitor view is that
you may have trouble manually *changing* parts of data structures
sometimes, and other times the view can not display more that 2048
characters in a single field.


Best regards,
Paul

-----Original Message-----
From: wdsci-l-bounces@xxxxxxxxxxxx [mailto:wdsci-l-bounces@xxxxxxxxxxxx]
On Behalf Of John Catalano
Sent: 7 July 2008 02:45
To: WDSCI-L@xxxxxxxxxxxx
Subject: [WDSCI-L] Debugging - Displaying the Contents of a Table

Hi,



I have an ile rpg program with the following Table declaration



D TABPRV S 10 4 DIM(13) ALT(TABPRC)



TABPRC contains values (P1, P2, P3, P4, P5, P6, P7, P8, P9, C1, C2, C3,
C4) and

TABPRV conatins corresponding values to these codes.



In WDSCi debugger, I can only view the current element of these 2
variables

Ie. If I have a breakpoint after program code

C 'P9' LookUp TabPrc TabPrv 99

then I can only see TABPRC & TABPRV at the 9th element.



Does any know how to view the contents of the whole table?

Ps. if debugging on the iSeries I could use "EVAL TABPRV(1..9)"



Is there a way of running this EVAL statement in WDCSi Debugger?





Regards





John Catalano

Analyst Programmer

Elders Limited

John.Catalano@xxxxxxxxxxxxx




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.