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

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

669


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

1118


Explain the function of //cntl statement?

659


Name the parameters which can be used to limit the number of records written to a sysout dataset?

654


Can we use DISP=SHR in output file in JCL

953






Explain dfsort utility?

674


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

654


Explain about LMQUERY�give a dialog information about a data set

904


what disp parameter we mention for creation of temporary dataset so that we can use it in later steps?

657


Define concatenating?

667


Give the syntax of job specifying jcl statement.

640


A dd statement consists of 4 fields. Name them?

932


When space is allocated for an output dataset, what units can be used?

751


Why include statement is used in a jcl?

690


define cond parameter in jcl?

777