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 / amitava
First of all, %found() function is not set after the READ
operation. If not %eof() can be used instead.
Is This Answer Correct ? | 8 Yes | 3 No |
Post New Answer View All Answers
what is file information data structure?
How Chain operation copies the record's data to the input buffer for the program?
can I touch the array during treatments?
1. What is bound-by-call and bound-by-reference? 2. Where and why is *Nomain used? 3. What are the difficulties faced by programmers when using service programs? 4. Explain the different ways of parsing and compiling XML in iSeries.
what is *place and *auto keyword in prtf ?plz explain
We have job which is running as batch. It takes atleast 06 hours to complete tht job. But I wanna do tht job with in 3 hours?
How would display prime numbers using CL program?
how can you display specific subfile page on the screen in unequal subfile?
what is data area and how it is used in rpg program ?
write an RPG program to calculate the marks of 5 students (A,B, C, D, E)in 3 different subjects (eng, math, sci) an display on the screen
How can we know running job is batch or interactive?
how do I play {insert rpg system here}?
can any one help in hawkeye and turnover or any change management system plzzzzz or send the documents to my mail id :gvsp.as4@gmail.com
Explain mdt?
What are the types of identifiers?