check existence of one record without using chain or read?
Answer Posted / amit
Use setll with %equal to check if the record exists or not.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Please tell me how to read the records from a file with load an array of size with error conditions(The logic answer for this question is ARR is array of 99 elements Z-ADD 0 IDX *LOVAL SETLL FILE READ FILE 99 *IN99 DOWEQ *OFF IDX ANDLT 99 ADD 1 IDX MOVE FIELD ARR,IDX READ FILE 99 ENDDO).So,Please give me the complete of this code.
can you debug ile rpg program using isdb?
How can we override a file during runtime in rpg?
Explain mdt?
how does the rpg element work?
What is the difference between iter and do?
during execution, an rpg/400 program automatically follows a sequence of operations for each record that is processed. The built-in program cycle includes the following logical steps.
if there is a module object , how to find the program object for this module object.Assume the module object name and program object name is not same.
what is data area and how it is used in rpg program ?
When we have a file with Duplicate records and I want to read the unique record from the file. For example a file containing Emp Name as 'Ram' and there are 3 entries of it. So how to read a unique record from File?
how do you use commitment control in rpg?
How to create a login screen using a command instead of display file.... intention is to get a password field on a command..... how do you achieve this...
what was the robotech rpg?
what is the difference between do while and do until?
what is kids-rpg?