I want to add 10 days in current date. how it is possible in
CL program...?
Answer Posted / nallurus
its a ADDDAT not ADDDATE
ADDDAT DAYS(10) TOVAR(&DATE)
| Is This Answer Correct ? | 3 Yes | 4 No |
Post New Answer View All Answers
how do I preserve and clean the array?
what is the use of sflnxtchg?
What is the purpose of record level identifier?
Interviewer asked me write down DDS for load all subfile .can anybody write dds
which program rpg or cl is efficent to update a transaction onto a database file and why ?
What is a record lock error?
What are the types of identifiers?
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?
what is an online rpg?
what is a rpg?
What is the difference between copybooks and subprocedures in as400?
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.
How can we override a file during runtime in rpg?
what happens when sflsiz = sflpag? What are the advantages and disadvantages?
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.