|
Hi Stiju, The input subfile is coded same as normal subfile You may design your subfile with input capable fields may be size greater than page and compile and no extra key words required other than as you normally design for normal subfile In your program as you load for a normal subfile Clear Subfile then Add 1 RRN number and simply keep Writing the Subfile record format until RRN number is equal to the number of Records to be displayed on the subfile page Check for RRN > * Zeros and Eval SFLDSP and SFLDSPCTL indicators on And EXFMT SFLCTL and end the program For validation part With READC you can get the subfile changed records If you find any invalid values then flag on the Error indicators if any Or display any error messages via message subfile Update your subfile record format and EXFMT your subfile control record format Thanks Sadiq .... -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Stiju Easo Sent: Tuesday, March 07, 2006 4:25 PM To: RPG400-L@xxxxxxxxxxxx Subject: How to validate input subfile Can anyone sujesst how to validate an input subfile can u provide a sample code for input subfile and validation i am new to as 400 please help me -- 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 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.