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?
Answers were Sorted based on User's Feedback
Answer / praveen ravuri
we have mention to the 'k' field in the f spec
Is This Answer Correct ? | 10 Yes | 1 No |
Answer / 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 |
Answer / arvind
format of variable, length of variable should be date and sep(-/).should be define
extra key "A"
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / vivek
Program actually works when we not use K IN F SPEC. have tested then posted
Is This Answer Correct ? | 0 Yes | 0 No |
difference betwen keywords and opcodes
there is any limit to display the members in rpg400?
How can i keyed a flat file in RPGLE
difference between CHAIN and READE?
Suppose we add one field in physical file and this physical file is used by several programs.how do we know which program is using that file? What are the impact analysis.
1.Can any body share me about thease opcodes with example please.Im new for AS/400.Could u please tell me in real senario? 1.TESTN, 2.EVAL 3.EVALR, TIME, 4.MONITOR 5. ENDMON 6.ON-ERROR 7.COMMIT ROLLBACK?
How to code Page up and Page down in RPG for Single page subfile without using ROLLUP/ROLLDOWN in DSPF ?
i want code and what are used key words are ...like wrkmbrpdm screen (q) i have a file with 3 fields empno,empname,empaddr... here you give the empno it displays from that number to remaining empno's how? sub file screen: employee details pos to:empno then enter empno empname empaddr so file have 100 records from 1 to 100 so the above pos you give the 55 empno...it displays the from 55 to remaining... ...... please share this answel
RPG/400 faqs?
Hi, I am getting the error in RPG (All Record Formats for externally-described file ABCD ignored or dropped due to error; file ignored.) Please suggest any
I want to declare the number of elements of an array dynamically in RPGLE ? Is it possible? If yes, then how do I do it ?
purpose of pannel group??/