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

a input file contains 1000 records, how to move the first
500 record into one out put file and how to move to second
500 records to anothere output file

Answer Posted / saurabh gupta

using IDCAMS utility
//sysin DD*
REPRO -
INFILE(DD1) -
OUTFILE(DD2) -
COUNT(500) THIS IS FOR COPY FIRST 100 RECORDS
SKIP(500) IF WE WANT TO COPY ONLY 501 TO 1000 RECORDS
/*

Is This Answer Correct ?    2 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between the positional and keyword parameters? Give examples.

1266


Is their any set of rules for dd? Explain.

1194


Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?

1230


Explain how can a stopped job be started again?

1140


When you specify multiple datasets in a JOBLIB or STEPLIB, what factor determines the order?

1464


How can the disposition of sysout datasets be set for an entire jobstream?

1348


Explain the function of //jcllib statement?

1224


in ways data can be passed to a COBOL program from JCL?

1225


What parameter directs the output of the job log dataset?

1282


how to compare two datasets without using superce because output is limited to 133 bytes

2112


How to alter the parameters for the existing gdg?

1204


What is the format of comment statement?

1227


what operation is performed by job statement?

1130


In job processing, what happens in execution stage?

1205


write a jcl to execute a job by 7:00 am on jan 20,1986?

1114