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
Is it possible to define dd statements as you want?
Differentiate between addressing mode and run mode.
a set statement is used to define commonly used symbolic across job steps or procedures. It initializes the previous values in the symbolic names. It has to be defined before the first use of the symbolic names in the jcl. State whether true or false?
How to submit a jcl from cics?
What is the significance of addrspc parameter in exec statement?
in order to execute step2 a job after a return code of 8 in step1, what condition you will code in step2?
What parameter of the job statement is used to limit the cpu time consumed by the job?
Give the syntax of job specifying jcl statement.
What are s0c1, s0c4, s0c5, s0c7 and socb?
what happens in conversion stage in job processing?
State the uses of syspring, sysin, sort fields, sum fields and dummy.
What are the parameter we cannot use in procedure? How many instream we can write in single jcl?
What is the difference between the positional and keyword parameters? Give examples.
What is notcat 2 - gs?
Explain the function of dd disp parameter?