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 happens when COND is coded in JOB statement and when COND is coded inside EXEC statement?
how can you check if a file is empty using jcl?
Name a few IBM utility programs, and explain its function.
What statement can be used to send data to another mvs jes3 node?
What do you understand by the term notcat 2 – gs?
what is JCL?
Define concatenating?
How to pass data to a program that is coded in an exec statement?
How to read and write a single record into a file. I would like to use it to enter a single 8-character piece of information and use it to put it into a variable for processing in JCL. Thank you
When you specify multiple datasets in a JOBLIB or STEPLIB, what factor determines the order?
Can an individual step be restricted from using all the jobs allowed cpu time?
Hello Guys, I have 1+ Year Experience in MAINFRAME TESTING. After 1 Week I have an Interview With a Company on Mainframe Testing. Please Could You Guys Please Suggest me What Sections Should I prepare ?? ___Tell Me the Topic Or Appropriate Site & Links. ?? ---------------Thank You
how to do automated restart when a job abends?
Is their any set of rules for dd? Explain.
Describe the various parameters utilized in the creation of a gdg?