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 / swadesh
clear and reset both opcodes are used for clearing the
fields.difference is that clear only clear but reset is
used for clear & then initialise the numeric fields with
zero and character with blanks.
OPEN & CLOSE opcodes are used for explicitly open and
close the file.In precise all files are automatically open
when these are processed by program bt at somepoint if we
want this should not be implicitly then open we use these
keywords.
SFLNXTCHG :Its always read those records which changed 2
or more times.this is declared in subfile(SFL) format not
SUBCTL format.
Is This Answer Correct ? | 14 Yes | 8 No |
Post New Answer View All Answers
distinguish between terminating a program through seton lr and return?
is there any way I can ease my rpg controls on numeric input fields? How about an input date field?
how to get the cursor position?
what is the maximum number of subfiles that can specified in a display file ?
when are the unique constraints executed?
what is scan and xlate?
is their a difference in cobol400 for the release 5.2 and 6.1 at the as400.
how many printer files can be defined in f specs ?
how many maximum spaces could be given in o specs?
How do you check object lock
How can we update a specific field in RPG?
how do you pass parameters in cl?
what is subfile?
How we will get issues on AS/400 technology ? I mean which issue/Defect Tracking tool is using in all companies when any issue comes? Can anybody explain about the work flow of AS/400 project ? plzzz
how many files, printer files you can describe in a rpg?