Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


1)how to do date validation in rpg?
2)how to delete dUPLICATE RECORDS?

Answers were Sorted based on User's Feedback



1)how to do date validation in rpg? 2)how to delete dUPLICATE RECORDS?..

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

1)how to do date validation in rpg? 2)how to delete dUPLICATE RECORDS?..

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

Post New Answer

More RPG400 Interview Questions

Difference between RESET and CLEAR

1 Answers   TCS,


A rpg or clp command to find if the file field is defined as a character or numeric field.

1 Answers   IBM,


What is the difference between inner join @ outer join

4 Answers  


What is SFLNXTCHG keyword why it has used and where? Briefly explain with Example.

2 Answers   IBM,


there is any limit to display the members in rpg400?

3 Answers  


1)how to do date validation in rpg? 2)how to delete dUPLICATE RECORDS?

12 Answers   IBM, Opus,


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?

0 Answers  


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?

3 Answers   Cap Gemini,


How can we override a file during runtime in RPG? Without using OVRDBF or calling a CL program

1 Answers   UST,


program to find the number of objects used in a given program through a display.

2 Answers   IBM,


parameters cannot be passed in which one??

2 Answers   CTS,


Why did we give STRSRVJOB while debugging batch program

3 Answers   HBL Power Systems,


Categories