How do you know if a record exists without doing a READ and
CHAIN?
Answer Posted / venkateshp foursoft
PGM PARM(&NBRRCD)
DCL &NBRRCD TYPE(*DEC) LEN(10 0)
RTVMBRD FILE(STR) MBR(*FIRST) +
NBRCURRCD(&NBRRCD)
ENDPGM
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
how does the rpg element work?
How to write record if no field or the field are different in physical file in rpgle ?
what is *place and *auto keyword in prtf ?plz explain
how do I declare a table or array in rpg iv?
how can you display specific subfile page on the screen in unequal subfile?
How would display prime numbers using CL program?
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.
thanks mr.Harshad R Suryawaunshi,i'm new to as400 i think you are telling in rpgile i know only rpg400 if possible can you tell in rpg400
How to handle duplicate error handling in RPG?
what is a rpg?
Interviewer asked me write down DDS for load all subfile .can anybody write dds
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?
do you use message subfiles? What are the necessary keywords required coding a message subfile?
How do u design a physical file, when you have 2 Unique fields like for eg in A student file student ID and student examination no both are unique
What is a record lock error?