i have a file with the values 10, 20, 30, 40, if am setll with
the value 25 then readp, so what it will return?
Answer Posted / kumar
The Answer is 20.
This is the code I tried and the answer is 20
FEmpLF1 if E K Disk
c move 25 EMPID
C EMPID SETLL Emprec
C READp Emprec
C *IN80 IFEQ *OFF
C EMPID DSPLY
c endif
c eval *INLR = *ON
| Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
how can you display specific subfile page on the screen in unequal subfile?
What is the difference between iter and do?
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.
When we have a file with Duplicate records and I want to read the unique record from the file. For example a file containing Emp Name as 'Ram' and there are 3 entries of it. So how to read a unique record from File?
How to define data area in RPG program? In which scenario multi occurrence DS is use in AS400?
what is file information data structure?
Interviewer asked me write down DDS for load all subfile .can anybody write dds
what is the use of sflnxtchg?
How to handle duplicate error handling in RPG?
How would display prime numbers using CL 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
which program rpg or cl is efficent to update a transaction onto a database file and why ?
can you debug ile rpg program using isdb?
How can we know running job is batch or interactive?
what is the procedure and explain about real time scenario.