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
what would be the effect on the field where reverse image, underline and highlight display attributes were active?
How Many Specs Are There In Rpg & Which Are They?
define the purpose of the iter operation?
what would be the effect on the field where reverse image, underline and highlight display attributes are active ?
In RPG How to read a records from a file without using read opcodes?
in conjunction with which statements can orxx and andxx conditions be used ?
How to reverse a string using RPG?
how to read database records without locking them?
which are the figurative constants used in rpg?
which of the following operations does not zero the field flda defined as 4,0?
Service Program : S1 Modules in S1 : M1 M1 having two procedures : ADD, SUB Current Binder Language STRPGMEXP PGMLVL(*CURRENT) EXPORT SYMBOL("ADD") EXPORT SYMBOL("SUB") ENDPGMEXP Doubt: I need to add one new Module to the Service Program M2 having one procedure ‘MULT’ How to add this new module to the service program S1 ? If I need to recreate the service program again, Do I need to mention the Module M1 again while recreating along with new Module M2? There is no Binding Directory. Binder language structure will be like this STRPGMEXP PGMLVL(*CURRENT) EXPORT SYMBOL("ADD") EXPORT SYMBOL("SUB") EXPORT SYMBOL("MULT") ENDPGMEXP STRPGMEXP PGMLVL(*PREVIOUS) EXPORT SYMBOL("ADD") EXPORT SYMBOL("SUB") ENDPGMEXP
what are indicators?
what is *inzsr used for?
Which command is used to replace CDUP command in FTP IF i WANT TO USE SFTP?
What is binder language ?