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


Please Help Members By Posting Answers For Below Questions

How to call one program from another program in RPG? please help me with the code

1260


can I touch the array during treatments?

756


What are the types of identifiers?

570


1. What is bound-by-call and bound-by-reference? 2. Where and why is *Nomain used? 3. What are the difficulties faced by programmers when using service programs? 4. Explain the different ways of parsing and compiling XML in iSeries.

5405


is this a rpg channel?

679






What is the difference between iter and do?

674


what is *place and *auto keyword in prtf ?plz explain

2724


How do u design a physical file, when you have 2 Unique fields like for eg in A student file student ID and student examination no both are unique

548


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

673


If my rpg program has a date field, what extra care I have to take while compiling that rpg program? 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?

616


what was the robotech rpg?

684


what is program status data structure?

1387


How to declare the pull button in AS/400..

1879


what is an online rpg?

725


do you use message subfiles? What are the necessary keywords required coding a message subfile?

687