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 is the function of rlu ?
how can you detect and handle a record lock situation?
the maximum number of subfiles that can defined in a rpg program for one display file is ___ .
how to declare a constant variable in the freeformat?
the output from my cgi is correctly interpreted by ms internet explorer, whereas netscape navigator would display it as a plain text. What should I do to have also netscape interpreting the html output from my cgi?
define the purpose of the iter operation?
what are the three types of keywords associated with printer file ?
what is procedure prototype and procedure interface.
What Does Lokup Does In Tables & Arrays?
Explain this error: "all record formats for externally-described file abcd ignored or dropped due to error; file ignored."?
what are different record spacing keywords in rlu ?
what is the purpose of dynslt keyword?
what are the different commands used in rlu ?
what is the disadvantage of using global variable?
how can u check no of records in a file?