WebAug 28, 2012 · Typical use is to put READC in a loop in order for the RPG program to process each touched record. As for why the MDTs are not being turned off, are you using SFLNXTCHG? Not sure about the second problem; post the DDS and RPG you're using. Share Improve this answer Follow answered Aug 28, 2012 at 15:44 Buck Calabro 7,428 21 25 WebSubfile is processed based upon the relative record number i.e. RRN. The RPG program use READC (Read changed) operation code to read the changed record from the subfile and places the retrieved RRN into the RRN variable field specified in the 2nd parameter of the SFILE keyword. The RRN field is numeric decimal zero.
Branch details - Prince George
WebAdministrative Office. Prince George's County Memorial Library System 9601 Capital Lane, Largo, MD 20774 Tel: (301) 699-3500 TTY: Dial 7-1-1 to place a call through Maryland Relay WebFeb 8, 2006 · Join Date: Jan 2004. Posts: 9510. #2. February 8, 2006, 04:09 PM. Re: readc in free. use the name of the display file not the record. jamie. All my answers were extracted from the "Big Dummy's Guide to the As400". and I take no responsibility for any of them. chyrl hartshorn cumming ga
SFLNXTCHG (Subfile Next Changed)-Go4As400.com
Web· READP and READPE return %EOF=*ON if the beginning of file is reached. · WRITE operation returns %EOF=*ON if the WRITE operation to a subfile detail record returned a subfile-full condition. · If %EOF=*ON and we perform CHAIN operation, then CHAIN operation on successful search sets %EOF=*OFF. WebThe READC operation (line 4) reads each record of the subfile that has been modified. Technically, each record that has the modify data tag set on is returned with the READC operation. The modify data tag is a 5250 data-stream flag that is switched on when the workstation user types data into a field that is displayed on the workstation. WebOct 21, 2008 · October 21, 2008, 05:26 AM. Re: How to Read SubFile. Here is some code ! Change the name SFL1 to your Subfile record and choice to the field you are using. Code: ** read changed subfile C READC SFL1 C DOW NOT %EOF C IF choice = 'X' .. do your processing here ... C ENDIF C READC SFL1. chyrist the king pub cov