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 / shubhanshu sharma

//SORT01 DD DSN = PDS,
DISP = (NEW,CATALOG,DELETE),
DCB = (RECFM = F, LRECL = 80, BLKSIZE = 800),
UNIT = SYSDA,
VOL = WRKA97
SPACE = (CYL,(1,4),RLSE)

//SORTIN DD*
SORTFIELD = COPY,
SKIPREC = 100,
STOPREC = 80.
/*
SKIPREC means how many records we need to skip
STOPAFT means how many records we need to put in the
file.

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

In sms datasets, what is the function of the dd avgrec keyword?

1082


Brief description of inline procedure of jcl.

1233


Is it possible to left uncode disp?

1190


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

1239


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

2432


How to compare two files in SYNCSORT and on the mismatch record should be deleted from second file.

5521


What is the significance of addrspc parameter in the exec statement?

1056


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?

1140


Can we call instream to catalog and catalog to instream?

1121


What parameter of the job statement is used to limit the cpu time consumed by the job?

1263


How do you submit a job for execution?

1096


what are the types of abends that occur on job failure? And explain the possible causes of these

1599


What is the syntax of JCL statement?

1212


How do you access an uncatalogued dataset in a jcl?

1205


Explain the job statement in jcl?

1147