|
I see an unconditional DSPATR(PC) in the subrec DDS.
Maybe that is interfering with the SFLRCDNBR?
Just something to try...
- Steve
On Fri, Jun 6, 2014 at 3:26 PM, Jeff Young <jyoung0950@xxxxxxxxx> wrote:
Booth,the
From the DDS Reference Manual:
If CURSOR is specified, the cursor is placed in the subfile record whose
relative record number is identified by the contents of this field. The
cursor is positioned at the first input-capable field in the subfile
record. If there is no input-capable field, the cursor is positioned at
first output-only or constant field. For example, if a page can containcursor
three records, and nine records are contained in the subfile, a SFLRCDNBR
field value of 8 causes records 7, 8, and 9 to be displayed. If CURSOR is
specified, the cursor appears in record 8.
Based on this, my code should be working.
I think I am missing something.
Perhaps due to the subfile being in a window?
Jeff Young
Sr. Programmer Analyst
On Fri, Jun 6, 2014 at 2:52 PM, Booth Martin <booth@xxxxxxxxxxxx> wrote:
As I understand the keyword. the only thing that happens is that theput
subfile page containing record 4 will be displayed. Adding "*TOP" will
record 4 at the top. With *TOP, the record will be at the top and theand
cursor will be where you want it
http://www-01.ibm.com/support/knowledgecenter/SS4QVT_8.5.1/
com.ibm.etools.iseries.langref2.doc/rzakc/rzakcmstdfsfrnm.htm?lang=en
Another choice to put the cursor on record 4, would be to condition the
FOUTPUT field's two DSPATR indicators with an indicator. One line Nnn
the other just nn.
On 6/6/2014 1:25 PM, Jeff Young wrote:
All,
I have a display file that contains a subfile that is displayed in a
window
(DDS is at http://code.midrange.com/32d6876eb6.html)
I load the subfile with 4 records.
In my program, I do a Write on the FRTCMD record and EXFMT on FRTCTL.
I set the value of FRT_BEGIN to 4 and display the subfile. The
(RPG400-L)remains on record 1.
JEY01C Write FrtCmd
JEY01C Exfmt FrtCtl
What am I missing here?
Jeff Young
Sr. Programmer Analyst
--
Booth Martin
www.martinvt.com
(802)461-5349
Skype: booth.martin
Happiness is having a scratch for every itch. -- Ogden Nash
--
This is the RPG programming on the IBM i (AS/400 and iSeries)
--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 is the RPG programming on the IBM i (AS/400 and 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 is the RPG programming on the IBM i (AS/400 and 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.