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

What is the purpose of dd dummy statement?

1406


How is a type of file defined in the jcl that executes the cobol program?

1144


Is it possible to define dd statements as you want?

1066


Explain the purpose of dd dummy statement?

1162


what happens in execution stage in job processing?

1089


What statement marks the beginning of an in-stream or cataloged procedure in jcl and assigns default values to parameters defined in the procedure?

1250


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

1159


if we want to use a gdg which is already created by some job, then how to use the reference of the last generation in a jcl?

2222


Can I send output of job to my remote device careerride123?

1082


by using cond parameter maximum 8 cond can be coded in single cond means ?explain

1399


Explain how can a jobs execution priority be modified?

1149


what is the JCL statement consists of?

1124


a set statement is used to define commonly used symbolic across job steps or procedures. It initializes the previous values in the symbolic names. It has to be defined before the first use of the symbolic names in the jcl. State whether true or false?

1029


Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?

1059


If a (+1) generation dataset is created in the first step of a job, how can it be referenced in later steps of the same job for input?

1253