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

i have 1000 records in input file and i want to sort it and
the first 200 records to be placed in output file. how to
do that??

Answer Posted / msm

//SYSIN DD *
DEBUG ABEND
SORT FIELDS=(8,11,CH,A)
SORT FIELDS=COPY,STOPAFT=200
END

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain how can return codes be tested before execution of a job step?

1330


Is it possible to left uncode disp?

1207


a dd statement has 2 types of parameters. Name them?

1135


How do you create a temporary dataset?

1187


Explain the function of //cntl statement?

1173


What are the 4 fields in dd statement?

1275


how do you access an uncataloged dataset in a jcl?

1742


have in 100 records in a file i want to read first 3 records and skip next 3 records and agan i want to read 3 records and again i want to skip 3 records... run a loop from record one to 10 evaluate i/3 if comes even then skip else write to output file

1520


Is acct parameter mandatory?

1214


define cond parameter in jcl?

1275


What is catelog procedure and how many catelog procedure to use in one job?

8694


What statement can be used to send data to another mvs jes3 node?

1647


What are s0c1, s0c4, s0c5, s0c7 and socb?

1177


How to override a dsn that is contained in a proc called by another proc? I need to do the override in the calling jcl?

1162


whats the diff bw the evaluate also and and?

2344