explain concatinating datasets?
Answer / 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 |
Using DELETE what type of file can you delete? a)SEQUENTIAL FILE B)INDEXED FILE C) D) Some options were there..i cant remember
The maximum number of in-stream procedure you can code in any JCL is ?
what is static and dynamic call with examples?
What happens if both JOBLIB & STEPLIB is specified ?
On the DD statement, what is the main difference between creating a new sequential flat file and a partitioned dataset?
how can u identify the db2 from jcl ?
wht happens if blksize = 0 and lrec = 0 ?
What is the meaning of keyword in JCL? What is its opposite?
Explain in DD statement what is the use of DCB parameter?
What is a Generation Data Group (GDG)?
if in a job, region is mentioned in both jobcard and in step then which is cosidered at the step level? A job has region 4k in jobcard and step1 with region 0k and step2 with 16k, then what is the region allocated for the entire job? what is the region step1 takes? what is the region step2 takes?
once we submitted the job to the operating system, how can we cancel the job before execution?