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 / balaji
CLEAR opcode is used to set a data item i.e. a field with
predefined default value based on its type. This opcode is
particularly useful when it specified for a data structure
because it clears all of the subfields in the data
structure.
char = *blanks Numeric = 0 etc
RESET is returns a filed to its intial value as specified
in INZ keyword.
| Is This Answer Correct ? | 9 Yes | 0 No |
Post New Answer View All Answers
What are the mandatory keywords of sub file?
where will control be passed after the execution of the *pssr subroutine if the factor2 of the endsr is blank ?
how does the runqry show the output?
How to debug a batch job when it is in messagewait(mswg) status. I know the steps for batch ebugging, but im confusing with when we submit any job for batch debug we put in held state. So here also do same thing or any other way?
records can be read/update/deleted with which file?
How to Define a Procedure in RPG?
difference between sflrcdnbr and sflnxtchg?
what are the various types of device files?
What is the Difference between command attention key and command function key ?
how to pick up the changed records every time in a subfile after the first change made ?
what opcode will be used to test the zone of a character field?
What are the types of data structure in as400?
how can you check for a records existence without causing and i/o (chain/read)?
how does union file maintains record formats?
what is full form for dds?