|
Yep that's it. Trying to show the subfile without turning on the display indicators. Lol, the other day I wrote a pgm to do a subfile, had it all done, went to test, it was blowing up. Couldn't figure out why. After reading the dump, checking all my indicators, checking my rrn's, turns out during my loop process for loading the subfile, I was loading the fields ok, just never ever wrote the subfile. Totally missed that step. Lol. Ron Power Programmer Information Services City Of St. John's, NL P.O. Box 908 St. John's, NL A1C 5M2 Tel: 709-576-8132 Email: rpower@xxxxxxxxxx Website: http://www.stjohns.ca/ ___________________________________________________________________________ Success is going from failure to failure without a loss of enthusiasm. - Sir Winston Churchill michaelr_41@xxxxxxxxxxxxxx Sent by: rpg400-l-bounces@xxxxxxxxxxxx 07/08/2004 12:20 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: Subfile problem I think this means you need to turn on the indicator associated with either (or both) SFLDSP and SFLDSPCTL before you WRITE or EXFMT the associated record formats. On Thu, 8 Jul 2004 10:48:45 -0400, "Smith, Mike" <Mike_Smith@xxxxxxxxxxxxxxxx> said: > I have been experimenting with seperating database access from my > displays after reading the 'Sorcerers guide' . I decided to try this on > a subfile program. I'm now trying to run this program and I'm getting > the following error. When I try to display the subfile. > SFLDSPCTL or SFLDSP option required for PUTGET. > C > SFLDSPCTL or SFLDSP option required for PUTGET. > C > Session or device error occurred in file RGCTLDF. > Session or device error occurred in file RGCTLDF. > > I searched through the archives for this error and saw some references > to using the invite and putovr keywords. I have tried this, but I'm > still getting this error. > Any ideas? > > Michael Smith > iSeries.mySeries. > > -- > 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. > -- michaelr_41@xxxxxxxxxxxxxx -- 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. This OutBound email has been scanned for Viruses
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.