×

Good News Everybody!

The new search engine is LIVE!

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




So, do you define your numerics as alphanumeric and do the editing in the 
RPG also?

Rob Berendt
-- 
Group Dekko Services, LLC
Dept 01.073
PO Box 2000
Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com





rick.baird@xxxxxxxxxxxxxxx 
Sent by: rpg400-l-bounces@xxxxxxxxxxxx
03/18/2004 05:01 PM
Please respond to
RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx>


To
RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx>
cc

Subject
Re: Is this the University of Midrange.com? (was Re: Comp in DDS)







I'm with you on this one.  Any field editing that directly or indirectly
controls what data is put in a file, I put in editing routines in my code 
-
and I dare say, you should probably encapsulate as much of it as prudent 
in
callable functions/subprocs, so they may be re-used as needed.

I do, on the otherhand, do some DDS field checking for subfile 'option'
codes and the like.

for instance:

S1OPT       VALUES('2' '3' '4' '9')

this seems very reasonable to me.  The only time I wouldn't do the above 
is
if the valid options could change based on outside factors.

rick

-------original message----------------
Are there any good reasons to validate in DDS?

I have come to accept as my "programming style" to
NEVER validate in DDS. And after this discussion, I
believe that may be the correct decision...





_______________________________________________
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-Ups:
Replies:

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.