wat is scan and check ? give me real time scenarios where
we used these keywords in ur projects?
Answers were Sorted based on User's Feedback
Answer / sam
FACTOR 1 OPERATION FACTOR 2 RESULT
Comparator SCAN Base left most
string: length string:length position
of string
The SCAN operation scans a character string (base string)
contained in factor 2 for a substring (compare string)
contained in factor 1. The scan begins at a specified
location contained in factor 2 and continues for the length
of the compare string which is specified in factor 1.
The result field contains the numeric value of the leftmost
position of the compare string in the base string.
The CHECK operation verifies that each character in the
base string (factor 2) is among the characters indicated in
the comparator string (factor 1). Verifying begins at the
leftmost character of factor 2 and continues character by
character, from left to right. Each character of the base
string is compared with the characters of factor 1. If a
match for a character in factor 2 exists in factor 1, the
next base string character is verified. If a match is not
found, an integer value is placed in the result field to
indicate the position of the incorrect character.
| Is This Answer Correct ? | 15 Yes | 0 No |
Answer / noah
this is used to scan for source codes that match the program
name the developer is looking for. This usually use to check
program dependencies before migration of source code for
integrity check purpose.
This scan function also used for analyze program flows.
| Is This Answer Correct ? | 1 Yes | 7 No |
I know chain keyword retreive records randomly but how chain keyword exactly works internally????
how to change the length of the field in a physicalfile?
how can we can we the data decimal error?how can we open such file in support
what is the necessary keyword needed to scroll subfile records?
A particular job executing on the iS is not behaving as expected and is operating in an environment in which it can be debugged. What commands would you use to debug and observe the program?
I want to declare the number of elements of an array dynamically in RPGLE ? Is it possible? If yes, then how do I do it ?
How to change the name of physical members Dynamically?
1.Write code to read the records from a file and load an array of size 99? Make sure that you take care of all the error conditions?
Errors in Sql query will be in which state?
I know whole thing ab't Arrays related to declaration..can anyone tell me what exactly use of array or anyone faced a situation where he found use of array must....
Explain mdt?
How do you proceed in case your active AS400 session has got disconnected suddenly, how can you get back to your session ? Is it possible??