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

What are the organizational related infotypes? : abap hr

1120


What is the difference between sum and collect?

1490


What will you code in start-of-selection & end-of-selection ?

1020


how to capture the errors in bdc Call transaction method?

1008


What is the diffreence between bdc_close_group and bdc_close_dataset? : abap bdc

1117


Explain what is an rdbms?

979


How to write a code in tab control? : abap bdc

1092


How you attach search help to data element? : sap abap data dictionary

1086


Can a constructor be declared private? If yes then in which scenario?

1348


What are the arithmetic operators in the sap abap?

1028


What is a subroutine?

1006


Where can you find error log for call transaction? : abap bdc

1197


What is the function of a domain? : abap data dictionary

957


in bdcsome times we get the ok code for "enter" wrongly instead of '/00'.what is the reason.how we can exceed this problem.

2196


What is the use of 'table index'?

1050