Can we found a record existance in a file w/o reading the file?

Answer Posted / srisailam

by using setll and %equal()

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how do I declare a minor?

705


are there any useful c runtime apis that I can call from rpg iv?

686


How would display prime numbers using CL program?

5666


what are the key words you must use when using a subfile?

680


what is data area and how it is used in rpg program ?

746






what is program status data structure?

1362


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?

1440


can I touch the array during treatments?

736


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.

2040


do you use message subfiles? What are the necessary keywords required coding a message subfile?

675


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?

604


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.

745


What is a record lock error?

1253


which program rpg or cl is efficent to update a transaction onto a database file and why ?

731


1. If there are two programs using same file and 2 users are using the file at the same time and what can be done to allow them both to access? 2. How can remove lock from the file for accessing it by both users?

474