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

Suppose i have a file with 10 recs and i want to skip only the
7 th record and copy the rest into another file. How do i do
it using SORT?

Answer Posted / ananth

srot fields = copy

stopaft=6


next we have to give another step by using disp=(mod,delete,delete)

skiprec=7
stopaft=4

then 7th record gone remainging records into output file.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain how can a stopped job be started again?

1079


Explain the purpose of dd dummy statement?

1159


What is the purpose of dd?

1186


what happens when COND is coded in JOB statement and when COND is coded inside EXEC statement?

1234


Explain how can a jobs execution priority be modified?

1146


Explain how can the attributes of one sms dataset be copied to another dataset?

1156


Can we use DISP=SHR in output file in JCL

1364


How to alter the parameters for the existing gdg?

1136


Can anybody tell what is tool used to generate the list of PROCS used in JCL to generate a PROCTREE

2406


I need exexution process for JCL programs

2225


For what purpose steplib and joblib are used ?

1074


When space is allocated for an output dataset, what units can be used?

1201


How dummy is used in jcl?

1078


what is SOC4 error?

1158


What is use of restart and how to use it?

1264