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

how to split a file

Answer Posted / kalpana

Using the sort card we can split the file.
//SYSIN DD *
SORT FIELDS=COPY,SKIPREC=56910,STOPAFT=25
/*
SKIPREC means how many records we need to skip and STOPAFT
means how many records we need to put in the
file.

Is This Answer Correct ?    5 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is concatenating?

1086


Explain the purpose of dd dummy statement?

1223


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

1265


What is jcl in mainframe, and how many types of jcl statements are there for a job?

1197


Suppose there are 2 Input files Infile-1 and Infile-2. Both the Files contain Employee Records. You need to compare both the files and Write the Common Records in third file named Outfile. How can we do this using File-Aid?

2761


i want to store 20 digits . how will u do it in cobol ?

1422


which parameter is use to declare the name of dataset in dd statement?

1272


what are the statements that are not valid to be included in an include statement?

1392


How do you create a temporary dataset?

1190


I want to join to input files and write the matching fields on to an output file but i dont want the output file a sorted one

2449


What are the 2 types of parameters in dd statement?

1159


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

1093


What is the purpose of disp parameter?

1131


How to execute 2nd and 4th steps among 5 steps in jcl proc?

1327


What is the function of the steplib dd statement?

1206