|
The indicator appears to be set the wrong way in order for the SFLDSP keyword to work. It says N74 in the DDS, yet you set this indicator *on before doing the EXFMT opcode. Tracy L. Ball The Jackson Group Sr. Programmer/Analyst (317) 781-4600 ext. 3107 -----Original Message----- From: fkany@xxxxxxxxxxxxxxxxxx [mailto:fkany@xxxxxxxxxxxxxxxxxx] Sent: Thursday, May 01, 2003 1:22 PM To: rpg400-l@xxxxxxxxxxxx Subject: Subfile not displaying By looking at the source below can anyone see why my subfile won't display. If you need more of the source just let me know. Any kind of help on this would be appreciated. TIA, Frank C MOVE '1' *IN73 C WRITER001CTL C MOVE '0' *IN73 C Z-ADD0 @@RRN * * Load 100 Blank Subfile Records C Z-ADD0 X100 30 C 1 DO 100 X100 C Z-ADDX100 @@RRN C Z-ADD*ZEROS @PRO# C WRITER001SFL C ENDDO * * Position Subfile to Beginning C Z-ADD1 @@RRN * * Set Subfile Display Indicator C MOVE '1' *IN74 * * Display "More..." or "Bottom" C MOVE '1' *IN75 * C *IN03 DOWNE'1' C *IN12 ANDNE'1' C WRITER001BOT C EXFMTR001CTL A R R001SFL SFL A WRDWRAP A @PRO# 10Y 0B 19 2EDTWRD(' - ') A COLOR(WHT) A 76 DSPATR(RI) A 76 DSPATR(PC) A R R001CTL SFLCTL(R001SFL) A *DS3 SFLLIN(0005) A SFLSIZ(0010) A SFLPAG(0009) A CSRLOC(@@ROW @@COL) A OVERLAY A N74 SFLDSP A N73 SFLDSPCTL A 73 SFLCLR A 75 SFLEND(*MORE) A @@COL 3S 0H A @@ROW 3S 0H A @@RRN 4S 0H SFLRCDNBR(CURSOR) _______________________________________________ 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.cgi/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.