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 Help Members By Posting Answers For Below Questions

Hi Viewers can any body explain me how to update and ahange the already existed data in physical file using subfile ? please explain me with the code if possible?

4769


can you debug ile rpg program using isdb?

954


write an RPG program to calculate the marks of 5 students (A,B, C, D, E)in 3 different subjects (eng, math, sci) an display on the screen

1071


Interviewer asked me write down DDS for load all subfile .can anybody write dds

1396


how can I tell when to replace the array?

914


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...?

1718


how do I declare a table or array in rpg iv?

950


What is file identifier where we can use?

858


what happens when sflsiz = sflpag? What are the advantages and disadvantages?

957


what do you mean by an input subfile, what are the keywords required?

1036


what is the use of sflnxtchg?

1032


explain sflclr, sflend, sfldlt, and sflcsrrrn?

1096


If my rpg program has a date field, what extra care I have to take while compiling that rpg program? If the file is keyed and I have declared the file as well as key list properly in my program. Still am getting an error message like "chain/reade operation is not allowed" what may be the case?

847


what is the rpg system?

937


How to declare the pull button in AS/400..

2121