1)how to do date validation in rpg?
2)how to delete dUPLICATE RECORDS?
Answers were Sorted based on User's Feedback
Answer / vilas
factor1 opcode factor2 result eq
key setll pf
reade pf 50
dow *in50=*off
delete rec1
reade pf 50
enddo
| Is This Answer Correct ? | 0 Yes | 3 No |
Answer / sumathi
For Date validation we can use TEST Opcode
Duplicate records can be deleted using RRN
| Is This Answer Correct ? | 4 Yes | 10 No |
Difference between RESET and CLEAR
A rpg or clp command to find if the file field is defined as a character or numeric field.
What is the difference between inner join @ outer join
What is SFLNXTCHG keyword why it has used and where? Briefly explain with Example.
there is any limit to display the members in rpg400?
1)how to do date validation in rpg? 2)how to delete dUPLICATE RECORDS?
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?
1.I have a Physical file with 100 records, No duplicates exists, all are Unique,But while i am running Runqry utility i am getting only 80 records..What could be the reason?
How can we override a file during runtime in RPG? Without using OVRDBF or calling a CL program
program to find the number of objects used in a given program through a display.
parameters cannot be passed in which one??
Why did we give STRSRVJOB while debugging batch program