Define a "CSRLOC" in your DDS record format and then, when in the RPG program, stuff the current cursor location into the row and column fields . That should hold the cursor in the same spot on the screen, no matter where the cursor was. Chris
A CSRLOC(S1ROW S1COL) A S1ROW 3S 0H A S1COL 3S 0H
FDSPF001 CF E WORKSTN F INFDS(DSPINFDS) * display file information data structure D DSPINFDS DS * cursor row and column in binary D @CsrPos 370 371B 0 * get row and column that cursor is on after reading DSPF C @CsrPos Div 256 S1Row C Mvr S1Col