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 difference between bind by copy and bind by reference?
How to select highest score of each subject or how to select highest income of every month?
How can we know running job is batch or interactive?
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.
during execution, an rpg/400 program automatically follows a sequence of operations for each record that is processed. The built-in program cycle includes the following logical steps.
what is kids-rpg?
What is a record lock error?
How Chain operation copies the record's data to the input buffer for the program?
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.
What is the difference between iter and do?
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?
What is the difference between copybooks and subprocedures in as400?
what is file information data structure?
can anybody help me to solve this problem. the program that i m checking display error message saying "Record format for file AJDSPFFD does not match model file and decimal error. how to solve this problem. The AJDSPFFD is snapshot the AJTLOG that is the audit trail list.
how can you display specific subfile page on the screen in unequal subfile?