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
can you have multiple key lists for a single file ?
Difference Between Skip Before & Space Before?
can you specify a display file to be used in the following modes input,output, or combined modes ?
what is rpg ?
what is the purpose of indicators in rpg?
Why we have multiple data types in As400 and why we use numeric, packed, decimal, zoned the basic difference between this?
Can level check error occur if we do chgpf?
why do we use readc? What is sflnxtchg?
what is a join logical file?
Explain this error: "all record formats for externally-described file abcd ignored or dropped due to error; file ignored."?
what are various techniques to pass parameters from one program to another?
how to define to define a hidden filed in dspf ?
when do you use f-spec. Continuation line ?
Which command is used to replace CDUP command in FTP IF i WANT TO USE SFTP?
if dspatr(pc) and csrloc were specified for a format, which keyword would have priority?