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 / shishir
in f specification may b you forget to define "record address type" = 'k' bcoz in chain searching of data can only b possible through key field ( key is madatory in chain operation )
Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What is file identifier where we can use?
what is data area and how it is used in rpg program ?
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?
What is ment by record level identifier?
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.
How to handle duplicate error handling in RPG?
what is file information data structure?
what happens when sflsiz = sflpag? What are the advantages and disadvantages?
When it is desirable to describe files Internally?
how do I declare a table or array in rpg iv?
What is the purpose of record level identifier?
what is the difference between do while and do until?
is this a rpg channel?
how does the rpg element work?
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?