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 / bvr

THIS IS FOR COPY FIRST 500 RECORDS
using IDCAMS utility
//sysin DD*
REPRO -
INFILE(DD1) -
OUTFILE(DD2) -
COUNT(500) THIS IS FOR COPY FIRST 100 RECORDS
/*

THIS IS FOR COPY next 100 RECORDS
using IDCAMS utility
//sysin DD*
REPRO -
INFILE(DD1) -
OUTFILE(DD2) -
skip(500) -
COUNT(500)
/*

Is This Answer Correct ?    16 Yes 4 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?

1145


Give the syntax of job specifying jcl statement.

1155


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

1235


I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?

1850


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

1124


hello friends ,i have exam in Hsbc,pls any on send me placement papers and technical questions on mainframes,thank u

2149


Which statement is used to identify the private libraries in job?

1197


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

1274


What is the function of a dd statement?

1218


Is it possible to left uncode disp? If yes, how?

1197


How can a jobs execution priority be modified?

1302


What is condition checking in jcl? Is this possible?

1125


When output dataset space is required, what quantity categories are used?

1369


List the different jcl statements that are not permitted in the procedures?

1087


What parameter directs the output of the job log dataset?

1285