1.Are there any errors in the following statement?If so
then list them.DTAARA is a data area having a field EMP #
and EMPNO is a
field in the file EMPPF.Which has one record.
READ EMPPF
IF %FOUND(EMPPF)
IN DTAARA
EVAL EMP#=EMPNO
OUT DTAARA
ENDIF
Answer Posted / gagandeep kaur
%found is always used with Chain opcode
Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
what is the rpg system?
How to create a login screen using a command instead of display file.... intention is to get a password field on a command..... how do you achieve this...
Assume 2 users are using the same file and first user updates some record in the file. Will the 2nd user will be able to see the updated record or not?
are there any useful c runtime apis that I can call from rpg iv?
how do I declare a table or array in rpg iv?
if there is a module object , how to find the program object for this module object.Assume the module object name and program object name is not same.
What are the types of identifiers?
Explain mdt?
How can we know running job is batch or interactive?
what is an online rpg?
what do you mean by an input subfile, what are the keywords required?
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
How to call one program from another program in RPG? please help me with the code
How to select highest score of each subject or how to select highest income of every month?
what is data area and how it is used in rpg program ?