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?

Answer Posted / madhusudhan

1. Date Validation you can do with TESTD

2. Duplicate Records. There are two ways to delete this
a. Through SQL, after selecting the RRN numbers, you can
use the delete statement in SQL to delete the unwanted
record based on the RRN
b. Through RPG, but if you use the SETLL and READE, all
the records along with the duplicates will get deleted , so
you need to use one variable for count, once it reaches 1 ,
stop doing the delete.

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

is this a rpg channel?

1118


What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?

2941


What is the difference between iter and do?

1147


do you use message subfiles? What are the necessary keywords required coding a message subfile?

1073


what is *place and *auto keyword in prtf ?plz explain

3092


how can you display specific subfile page on the screen in unequal subfile?

1077


how do I declare a minor?

1103


what is an online rpg?

1194


how do you use commitment control in rpg?

1222


Assume 2 users are using the same file and first user updates some record in the file. Will the 2nd user will be able to see the updated record or not?

881


Explain mdt?

1065


what are the key words you must use when using a subfile?

1096


what happens when sflsiz = sflpag? What are the advantages and disadvantages?

1122


which program rpg or cl is efficent to update a transaction onto a database file and why ?

1191


When we have a file with Duplicate records and I want to read the unique record from the file. For example a file containing Emp Name as 'Ram' and there are 3 entries of it. So how to read a unique record from File?

894