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
the maximum number of subfiles that can defined in a rpg program for one display file is ___ .
what is the clp command to access a query/400?
what is service program?
how does union file maintains record formats?
What is compiler directive in as400? Give example of compiler directive.?
What is file information data structure(infds) in as400?
what is full form for dds?
what is the version of os/400 that we have?
How can we read file using curser? how to define a curser?
how will you search an array?
what are the important factors in error message subfile ?
what is the maximum number of files allowed in rpg?
what are the different methods to access seu?
list some of the commonly used commands for debugging?
how to pick up the changed records every time in a subfile after the first change made ?