Answer Posted / ravi
In JCL , we can concatenate different files by giving their
name one after another. All data sets concated must be of
the same type. For example,
1)partitioned data sets can be concatenated only with
partitioned data sets.
2)Record format should be same
3) All the files should on same device (like DASD, Tape)
4) File having largest BLKSIZE should be mentioned first
Maximum of 255 sequential data sets can be concatenated
Maximum of 16 partitioned data sets can be concatenated
Example JCL --> //MYJOB JOB (W345),'XXX'
//STEP1 EXEC PGM=COBPROG
//INFILE DD DSN=TEST.GLOB.FILE1
// DSN=TEST.GLOB.FILE2
// DSN=TEST.GLOB.FILE3
In program , we will read it as an single file.
concatination of three files done by operating system.
| Is This Answer Correct ? | 12 Yes | 0 No |
Post New Answer View All Answers
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 you can access an uncataloged dataset in a JCL?
What are the parameter we cannot use in procedure?
What is the purpose of disp parameter?
Explain the function of //jcllib statement?
Can anybody tell what is tool used to generate the list of PROCS used in JCL to generate a PROCTREE
hello friends ,i have exam in Hsbc,pls any on send me placement papers and technical questions on mainframes,thank u
When The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?
What is the purpose of dd dummy statement?
how JCL works?
how would you create a temporary dataset? And where will you use them?
//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 /*
What is the function of the dd dcb keyword?
Is condition checking possible in jcl? If yes, how?
Explain how can the attributes of one sms dataset be copied to another dataset?