×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




My guess would be that the compiler is creating an unsigned integer
variable to hold the constant.  Assigning -1 to and unsigned integer ==>
program crashed.

-----Original Message-----
From: rpg400-l-bounces+lim.hock-chai=usamobility.com@xxxxxxxxxxxx
[mailto:rpg400-l-bounces+lim.hock-chai=usamobility.com@xxxxxxxxxxxx] On
Behalf Of Kurt Anderson
Sent: Friday, October 20, 2006 12:37 PM
To: RPG programming on the AS400 / iSeries
Subject: RE: Using RRN 0 to do Setll on arrival sequence file

That is curious then.  Why doesn't SetLL 0 produce the same result?  And
since it doesn't, then why is it positioning to the end of file?
Interesting indeed.

Kurt Anderson
Application Developer
Highsmith Inc

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Crispin Bates
Sent: Friday, October 20, 2006 12:05 PM
To: RPG programming on the AS400 / iSeries
Subject: Re: Using RRN 0 to do Setll on arrival sequence file

You get CPF5025 - Input operation past start or end of file :-)

----- Original Message -----
From: "Joe Pluta" <joepluta@xxxxxxxxxxxxxxxxx>
To: "'RPG programming on the AS400 / iSeries'" <rpg400-l@xxxxxxxxxxxx>
Sent: Friday, October 20, 2006 12:55 PM
Subject: RE: Using RRN 0 to do Setll on arrival sequence file


What happens with SETLL -1?

Just wondering.

Joe

From: Alan Shore

Your welcome Lim, but like I said in a previous e-mail. An RRN of 0
will
NEVER exist. We just assume that the next number to 0 will be 1. But
if
you
are trying to access something that will NEVER exist, how is IBM to 
process it?


-- 
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing
list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.





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