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 |
wat is the difference between dataarea and data queue?
5 Answers Airtel, Four soft, Shahi Exports,
how to retrieve RRN value in RPGLE program
1.CA(command Atention key)& CF(command Function key) difference with example?Please can any body tell me in real time exp? 2.Can any body tell me some mandatery function keys using while creating any screen with use of SDA-FUNCTION kEYS?
Why there is invention of RPG if we can do insert update delete in CL through SQL.Why the rise of RPG?
while i am using the dspmsg command on comman line in Mocha am getting error like Not authorized to message queue message my messagequeue Name? can anybody help me how to change my message queue Am anable to see my messages in message queue
1.WHAT IS WRONG WITH THE CODE BELOW? C CUSTNO CHAIN CUSTMAST IF %ERROR can any body find the wrong please? 2.What builtin function will you use to achieve the following functionality? C QTY IFLT *ZERO C QTY MULT-1 QTY ENDIF
1.I have a Batch job, Running for 4 hours, i want to reduce the executing time to 2 hours what should you do?
how to find whether a date format is valid or not in RPG400 not in RPGILE.Can you please write the coding for this sir,i'm new to AS400.Please help.
1)how to do date validation in rpg? 2)how to delete dUPLICATE RECORDS?
IN RLU what are the record level keyword is used?
what is *place and *auto keyword in prtf ?plz explain
3 members in databasefile .how to read records from all the members??