|
hi ,,thanks for the reply.. sir . i have already made a cionfirmation screen.by reading records in a first subfile that have been changed by the user(by placing option 4in the option) using readc opcode and loading theese changed records in another subfile(subfile record format).say screen 2 without option.now i was having problem in reading the confirmation screen' s subfile record format i e reading screeen2without option from top to bottom and deleting records read from screen2 one by one. is there any prob with my thinking . should i have to do some thing else. as i cannot perform readp or read (gets error when try to use theese commands )operation on screen2 having no option field .i think i should readc again on the first screnn record format.and if 4 is found then deleting..i will try this .. well if you have any ideas please share with me hamberg. thanks a lot and thanks for giving me information on uim panel groups i will try to get as much info as i can on uim panel groups.as i havent studied them before.may be theese could solve many of my problems.i dont have any book on uim panel group..but i appretiates your suggesstion and will learn theese uim panel groups.... have a nice day vhamberg@xxxxxxxxxxx wrote: If you have not already done so, get the "Application Display Programming" manual at InfoCenter - lots of stuff on subfiles, etc. Having said that, along with the other suggestions you got, maybe you could write a confirmation screen - even use the same one as the main display without option field - take the various confirmation screens in PDM as an example. You would, as stated by others, do CHAINs in a loop, either a FOR with the number of records in the subfile, or with the appropriate error for running off the end of a subfile - the first option is safer. You CHAIN on the subfile RRN. Here's a barely serious suggestion -- If you really want to work hard and have some fun, go with UIM panel groups - the confirm screen is almost automatic with these. Not the easiest way to go, but IBM does most of their stuff with them. Look in the above-mentioned manual. Lots of us use this for help text but not many of us outside IBM use them for displays or printing. HTH Vern -------------- Original message -------------- From: sunny singh > hi all.. > i have a prob regarding subfiles.. > i have a load all subfile displaying for example four selected records by the > user. > now i want all the records to be deleted when the user presses certain key > say > f11. > i am having a prob when i tried to do this by reading the subfile record > format from the top and then chaining to the physical file in a loop..can any > one plz explain the proceedure for just idea of how this could be done > example... > date xyz bank > time > > number name dept > salary > 101 john comp > 12344 > 102 franky mba > 38474 > 103 rocky comp > 123454 > 104 nick > b.tech 345676 > > how can we delete above all four records that has been displayed on the above > screen.niumber beeing key field. > why cant i perform readp or reads operation on this subfile. > thanks in advance... > please do reply. > have a nice day........ > > > > > > > --------------------------------- > Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates > starting at 1¢/min. > -- > 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. > -- 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. --------------------------------- Blab-away for as little as 1¢/min. Make PC-to-Phone Calls using Yahoo! Messenger with Voice.
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.