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


Please Help Members By Posting Answers For Below Questions

What is difference between bind by copy and bind by reference?

1730


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

1295


How can we know running job is batch or interactive?

656


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


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.

755






what is kids-rpg?

667


What is a record lock error?

1267


How Chain operation copies the record's data to the input buffer for the program?

1082


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.

2051


What is the difference between iter and do?

676


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


What is the difference between copybooks and subprocedures in as400?

809


what is file information data structure?

1374


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.

2278


how can you display specific subfile page on the screen in unequal subfile?

675