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
when should I use method get, and when should I use method post in my cgis?
how many levels are there in a physical file?
what is the purpose of the indara keyword?
when do you explicitly open files and close files in an rpg program?
is it there an easy way to determine if an html section is available to issue a wrtsection upon?
what are the different commands used in rlu ?
what does opcode post do ?
what are the different types of variables available in cl?
how you will know whether you are in sfldrop or sflfold mode?
what is the command to know key fields of file?
what is the difference between udate and the system date?
what is the maximum number of parameters allowed in rpg?
what are all the contents of subfile?
define the purpose of the *cat function?
Difference between NOPASS & OMIT?