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 |
Hi,Please give me complete code with this logic. The question is how to read the records from a file with load an array of size with error condition? (The logic is Z-Add 0 IDX *LOVAL SETLL FILE READ FILE 99 *IN9 DOWEQ *OFF IDX ANDLT 99 ADD 1 IDX MOVE FIELD ARR,IDX READ FILE 99 ENDDO)please give me complete code with explanation?
what are the key words you must use when using a subfile?
what is commitment control?explain about it?
which program rpg or cl is efficent to update a transaction onto a database file and why ?
we hav job which is running as batch. it takes atleast 06hours to complete tht job. bu i wana do tht job with in 3hours.........? so plz post ur answers
what is edit word and edit code
am 2010 passed out . can any one tell me which course is good to put 2+fake .guide me
Can a run time array be declare like below with no specified number of elements ? Is it possible ? DFLD_ARRAY 7 DIM() INZ(*blanks) What does this mean ? Does this mean that the number of array elements will be dynamically declared during run time ?
1)how to do date validation in rpg? 2)how to delete dUPLICATE RECORDS?
Are all these RPG/400 Interviewed Questions being asked recently? are current?
Anyone help me for the below question:- If problem/error occur in *PSSR subroutine,how should I handel it in RPG program.
Can someone tell me tell me what is meant by message wait...?