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 |
what are the key words you must use when using a subfile?
Set on command is used for closed all opened files , initialize var and release resource , return cmd is used for return to calling program but my req. Is dnt close opened files and resource must released while doing transactions , how can i do this...?
wat is meant by hidden field , why it is used?
Suppose we have one database file and it is used by 5 programs and in 3 program we have to add some records in datbase file s what is the impact on other program?
please help me answer to this question what is the difference between the binding and srvpgm in ilerpg?
What are the necessary keywords required to code a message subfile?
i'm working on progA , in that program i want to see the userids of the users who work on this program?
how to find whether a date format is valid or not in RPG400 not in RPGILE.Can you please write the coding for this sir,i'm new to AS400.Please help.
What are the commands that can be executed in CLP but not in RPG? Why?
what is commitment control?explain about it?
Im traying to get out put of this below mention simple logic code.But im geting out of different.(im trying with my laptop trhough my company server. DCL &FIELD1 *CHAR 10 VALUE('TCS AS/400') DCL &FIELD2 *CHAR 10 CHGVAR(%SST(&FIELD2 1 10))(%SST(&FIELD1 10 1) Can you tell me the value of field2 after excuted of CHGVAR command.
Is it possible to call a subfile using CL. IF yes.. kindly help me out with explanation...?