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 ? | 15 Yes | 4 No |
Post New Answer View All Answers
I need exexution process for JCL programs
how do you access an uncataloged dataset in a jcl?
What is the purpose of dd * statement in jcl?
what is DSN parameter and DISP parameter is used for?
//S10 EXEC PGM=ICETOOL //TOOLMSG DD SYSOUT=* //DFSMSG DD SYSOUT=* //CON DD DSN=VAR.INPUT1,DISP=SHR // DD DSN=VAR.INPUT2,DISP=SHR //OUT DD DSN=VAR.OUTPUT,DISP=(NEW,CATLG,DELETE), // SPACE=(CYL,(5,5)),UNIT=SYSDA //TOOLIN DD * * Splice the needed data from the two VB files together SPLICE FROM(CON) TO(OUT) ON(5,5,CH) WITHALL - WITH(12,5) WITH(22,20) VLENMAX /*
Explain dd statement in jcl?
When The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?
how would you create a temporary dataset? And where will you use them?
How can the attributes of one sms dataset be copied to another dataset?
how can a gdg base be created in a jcl. What is the difference between empty and scratch parameter while defining/altering gdg base?
how do you create a dataset in a jcl with the same file organisation as that of another existing dataset?
Brief description of inline procedure of jcl.
Explain how can the disposition of sysout datasets be set for an entire jobstream?
How does the jcl specify the job to os?
what JCL Procedures?