difference betwen keywords and opcodes

Answers were Sorted based on User's Feedback



difference betwen keywords and opcodes..

Answer / syam

Keywords = Functions it is using in PF,LF,RLU,SDA
(Like..Check,Colhdg,Text,Datfmt,Edtcde)

Opcodes = Operation Code(Reserve Words) it is using in RPG
programs (Like..Move,Read,Write,Dsply,Chain,reade)

Is This Answer Correct ?    13 Yes 0 No

difference betwen keywords and opcodes..

Answer / guest

keywords are resevered words , but opcodes are operated
the logic of program

Is This Answer Correct ?    0 Yes 2 No

difference betwen keywords and opcodes..

Answer / sanjay

Keywords are used for creating the file source
(PF,LF,DSPF,PRTF) and
Opcodes are used for creating the program source for RPG

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More RPG400 Interview Questions

what is batch debug in as400?

3 Answers  


How to search particular records from the database file in rpg?

1 Answers  


how do u track msg in cl pgm???

1 Answers   CTS,


Setps to create .csv file on IFS folder in AS/400( V4R3)....?

3 Answers   TCS,


Maximum how many files declare in rpgle

3 Answers   TCS,






How to sort an array in descending in RPG

3 Answers   Google, TCS,


Delete FileName at first statement in RPG.

1 Answers  


How can we access Interactive job LDA in Batch Job?. and How we can access a file in interactive QTEMP lib in Batch job?.

4 Answers   IBM,


2. Which of the following statement(s) explains the difference(s) between the /INCLUDE and ICOPY directives? a.) No difference, they function the same b.) ACOPY cannot be used as a conditional directive c.) IINCLUDE files cannot contain embedded SQL d.) Nesting /TNCLUDE directives is not allowed

2 Answers   IBM,


can i use unique key in LF

3 Answers   TCS,


how to find whether a date format is valid or not in RPG400 not in RPGILE.Can you please write the coding for this sir,i'm new to AS400.Please help.

2 Answers   iGate,


I have a PF(ABC)with no key fields. PF(ABC)have 2 fields (cusno and cusname). Please let me know how can i read the cusno = 1150 directly from PF in CL and RPG program(Without creating the LF and without reading the complete file and then compare 1150)

3 Answers   Opus,


Categories