what is the difference between clear and reset opcodes and
open and close opcodes?please tell me in real time senario
with example please?
And
What is the use of SFLNXTCHG?Where we can use this?
Answer Posted / pravin
clear and reset both opcodes are used for clearing the
fields and then initialise the numeric fields with
zero and character with blanks difference is that if we
define any initilialise value for that var in pgm reset
initialize it by that value but clear initialize it by zero
or blanks.
OPEN & CLOSE opcodes are used for explicitly open and
close the file.
SFLNXTCHG :Its always read those records which changed
in uppdatesubfile.this is declared in subfile(SFL) format
not
SUBCTL format.
| Is This Answer Correct ? | 22 Yes | 2 No |
Post New Answer View All Answers
what are the limitations of cl (compare to rpg) ?
what are the two record formats a subfile contain ?
what is a query can be run in which mode?
Why we are not able to perform insert delete and update operation in Join logical file?
what is the command used to invoke rlu ?
Pose, there are 100 records in the file.i need to retrieve all the records matching/equal to the particular name field. How can we do the above using search criteria other than using the if cond?
is there any way I can ease my rpg controls on numeric input fields? How about an input date field?
Space & Skip Are Which Level Keywords?
is it there an easy way to determine if an html section is available to issue a wrtsection upon?
what the purpose of ovrdta, ovrata keywords?
what is the purpose of overrides?
what is a physical file?
what is rpg ?
which single rpg opcode performs both setll and reade?
Why we have multiple data types in As400 and why we use numeric, packed, decimal, zoned the basic difference between this?