1
SETLL and READ
Hi, I have the following problem: I need to make SETLL and READE for several LF based on 1 PF by selection. Is it any smart way to do it without to duplicate the READE and %eof() for each LF? Thank you.
Answer Question
| May 20, 2011 11:49 AM
AS/400 command functions, AS/400 commands, RPGLE Program, SETLL
Hi, I have the following problem: I need to make SETLL and READE for several LF based on 1 PF by selection. Is it any smart way to do it without to duplicate the READE and %eof() for each LF? Thank you.
READE – RPGLE
When doing a.. SETLL (parm1:parm2:parm3) READE (parm1:parm2:parm3) IF %FOUND OCCASIONALLY IT COMES BACK AS FOUND WHEN THE RECORD IS CLEARLY NOT IN THE FILE. ANY IDEAS? THIS IS THE STRANGEST THING.
Answer Question
| May 20, 2011 8:59 PM
READE, RPGLE, SETLL
When doing a.. SETLL (parm1:parm2:parm3) READE (parm1:parm2:parm3) IF %FOUND OCCASIONALLY IT COMES BACK AS FOUND WHEN THE RECORD IS CLEARLY NOT IN THE FILE. ANY IDEAS? THIS IS THE STRANGEST THING.
Read opcode
Hi Can i use the record format in place of a file name for all types of READs available in RPG/400 along with SETLL n SETGT?
Answer Question
| April 29, 2009 10:30 AM
RPG/400, SETGT, SETLL
Hi Can i use the record format in place of a file name for all types of READs available in RPG/400 along with SETLL n SETGT?
SETLL
Hi I have a set of records whose key has duplicates. Can SETLL be used to read these set of records.I need this to be done as part of a loop.
Answer Question
| April 1, 2009 10:08 AM
RPG, RPG/400, Set Lower Limit, SETLL
Hi I have a set of records whose key has duplicates. Can SETLL be used to read these set of records.I need this to be done as part of a loop.
Physical File Without Key
Hi guys, Currently i’m using RPGLE language. If i have a Physical File that without key, How am i going to set my pointer. I can’t CHAIN,SETLL and SETGT as well. In order to use them, u need have a key. Am i rite? Is there any idea to solve this matter? Thanks!!!!
Answer Question
| March 26, 2009 9:12 AM
CHAIN, Physical File, RPG/400, RPGLE, SETGT, SETLL
Hi guys, Currently i’m using RPGLE language. If i have a Physical File that without key, How am i going to set my pointer. I can’t CHAIN,SETLL and SETGT as well. In order to use them, u need have a key. Am i rite? Is there any idea to solve this matter? Thanks!!!!
Setting lower limits In CL
I know how to declare a file and read through the data in CL….but how can you reset it? Like setll in CL. I have searched and searched but nothing works. I have closed opend…etc.. Any ideas? Example: PGM DCLF FILEA Loop: RCVF FILEA If %EOF ne ’0′ DO Goto Loop: Enddo. Now I want [...]
Answer Question
| March 19, 2009 3:32 PM
CL, CL Commands, RPG, SETLL
I know how to declare a file and read through the data in CL….but how can you reset it? Like setll in CL. I have searched and searched but nothing works. I have closed opend…etc.. Any ideas? Example: PGM DCLF FILEA Loop: RCVF FILEA If %EOF ne ’0′ DO Goto Loop: Enddo. Now I want [...]
How to access all records in RPGILE
hi all, suppose i have a report with input criteria ‘machine code’ and requirement it that if i input a perticular ‘machine code’ then it should COME only that , otherwise all records of all ‘machine codes’ should come , in clp i use %WLDCRD for that. but i need to do it in rpgile [...]
Answer Question
| December 10, 2008 5:21 AM
AS/400 development, LOVAL SETLL, READE, RPG, RPG ILE, SETLL
hi all, suppose i have a report with input criteria ‘machine code’ and requirement it that if i input a perticular ‘machine code’ then it should COME only that , otherwise all records of all ‘machine codes’ should come , in clp i use %WLDCRD for that. but i need to do it in rpgile [...]
SQL Subfile and position to ability
I have a subfile that can be sorted by any of 4 fields, so I want to use imbedded SQL to read the data out of my PF in order to populate the subfile. I want to be able to allow the user to enter position to information, and position to that entry – normally, [...]
Answer Question
| August 15, 2008 7:03 PM
SELECT statement, SETLL, SQL Subfile, Subfile
I have a subfile that can be sorted by any of 4 fields, so I want to use imbedded SQL to read the data out of my PF in order to populate the subfile. I want to be able to allow the user to enter position to information, and position to that entry – normally, [...]
SETLL
Hi, Im venkat.Ive small question.Can any body clarify this question please? is there any equelent commands to SETLL*LOVAL in cl?
Answer Question
| August 1, 2008 1:05 PM
RPG/400, SETLL
Hi, Im venkat.Ive small question.Can any body clarify this question please? is there any equelent commands to SETLL*LOVAL in cl?
updating pf using simple rpg/400 code.
How can i update a pf using simple rpg code.and please also explain with examples use of setll, chain, setgt, Readc and sflnxtchg?
Answer Question
| June 18, 2008 4:37 AM
CHAIN, EXCPT, PF/LF, RPG, SETLL
How can i update a pf using simple rpg code.and please also explain with examples use of setll, chain, setgt, Readc and sflnxtchg?
SETGT and SETLL
I have tried using SETLL and SETGT command to read a record which is not present in file FILEA eg: A B D E Suppose in my program I have given the value C to read the file FILEA using command: C SETGT FILEA C READE FILEA and C SETLL FILEA C READE FILEA But [...]
Answer Question
| April 7, 2010 12:18 PM
AS/400, SETGT, SETLL
I have tried using SETLL and SETGT command to read a record which is not present in file FILEA eg: A B D E Suppose in my program I have given the value C to read the file FILEA using command: C SETGT FILEA C READE FILEA and C SETLL FILEA C READE FILEA But [...]
SETLL and SETGT
hi, Can any1 tell me the most and simple difference between SETLL and SETGT.
Answer Question
| February 23, 2008 7:34 PM
AS/400, SETGT, SETLL
hi, Can any1 tell me the most and simple difference between SETLL and SETGT.
SETLL vs. LOOKUP
Fact based opinions requested. Is it faster to perform a SETLL on a file to do an existence test or read the file (note: it has a very small number of records) into a program array during *INZSR and then do a LOOKUP to do the existence test?
Answer Question
| March 15, 2010 4:51 PM
*INZSR, iSeries applications, LOOKUP/XFOOT/MOVEA operations, SETLL
Fact based opinions requested. Is it faster to perform a SETLL on a file to do an existence test or read the file (note: it has a very small number of records) into a program array during *INZSR and then do a LOOKUP to do the existence test?
1





