WebJan 12, 2015 · Because the SETGT with *hival positions the file after the last record then the READPE with value 'FIRST' reads back to the last record in the file and the key has 'THIRD' in it so it doesn't match the key so nothing is retrieved. Hard to tell how to fix without knowing what you are trying to achieve. http://media.techtarget.com/search400/downloads/Ch_3_Free-Format_RPG_IV.pdf
SETGT (Set Greater Than) - IBM
WebDec 2, 2015 · If I wanted to check if the RPG PTFs have been loaded to an IBM i 7.2 server I could use the following SQL statement: SELECT PTFID,LOADSTAT FROM QSYS2/PTF_INFO WHERE PTFID IN ('SI58137','SI58110') For more information on this View see the post Quick way to find if PTF present and applied. Web4 © 2013 ibm corporation rpg iii (opm rpg) system-38 – v2r3 fcustfileif e disk freport o e printer icustds e dscustfile relentless momma fit
Whats New and Exciting in RPG - Scott Klement
WebA SETGT operation code should not be used to position the file prior to issuing a READPE (with no search-arg specified) as this results in a record-not-found condition (because the record previous to the current record never has the same key as the current record after a … READPE (Read Prior Equal) REALLOC (Reallocate Storage with New Length) REL (… The CHAIN, DELETE, READE, READPE, SETGT, and SETLL operations when a list o… http://media.techtarget.com/search400/downloads/Ch_3_Free-Format_RPG_IV.pdf WebAug 25, 2005 · Checking %FOUND as you are doing below will fail and use 1 as your … products that contain ethylene oxide