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 / t thomas

%check validates a string character by character to a
particular set of characters and gives 0 if that character
in the string is not present in our set else give the
position.

%scan checks in a string whethere a string or character is
present in another string and also gives the start position.

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

difference between sflrcdnbr and sflnxtchg?

937


what is the purpose of overrides?

1425


which are the member types which seu supports?

1108


what is xfoot opcode ?

1418


what are members?

855


What is a query can be displayed without saving it?

902


what is *inzsr used for?

1978


What is the difference between non-join logical files and join logical files?

864


Difference Between Interactive & Batch Job?

1037


what are the different types of arrays available in rpg ?

1311


what is the maximum number of subroutines allowed in rpg?

1444


what is scan and xlate?

1488


what does the ovrdbf command do?

892


how can you detect overflow for a print program that prints multiple lines per cycle?

1369


how can you check for a records existence without causing and i/o (chain/read)?

1735