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...?
How do you know if a record exists without doing a READ and CHAIN?
Can we found a record existance in a file w/o reading the file?
6 Answers Traitsys Technologies,
If the last record of a file has been read, and the next operation on that file is a READ operation, what will be the values of the input fields for that file? A. They will be blank and/or zero. B. They will be null. C. They will equal the values of the first record in the file. D. They will equal the values of the last record read.
RPG/400 faqs?
How to declare the dynamic(run time) array in rpgle? can you please give example
can I touch the array during treatments?
Write the subfile logic program for the given concept. Load the data to the subfile depends upon the designation where designation is not a key field?
I have to change a program. This program is calling a subroutine mor than 100times within it. so will it have any performance issue? if yes than what changes i can make. Thanx for ur valuable answer.
In case if I want to know whether a record exists in a file, which one do you prefer CHAIN or a SETLL and why ?
what is the necessary command needed before OPNQRYF and why?
Hi guys, anybody know How RPG/400 code can be converted to RPG IV code with a single command?
Assume my file has 100 records and I want to see only first 10 records. Is this possible through lf?