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
Explain how can a stopped job be started again?
Give the syntax of job specifying jcl statement.
Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?
I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?
Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?
hello friends ,i have exam in Hsbc,pls any on send me placement papers and technical questions on mainframes,thank u
Which statement is used to identify the private libraries in job?
What is the difference between the positional and keyword parameters? Give examples.
What is the function of a dd statement?
Is it possible to left uncode disp? If yes, how?
How can a jobs execution priority be modified?
What is condition checking in jcl? Is this possible?
When output dataset space is required, what quantity categories are used?
List the different jcl statements that are not permitted in the procedures?
What parameter directs the output of the job log dataset?