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 / abhishek
Sorry forgot to put * before data area.
READ EMPPF
IF %FOUND(EMPPF)
*LOCK IN *DTAARA
EVAL EMP#=EMPNO
OUT *DTAARA
ENDIF
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
what do you mean by an input subfile, what are the keywords required?
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
what is the procedure and explain about real time scenario.
what is file information data structure?
How to select highest score of each subject or how to select highest income of every month?
what is the use of sflnxtchg?
what happens when sflsiz = sflpag? What are the advantages and disadvantages?
What is the difference between copybooks and subprocedures in as400?
give an eg of ACQ-(ACQUIRE),BIT OFF,BIT ON,DEALLOC,DUMP,FEOD,FORCE,MHHZO,MHLZO,MHLLZO,MLHZO,REL,RESET,TESTZ,TESTB,TESTN----GIVE SMALL EXAMPLE TO THE OPCODES...TO UNDERSTAND FUNCTIONING...........
How can we know running job is batch or interactive?
When it is desirable to describe files Internally?
what is the difference between do while and do until?
which program rpg or cl is efficent to update a transaction onto a database file and why ?
Interviewer asked me write down DDS for load all subfile .can anybody write dds
how can you display specific subfile page on the screen in unequal subfile?