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

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

Join the forum, it's quick and easy

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

Get Answers for all your queries on IBM i (AS/400).
PMS Information Systems
Would you like to react to this message? Create an account in a few clicks or log in to continue.

RPG Vs RPGLE

3 posters

Go down

RPG Vs RPGLE Empty RPG Vs RPGLE

Post  razuk_r 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

Back to top Go down

RPG Vs RPGLE Empty Not compiled

Post  muthuraman 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

Back to top Go down

RPG Vs RPGLE Empty Not compiled.

Post  razuk_r 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

Back to top Go down

RPG Vs RPGLE Empty Rpgle

Post  swaminathan 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

Back to top Go down

RPG Vs RPGLE Empty Rpgile pgm does not supports the MOVE opcodes

Post  razuk_r 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

Back to top Go down

RPG Vs RPGLE Empty Re: RPG Vs RPGLE

Post  muthuraman 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

Back to top Go down

RPG Vs RPGLE Empty Both two programms were not conpiled

Post  razuk_r 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

Back to top Go down

RPG Vs RPGLE Empty Re: RPG Vs RPGLE

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

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