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

1.find most occurrences of a character. for exm: input:aaabbbbdddddyyy output: d 5 times how can i get that?

13 Answers   HCL,


without logical file we cannot access the data in physical file.but we specify physical file in the program(ie:- Ffile IF E k disk).how can it be accessed?

3 Answers   HSBC, TCS,


How do u design a physical file, when you have 2 Unique fields like for eg in A student file student ID and student examination no both are unique

0 Answers  


I want to add 10 days in current date. how it is possible in CL program...?

11 Answers   CSC,


Q:Hi all,i want accurate answer with code using in built functions.please sent me code as soon as posible. I have program nmed PGM1 which '' RETRIEVE Current production date''should correctly default the production date for the user who is issuing raw materials to the manufacturing.The production date can be different from the celendra date. However, the program does not make the correct adjustment for all manufacturing plants. there is a parameter which determines the production start time e.g. 07:00 if the system time precedes this,the program subtracts one from the celendra day.This work fine when the celendar day starts after production day as it does in England,the system should be adding one to the celendar day during the overlap. unfortunately the program was desined to assumed the celendar day always starts before the production day. Change required in the program: Change the PROGRAM PGM1 to use the new parrameter to decide whether to add or subtract 1 from the celendar day when determining the production date.

0 Answers   TCS,






In ProgramB there is a SBMJOB, which is a call to program C .There is also a CALL to program D from B. How would you check the program C has been executed in D?

4 Answers  


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

2 Answers  


How can we make use of SETLL operation in CL?

11 Answers  


How can you determine the number of characters in a variable?

3 Answers  


1. If there are two programs using same file and 2 users are using the file at the same time and what can be done to allow them both to access? 2. How can remove lock from the file for accessing it by both users?

0 Answers  


How to handle duplicate error handling in RPG?

0 Answers  


what r drawbacks of OPM? Why do we go for ILE RPG?

1 Answers  


Categories