1)how to do date validation in rpg?
2)how to delete dUPLICATE RECORDS?
Answer Posted / chandu
We can delete duplicate records by using this:
factor1 opcode factor2 result eq
key setll pf
reade pf 50
dow *in50=*off
delete rec1
reade pf 50
enddo
Is This Answer Correct ? | 4 Yes | 4 No |
Post New Answer View All Answers
thanks mr.Harshad R Suryawaunshi,i'm new to as400 i think you are telling in rpgile i know only rpg400 if possible can you tell in rpg400
what was the robotech rpg?
what is the necessary keyword needed to scroll subfile records?
can you debug ile rpg program using isdb?
Program to read marks of 10 students for 4 subjects and compute and display total marks and status of each student in rpg
are there any useful c runtime apis that I can call from rpg iv?
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 can we know running job is batch or interactive?
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?
How to handle duplicate error handling in RPG?
how do I declare a minor?
How to create a login screen using a command instead of display file.... intention is to get a password field on a command..... how do you achieve this...
how do you use commitment control in rpg?
How to call one program from another program in RPG? please help me with the code
What is the difference between iter and do?