what built in function can be used with SETLL.If you want
to check whether the search argument is successful or not?
Please give me answer with example?
Answers were Sorted based on User's Feedback
Answer / swetha p rao
%Equal should be used with Setll .%Equal says whether the
argument is present or not.
Klist1 SetLL File1
If %Equal
/* Argument Found
else
/* Not found
EndIf
| Is This Answer Correct ? | 27 Yes | 4 No |
Answer / syam
SETLL to set pionter to a record
To set pointer to Starting of the file use
C *LOVAL SETLL Recordname
To set pointer to End of the file use
C *HIVAL SETLL Recordname
To set pointer to a particular record of the file use
C Move currentYEAR YEAR(2008)
C YEAR SETLL Recordname
| Is This Answer Correct ? | 3 Yes | 8 No |
Answer / guest
%Found built in function is used with SETLL.%found turned
to be on when a record find in the file.
| Is This Answer Correct ? | 11 Yes | 18 No |
Can anybody tell me, does CL/400 handle LEVEL check while running the CL program....? plz share your experience...
How to call one program from another program in RPG? please help me with the code
How to check which are the pgms using 1 perticulate file.? I know there is many tool available for X-reference...but need to know is there any command available in the system...?
In a particular program one file is used where override command is applied to a file, now this program calls another program where we want to use the same file but without override.How it can be done?
How to find d key field of a pf that doesn’t have source physical file?
I have some doubts on subfile----------- -----I wrote a prog on subfile to display the records. Every thing is clear but i defined a field called "opt" as input field in subfile record format from that input field i wish to enter into new screen called "EDIT" which i created it as a separate RCD in display file. i gave opt as 2 for edit just like in WRKMBRPDM screen please telll me the code and how can i code for it in RPG.
1.Coding in cl to send an message? 2..What is turnover and use? What are the different levels?
suppose if we want to update the data in cl what we will do?
1.I have a Batch job, Running for 4 hours, i want to reduce the executing time to 2 hours what should you do?
there is any limit to display the members in rpg400?
Setps to create .csv file on IFS folder in AS/400( V4R3)....?
Write the subfile logic program for the given concept. Load the data to the subfile depends upon the designation where designation is not a key field?