1. If my rpg program has a date field, What extra care I
have to take while compiling that RPG program?
2. If the file is keyed and I have declared the file as well
as Key list properly in my program. Still am getting an
error message like "Chain/reade operation is not allowed"
What may be the case?
Answer Posted / murali
Compile the pgm with CVTOPT *DATETIME. This will allow dates lesser than 01/01/1940.
Record address type shud be K to tell the compiler to access the file in keyed sequence.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
what is an online rpg?
how do you use commitment control in rpg?
can I touch the array during treatments?
how can I tell when to replace the array?
How to declare the pull button in AS/400..
what is the use of sflnxtchg?
What is the purpose of record level identifier?
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
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 data area and how it is used in rpg program ?
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 difference between bind by copy and bind by reference?
We have job which is running as batch. It takes atleast 06 hours to complete tht job. But I wanna do tht job with in 3 hours?
what is file information data structure?
What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?