RPG Vs RPGLE
3 posters
Page 1 of 1
RPG Vs RPGLE
Hi,
The below are the statements in RPG as well as in RPGLE
PGM1_RPG:
0001 I ‘2’ C VAR1
0002 C *like Defn *INLR VAR2
0003 C Move VAR1 VAR2
PGM1_RPGLE:
0001 D ‘2’ C VAR1
0002 C *like Define *INLR VAR2
0003 C Move VAR1 VAR2
Q1: Above these 2 pgms are compiled or not?
Q2: If any one compile give me the reason of compilation
Q3: If not compiled give the reason for not compiled.
The below are the statements in RPG as well as in RPGLE
PGM1_RPG:
0001 I ‘2’ C VAR1
0002 C *like Defn *INLR VAR2
0003 C Move VAR1 VAR2
PGM1_RPGLE:
0001 D ‘2’ C VAR1
0002 C *like Define *INLR VAR2
0003 C Move VAR1 VAR2
Q1: Above these 2 pgms are compiled or not?
Q2: If any one compile give me the reason of compilation
Q3: If not compiled give the reason for not compiled.
razuk_r- Posts : 65
Join date : 2009-07-31
Location : Chennai
Not compiled
because the the seton (*inlr) indicator it should be either on (or)off which means '0' (or) '1'.
muthuraman- Posts : 42
Join date : 2009-08-28
Not compiled.
Muthu, I am not able to understand your reply
Pls mention which one is complied and which is not and why?.
Pls mention which one is complied and which is not and why?.
razuk_r- Posts : 65
Join date : 2009-07-31
Location : Chennai
Rpgle
The Rpgile pgm does not supports the MOVE opcodes. So The Rpg Ile pgm will not get compiled..
swaminathan- Posts : 12
Join date : 2009-07-30
Rpgile pgm does not supports the MOVE opcodes
Hi Swaminathan,
RPGILE supports MOVE opcode. Pls check again.
RPGILE supports MOVE opcode. Pls check again.
razuk_r- Posts : 65
Join date : 2009-07-31
Location : Chennai
Re: RPG Vs RPGLE
Razuk,
Both two programms were not conpiled.because the value of VAR2 is '2' for both programms.The seton (*inlr) indicator it should be either on (or)off which means '0' (or) '1'.
but the above programms the value for *inlr is '2'.so both two programms were not compiled.
Both two programms were not conpiled.because the value of VAR2 is '2' for both programms.The seton (*inlr) indicator it should be either on (or)off which means '0' (or) '1'.
but the above programms the value for *inlr is '2'.so both two programms were not compiled.
muthuraman- Posts : 42
Join date : 2009-08-28
Both two programms were not conpiled
Muthu,
I am sure you are wrong. Pls check again.
I am sure you are wrong. Pls check again.
razuk_r- Posts : 65
Join date : 2009-07-31
Location : Chennai
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|