define comp?

Answer Posted / syam

COMP = Compare in RPG, to compare two fields value.

AA = 01
BB = 02


C AA COMP 01 99 (found)
C BB COMP AA 99 (not found)

99 = on not found
99 = off found



Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the output procedure?

575


What is sort?

534


What is sort? And its syntax?

669


What are the types of perform?

571


What are fillers?

531






What is input procedure?

578


Explain the input procedure and output procedure?

521


Explain the difference between section, paragraph and sentences?

510


What is the syntax of redefine?

535


Explain the types of perform?

525


What is comp?

551


What is redefine?

555


Explain how to convert 2010/02/11 to m/dd/yyy.. With string and without string if any other method... Code?

646


why icetool be used in programmer view?

2143


I like to know if possible to use %TRIM or any statement with prefiv "%" like RPG ile programs. thanks

2066