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

what is message file?

604


how many printer files maximum can be used in single rpg program?

675


can you have multiple key lists for a single file ?

997


what would be the effect on the field where reverse image, underline and highlight display attributes are active ?

1000


What Is The Difference Between Goto & Exsr?

1175






Difference Between Interactive & Batch Job?

791


1. There is a file called Month. Month has 12 members called Jan, Feb, ..., Dec. How to design a rpg code which can access any member and show its content. (User can ask for any member when required)?

407


Difference between NOPASS & OMIT?

1195


The content of Physical file is as below: hfcftp wruquief SENDPASV 0 CDUP ASCII GET 01100901.CSV ramndk/ECP505.EC0110090 (REPLACE QUIT Thw above commands will get executed when we call STRTCPFTP from CL program.... Now if I want to use SFTP what can be the solution? plz reply in detail....Thank you for ny help... I m using RPG/ILERPG to download...

1917


what is full form for dds?

745


define what a data queue is along with a brief example of what it may be used for?

1073


what are the different commands used in rlu ?

1459


how to read database records without locking them?

1143


I need to insert a record in a file using STRSQL containing the some field values same as an already existing record in that file.I know to smple insert mentioning those values one by one.But is there any another query can be prepared for the same .Please share the query if known to you. Thanks in advance.

2264


In Which Specs Arrays, Tables & Constants Are Defined?

704