I have 5 generations in my GDG. How do I code in the JCL to
consider all the 5 versions of the GDG ?
Answers were Sorted based on User's Feedback
Answer / archana
Specify only the GDG base. All the versions of GDG will be
considered.
| Is This Answer Correct ? | 24 Yes | 0 No |
Answer / sucharita
Specify only the GDG base name without any version. It will
concatenate all the versions and consider it as one dataset.
| Is This Answer Correct ? | 16 Yes | 2 No |
Answer / kabi
infile dd dsn=gdg base name,DISP=SHR----------Specify only
the GDG base name without any versionwe, have to mentioned
gdgbase then using SHR option.
| Is This Answer Correct ? | 11 Yes | 1 No |
Answer / shridhar
Two options:
1. GDG base.
2. GDG(0) to GDG(5).
| Is This Answer Correct ? | 7 Yes | 5 No |
How different is the JCL executing a COBOL program? 1) if the program is using VB file as input. 2) if the program is using FB file as input.
when we use sysprint and sysout statements
Why do you use a control card?
what are the statements that are not valid to be included in an include statement?
suppose i have job it contains 10 steps after exicution of job failuer at 3 and 7 th steps i want exicute step 3 and step 7 only how we specify condition ?
How to compare 2 files using File-Aid?
whats SOC7?
Is it possible to take a PDS and write it to a GDG? If so, can you provide an example? Thanx
Explain the function of //cntl statement?
How jcl work to handle various input output file operations?
TIME parameter in JOB statement or EXEC statement specifies What type of time (CPU time or execution time)?
i have two flat files.i want to select one record from that file by using jcl.for example file1 contains emp no,name,joining date. file2 has same details.emp no is primary key. i will give empno.that emp details send to outfile.please let me know if any one knows it.give sample code.