Answer Posted / pkb
It is possible to process more than one data set as a single data set by concatenating the DD statements.
//QSAM0080 DD DSN=SIMOTIME.DATA.FILE0001,DISP=SHR
// DD DSN=SIMOTIME.DATA.FILE0002,DISP=SHR
// DD DSN=SIMOTIME.DATA.FILE0003,DISP=SHR
The following is an example of a COBOL SELECT statement.
here the COBOL program will read QSAM0080 and the DD statements will map the three files (FILE0001, FILE0002 and FILE0003) as one file. The program's initial read will get the first record from FILE0001 and will not get an End-of-File condition until the last record of FILE0003 is processed.
Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
Explain the function of a dd statement?
Does jcl support automatic restart?
How to do automated restart when a job abend?
What is the purpose of dd?
if we want to use a gdg which is already created by some job, then how to use the reference of the last generation in a jcl?
How can unused space allocation be returned to the system when a dataset is closed?
if the submitter of a job wants to inform another user about the job completion, how can it be done?
how to do automated restart when a job abends?
what is use of dcb parameter in dd statement?
What is the difference between the positional and keyword parameters? Give examples.
why should SYSIN DD * statement should not be included inside a PROCedure snippet??? please answer this.. i need to know.
How to resolve the error "WER488A JOIN CAPACITY EXCEEDED" I am using SYNCSORT with JOINKEYS to compare 2 files. I am Getting error - > WER488A JOIN CAPACITY EXCEEDED There are 2 files to be compared with about 2 million records each. LRECL is 3665. Can somebody give a pointer as to how to resolve this problem? I am using SYNCSORT with JOINKEYS to compare 2 files. I am Getting error - > WER488A JOIN CAPACITY EXCEEDED There are 2 files to be compared with about 2 million records each. LRECL is 3665. Can somebody give a pointer as to how to resolve this problem?
How would you understand error(execution phase)?
Mention the types of job control statements?
Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?