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



Thanks Bob - but no joy.. 

To clarify - the problem isn't limited to the DUMP operation though (I just
used it in the test harness so that the problem can be recreated easily) -
if the program encounters a hard error (say by introducing a divide by zero
into the test harness) and you dump the program as a reply to the exception
message the problem still occurs.. 

Cheers,
Stu

(PS. I used the (a) extender in the test harness to force a dump when the
DEBUG keyword hasn't been specified on an H-SPEC - but I tried a factor 2 as
well, just in case...)

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Bob Cozzi
Sent: Friday 19 November 2004 16:26
To: 'RPG programming on the AS400 / iSeries'
Subject: RE: V5R3 Dynamic Array Dump problem


If you are on V5R3, you may want to try %SUBARR when doing your DUMP.
I am NOT certain if it works with the DUMP instruction, but you never know.
For example:

   dump(%subarr(a:1:nbrElements));

This built-in was provided for just this kind of thing; a dynamic array
where you only want to access a subset of the array for things like SORTA
and XFOOT.

-Bob Cozzi



If you are not the intended recipient, please notify the sender by return email 
and then delete the message from your computer. The Skandia UK Group reserves 
the right to monitor e-mail communications through its networks.

No contract may be concluded on behalf of the Skandia UK Group by email.

Skandia Life Assurance (Holdings) Limited Skandia Life Assurance Company 
Limited Skandia MultiFUNDS Limited, Skandia Investment Management Limited.

Registered Nos: 1606702, 1363932, 1680071, 4227837, England
Registered Office: Skandia House, Portland Terrace, Southampton SO14
7EJ, United Kingdom

Royal Skandia Life Assurance Limited Registered No : 24916 Isle of Man
Registered Office: Skandia House, King Edward Road, Onchan, Isle of Man IM99 
1NU, British Isles

Skandia Life Assurance Company Limited, Skandia MultiFUNDS Limited, Skandia 
Investment Management Limited and Royal Skandia Life Assurance Limited are 
authorised and regulated by the Financial Services Authority for UK
investment business.

Internet: www.skandia.co.uk

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.