If the last record of a file has been read, and the next
operation on that file is a READ operation, what will be
the values of the input fields for that file?
A. They will be blank and/or zero.
B. They will be null.
C. They will equal the values of the first record in the
file.
D. They will equal the values of the last record read.
Answer Posted / zahid
Option D is your answer.
| Is This Answer Correct ? | 17 Yes | 2 No |
Post New Answer View All Answers
How to create a login screen using a command instead of display file.... intention is to get a password field on a command..... how do you achieve this...
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
How to handle duplicate error handling in RPG?
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 does the rpg element work?
How can we override a file during runtime in rpg?
what is the use of sflnxtchg?
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?
is this a rpg channel?
what are the key words you must use when using a subfile?
how do I preserve and clean the array?
Suppose we have one database file and it is used by 5 programs and in 3 program we have to add some records in datbase file s what is the impact on other program?
How to call one program from another program in RPG? please help me with the code
can I touch the array during treatments?