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
What is job control language?
What is jcl in mainframe?
Name the statement which can be used to send data to another mvs jes3 node?
what happens in execution stage in job processing?
Step 1 RC 4 Step 2 Step 3 I want to know the COND parameter which can be coded in step 2 or 3. Step 2 should be executed based on Step 1 RC and Step 3 should not be executed based on step 1's RC
What do you understand by the terms: joblib and steplib?
What are s0c1, s0c4, s0c5, s0c7 and socb?
How to override loadlib?
Give the syntax of job specifying jcl statement.
When The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?
How do you overcome this limitation ?
what is the JCL statement consists of?
hello friends ,i have exam in Hsbc,pls any on send me placement papers and technical questions on mainframes,thank u
What is the job entry system used in your project? based on what criteria the sequence of jobs are picked if priority is not mentioned in the job card?
What is the purpose of dd * statement in jcl?