Hi,while writing a program, what is the mandatory
specification using rpg/400 (in7 specification)?And please
tell me what is the difference between SCAN AND CHECK
opcodes?can any body tell me in real time senario?with
example?
Answer Posted / madhusudhan
Difference Between Scan and Check Operators
'D' SCAN 'Hardcore' Res
'D' Check 'Hardcore' Res1
'D' Check 'Dragon' Res2
Res = 4 , Res1 = 1 , Res2 = 2
Scan always gives the position where the search string is
found.
Check always gives the position of First non-existent
Position. Hope the RES1 and RES2 example will give you an
idea of CHECK opcode
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
define a output queue?
what is cab?
what is the purpose of putovr (put with explicit override) keyword?
how can database records be read without lock ?
What is difference between rename and prefix?
what is a program described file in rpg?
How to reverse a string using RPG?
what is full form for dds?
how you will find an error which is not in the first page of the subfile without using rolldown key?
define what a data area is along with a brief example of what it may be used for?
using dfu, user will be able to ___________ from physical file?
what are the different commands used in rlu ?
how will you find a string using pdm?
what is the maximum number of subroutines allowed in rpg?
how do you use exceptional write in c specs?