|
Rob, To display the SFL you need to turn *IN62 *ON Regards, Carel Teijgeler *********** REPLY SEPARATOR *********** On 7-11-04 at 11:59 rob@xxxxxxxxx wrote: >My screen programming is a tad bit rusty. > >I write out a footer1 record. >I write out the record1ctl record to clear the subfile. >But, when I go to write the subfile record it chokes. > >RPG code: > Write footer1; // Clear the screen and write out the Fkeys > *in62=*off; // SFLDSP, SFLDSPCTL off > *in60=*on; // SFLCLR on > *in61=*on; // More... on > write record1ctl; // Clear the subfile. > *in60=*off; // SFLCLR off > for x=1 to SflSize; // fill up the subfile > If Not FetchCursor(); > *in61=*off; // More... off > Leave; // Bust out of the fill if End Of File. > Else; > write record1; // Write a detail record to the subfile >Nothing of significance in the joblog until the write record1. Then I >get: >CPF5021-Incorrect relative record number or field selection error. >C autorespond >CPF5021-Incorrect relative record number or field selection error. >C autorespond >RNX1255-Session or device error occurred in file ORDERLIST. > The major return code is 83. > The minor return code is 1D. >
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.