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



http://publib.boulder.ibm.com/infocenter/iseries/v6r1m0/topic/rzaq9/rzaq9.pdf

On page 43 the memo states that...

Queries that call a user-defined function (UDF) that is defined with a parameter style of GENERAL or
GENERAL WITH NULLS might return different results than in releases earlier than V6R1. If the return
value is a character type that is 16 bytes or less, the result is now right-justified.

For example if the UDF is defined with a return of 5 and the Externally Called Program is defined with a return of 6, the right 5 characters in the external program is returned to the UDF with the first character being chopped off. I understand this but I'm wondering if anyone knows what happens with the RPGLE service program returns an indicator value of either *On or *Off.

Currently I'm getting '1' for on and '0' for off as a return from the UDF. I'm trying to determine we're going to have an issue moving to V6R1 (I don't have a way to test it yet). I remember previous conversions that said that indicators return a string of 1s when on. Or something similar to that.

http://code.midrange.com/092f3a21fe.html <-- code you can use to duplicate.



Thank you,

[beflogo160]

Michael Schutte
Programmer Analyst
3776 South High Street
Columbus, OH 43207
Phone: (614) 492-7419
www.bobevans.com


Join BE Mail now and receive a grocery coupon for a Buy One, Get One Free Side Dish in your Inbox! You can also look forward to exclusive monthly offers from Bob Evans as well as insider news about our restaurants, grocery food products, recipes, chefs and local community activities. For more information, visit www.bobevans.com/bemail<http://www.bobevans.com/bemail>

________________________________
Notice from Bob Evans Farms, Inc: This e-mail message, including any attachments, may contain confidential information that is intended only for the person or entity to which it is addressed. Any unauthorized review, use, disclosure or distribution is strictly prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message and any attachments.

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.