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 / syam
IN *DTAARA
OUT *DTAARA
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
what is data area and how it is used in rpg program ?
what are the key words you must use when using a subfile?
What is difference between bind by copy and bind by reference?
Program to read marks of 10 students for 4 subjects and compute and display total marks and status of each student in rpg
which program rpg or cl is efficent to update a transaction onto a database file and why ?
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?
How can we override a file during runtime in rpg?
What is the purpose of record level identifier?
Interviewer asked me write down DDS for load all subfile .can anybody write dds
How to declare the pull button in AS/400..
Set on command is used for closed all opened files , initialize var and release resource , return cmd is used for return to calling program but my req. Is dnt close opened files and resource must released while doing transactions , how can i do this...?
what is an online rpg?
what was the robotech rpg?
Please tell me how to read the records from a file with load an array of size with error conditions(The logic answer for this question is ARR is array of 99 elements Z-ADD 0 IDX *LOVAL SETLL FILE READ FILE 99 *IN99 DOWEQ *OFF IDX ANDLT 99 ADD 1 IDX MOVE FIELD ARR,IDX READ FILE 99 ENDDO).So,Please give me the complete of this code.
thanks mr.Harshad R Suryawaunshi,i'm new to as400 i think you are telling in rpgile i know only rpg400 if possible can you tell in rpg400