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...

Hi Gurus,
I have 250 records in an internal table, tell me how to
randomly delete the each 5th record...i,e 5,10,15,20 like
this.

Answer Posted / kumar

data qqq;
input name $ total;
cards;
qq 22
ww 33
qq 22
ee 44
rr 33
ww 44
;
run;

data k;
set qqq;
if _N_ in(2 4) then delete;
run;
proc print;
run;

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to see the tables of 200 in client 100?

1901


what is user specific parameter?

2074


In which particular scenario we use sorted table and which particular scenario we use standard table?

1500


There is a delivery that is being created through the ABAP code and in the middle it says delivery created but someone is modifying , how would you rectify this issue

8614


What are data classes? What are the various data classes available for selection? : abap data dictionary

1031


What is the different type of projects? : sap abap hr

922


Can i know some of the Realtime tickets that anyone has been faced ?

2171


Where are you used type casting?

1367


What are the different modes of processing batch input sessions? : abap bdc

1229


What is meant by search help? : sap abap data dictionary

1200


Explain what is the significance of hide?

1106


What is Group by in Select statement?

1229


Explain the components of selection table?

1144


What are the layers of data description in r/3? : abap data dictionary

1131


Where do you code the hide statement?

1005