Hi all,
I am a newbie for RPGIV, I got a compile error with following source, so anyone can help me? thank you so much~
*RNF7030 30 001009 The name or indicator CARDNM2 is not defined.
*RNF7030 30 001010 The name or indicator CARDTP2 is not defined.
*RNF7030 30 001011 The name or indicator MONTH2 is not defined.
*RNF7515 30 001009 Move operands CARDNM and CARDNM2 have types that are not
compatible.
*RNF7515 30 001010 Move operands CARDTP and CARDTP2 have types that are not
compatible.
*RNF7515 30 001011 Move operands MONTH and MONTH2 have types that are not
compatible.
*RNF7030 30 3 The name or indicator is not defined.
*RNF7515 30 3 The move operation has operands that are not compatible.
I am a newbie for RPGIV, I got a compile error with following source, so anyone can help me? thank you so much~
*RNF7030 30 001009 The name or indicator CARDNM2 is not defined.
*RNF7030 30 001010 The name or indicator CARDTP2 is not defined.
*RNF7030 30 001011 The name or indicator MONTH2 is not defined.
*RNF7515 30 001009 Move operands CARDNM and CARDNM2 have types that are not
compatible.
*RNF7515 30 001010 Move operands CARDTP and CARDTP2 have types that are not
compatible.
*RNF7515 30 001011 Move operands MONTH and MONTH2 have types that are not
compatible.
*RNF7030 30 3 The name or indicator is not defined.
*RNF7515 30 3 The move operation has operands that are not compatible.
Code:
CARDF1 ---------- A UNIQUE A R CARDP1 A CARDNM 16S 0 COLHDG('CARD NUMBER') A CARDTP 2A COLHDG('CARD TYPE') A MONTH 6S 0 COLHDG('MONTH') A K CARDNM CARDF1A ------------ A UNIQUE A R CARDP1A A CARDNMA 16S 0 COLHDG('CARD NUMBER') A CARDTPA 2A COLHDG('CARD TYPE') A MONTHA 6S 0 COLHDG('MONTH') A K CARDNMA CARDF1B ----------- A UNIQUE A R CARDP1B A CARDNMB 16S 0 COLHDG('CARD NUMBER') A CARDTPB 2A COLHDG('CARD TYPE') A MONTHB 6S 0 COLHDG('MONTH') A K CARDNMB
Code:
0000.01 FCARDF1 IF E K DISK 0000.02 FCARDF1A IF E K DISK 0000.03 FCARDF1B O A E K DISK 0010.02 * FMT C CL0N01Factor1+++++++Opcode&ExtFactor2+++++++Result++++++++Len++D+HiLoEq. 0010.03 0010.04 C READ CARDF1 80 0010.05 C DOW *IN80 = *OFF 0010.06 C CARDNM SETLL CARDP1A 81 0010.07 C IF *IN81 = *ON 0010.08 C CARDNM CHAIN CARDP1A 82 0010.09 C IF *IN82 = *OFF 0010.10 C MOVE CARDNM CARDNM2 0010.11 C MOVE CARDTP CARDTP2 0010.12 C MOVE MONTH MONTH2 0010.13 C WRITE CARDP1B 0010.14 C ENDIF 0010.15 C ENDIF 0010.16 C SETOFF 8182 0010.17 C READ CARDF1 80 0010.18 C ENDDO 0010.19 * 0010.20 C EVAL *INLR = *ON 0017.00 C RETURN
Comment