|
I don't think you can do what you want at the display file level. You will need to pass control to the program, which is much more expensive from a CPU effort perspective. Al Al Barsa, Jr. Barsa Consulting Group, LLC 400>390 "i" comes before "p", "x" and "z" e gads Our system's had more names than Elizabeth Taylor! 914-251-1234 914-251-9406 fax http://www.barsaconsulting.com http://www.taatool.com http://www.as400connection.com "James H H Lampert" <jamesl@xxxxxxxxx To om> midrange-l@xxxxxxxxxxxx Sent by: cc midrange-l-bounce s@xxxxxxxxxxxx Subject Display File DDS question 06/08/2005 01:21 PM Please respond to Midrange Systems Technical Discussion <midrange-l@midra nge.com> I'm currently looking through the DDS manual, trying to work out a way for a 2-character alphanumeric field to accept "A", "C", "X", or a digit from 1 to 9 (in either column, with the other column blank), or any 2-digit number from "01" to "99", and reject any other entry. Preferably doing all the validation within the display file. I noticed that the "VALUES" keyword can only accommodate 100 values, and that wouldn't be enough to cover every valid value individually. Can anybody suggest something I may be overlooking? Or tell me outright that it's impossible, and that I need to do the validation in the program? -- JHHL -- This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/midrange-l or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.