Ü  COMP

Factor 1

Op-code

Factor 2

Result Field

Resulting Indicators

       HI                            LO                      EQ

Comparison value 1

COMP

Comparison  value 2

 

Factor1>Factor2

Factor1

Factor1=Factor2

 

Example     


Columns . . . :    6  80             Browse                                   AMINEM/QRPGLESRC
SEU==>                                                                                OP_COMP
FMT *   *. 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+... 7 ...+... 8
*************** Beginning of data ****************************************************
0001.00                                                                                 130128
0002.00 D A               S              2P 0 inz (11)                                  130128
0003.00 D B               S              2P 0 inz (12)                                  130128
0004.00                                                                                 130128
0005.00 C     A             COMP      B                                  212223         130128
0006.00 C     *IN21         DSPLY                                                       130128
0007.00 C     *IN22         DSPLY                                                       130128
0008.00 C     *IN23         DSPLY                                                       130128
0009.00 C                   SETON                                        LR             130128
0010.00                                                                                 130128
****************** End of data *******************************************************



OUTPUT


DSPLY  0           

DSPLY  1           

DSPLY  0           

 











User Comments:



Subscribe

.  


Copyright © www.go4as400.com, 2013-2023. Copyright notice   Terms of services   Privacy policy