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


Please Help Members By Posting Answers For Below Questions

what is the rpg system?

668


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...

1312


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?

517


are there any useful c runtime apis that I can call from rpg iv?

700


how do I declare a table or array in rpg iv?

737






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.

2199


What are the types of identifiers?

572


Explain mdt?

665


How can we know running job is batch or interactive?

656


what is an online rpg?

729


what do you mean by an input subfile, what are the keywords required?

773


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

548


How to call one program from another program in RPG? please help me with the code

1260


How to select highest score of each subject or how to select highest income of every month?

1295


what is data area and how it is used in rpg program ?

756