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 a composite key?
where will control be passed after the execution of the *pssr subroutine if the factor2 of the endsr is blank ?
what are the basic features of seu?
what is the maximum number of files allowed in rpg?
I need to insert a record in a file using STRSQL containing the some field values same as an already existing record in that file.I know to smple insert mentioning those values one by one.But is there any another query can be prepared for the same .Please share the query if known to you. Thanks in advance.
what is full form for dds?
how to write code for singlepage in sqlrpgle with update ?
when do you explicitly open files and close files in an rpg program?
what would be the effect on the field where reverse image, underline and highlight display attributes are active ?
when should I use method get, and when should I use method post in my cgis?
A join logical file has how many record formats?
how can u check no of records in a file?
what is a query can be run in which mode?
what does vldcmdkey means?
what is a non-join logical file?