PMS Information Systems
Welcome to PMS Information Systems - IBM i (AS/400) Forum !!!

Get Answers for all your queries on IBM i (AS/400).

RPG Vs RPGLE

View previous topic View next topic Go down

RPG Vs RPGLE

Post  razuk_r on Wed Sep 02, 2009 6:34 pm

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.

razuk_r

Posts : 65
Join date : 2009-07-31
Location : Chennai

View user profile

Back to top Go down

Not compiled

Post  muthuraman on Tue Sep 22, 2009 2:10 pm

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

View user profile

Back to top Go down

Not compiled.

Post  razuk_r on Wed Sep 23, 2009 1:34 pm

Muthu, I am not able to understand your reply Smile

Pls mention which one is complied and which is not and why?.

razuk_r

Posts : 65
Join date : 2009-07-31
Location : Chennai

View user profile

Back to top Go down

Rpgle

Post  swaminathan on Thu Sep 24, 2009 11:24 am

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

View user profile

Back to top Go down

Rpgile pgm does not supports the MOVE opcodes

Post  razuk_r on Thu Sep 24, 2009 6:40 pm

Hi Swaminathan,

RPGILE supports MOVE opcode. Pls check again.

razuk_r

Posts : 65
Join date : 2009-07-31
Location : Chennai

View user profile

Back to top Go down

Re: RPG Vs RPGLE

Post  muthuraman on Fri Sep 25, 2009 4:42 pm

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.

muthuraman

Posts : 42
Join date : 2009-08-28

View user profile

Back to top Go down

Both two programms were not conpiled

Post  razuk_r on Fri Sep 25, 2009 6:05 pm

Muthu,
I am sure you are wrong. Pls check again. Smile

razuk_r

Posts : 65
Join date : 2009-07-31
Location : Chennai

View user profile

Back to top Go down

Re: RPG Vs RPGLE

Post  Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum