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



It amazes me that we can have so much chatter with so little substance
on this forum.  


-----Original Message-----
From: rpg400-l-bounces@midrange.com
[mailto:rpg400-l-bounces@midrange.com] On Behalf Of Dan
Sent: Wednesday, February 12, 2003 4:00 PM
To: RPG programming on the AS400 / iSeries
Subject: Re: "If %scan(x:y)" is not valid???

--- rob@dekko.com wrote:
> Dan,
> 
> Summary:
> It checks to see if the order is valid.

Maybe.  Are you sure?  Remember, you don't know the programmer who wrote
it.

> For more information I search my Notes documentation database for 
> ValidOrder.

In our example, there is no such thing.  This is the reality for 99.9%
of the AS/400 shops out
there.  Count yourself fortunate.

> Detail:
> How a valid order is determined is subject to change.  However, this
way I 
> don't have to remember to change every program - just update the
service 
> program.

We haven't even determined that the procedure validates an order number
yet.  Even if we go on the
assumption that it does, it hasn't been documented anywhere and, even if
it is in a service
program, it hasn't been put through the QA grind because, frankly, it's
a rare shop indeed that
does thorough QA.

Yes, the "change in one place, automatically affects everything that
uses it" is the way to go. 
But only if there is strong QA and documentation.  It sounds like you
have both.  

> Can you define what READ does, or do you need to look at that machine 
> code?

Is READ documented?  Can anyone in my shop change what READ does?

Rob, it sounds like you are in a programmer's Nirvana.  I have just
started to work in a shop does
the QA thing, all of it, and is open to consider using service programs,
and I am pursuing this in
my free time.  Nothing gets coded here without detailed specs!!!  Our
dev box was just upgraded to
v5r2, and our prod box will be next month.  Wow.

- Dan


__________________________________________________
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day
http://shopping.yahoo.com
_______________________________________________
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing
list
To post a message email: RPG400-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@midrange.com
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 ...

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.