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 |
What is the difference between copybooks and subprocedures in as400?
The PGMA calls PGMB.PGMB generates a report.The report should contain the called program name(PGMA).How do i get the called program name in PGMB to print it on the spool file?(calling program name should NOT be hard coded or passed as parameter to called program?
How to search particular records from the database file in rpg?
Errors in Sql query will be in which state?
i have a file with the values 10, 20, 30, 40, if am setll with the value 25 then readp, so what it will return?
IN RLU what are the record level keyword is used?
Hi Viewers can any body explain me how to update and ahange the already existed data in physical file using subfile ? please explain me with the code if possible?
Why there is invention of RPG if we can do insert update delete in CL through SQL.Why the rise of RPG?
1.What is the Maximum field length we can declare in RLU?? 2. What is the difference if your designing RLU using DDS and using the option 19 for the RLU??
can we use cl programming to update or delete physical files
Anyone help me for the below question:- If problem/error occur in *PSSR subroutine,how should I handel it in RPG program.
suppose there are 100 records and i want to read records between 60-70 how we can read this 10 records in rpg