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 To get the last record in VSAM file in cluster? and How can u get the ksds file records into ur cobol program ? Pls tell me about these two questions.
How can unused space allocation be returned to the system when a dataset is closed?
How to release a JOB (from the input queue) held by TYPRUN = HOLD ? and how to see the installation default time after which a JOB will be automatically released ? How to see the list of currently HELD JOBS ?
I want to JCL sort for Non-COMP and COMP-3 fields SORT FIELDS=(1,5,A,6,11,A,12,11,A,19,1,A,20,1,A),FORMAT=BI,EQUALS Length of comp bytes is 11 bytes which start at 6byte and 12 byte considering 11 bytes in comp-3 is 6 bytes. Can anyone tell if the above sort work SORT FIELDS=(1,5,A,6,6,A,12,6,A,19,1,A,20,1,A),FORMAT=BI,EQUALS does not works OK
If a job has 3 steps and step 1 and step 3 should get executed and step 2 should not get executed irrespective of the return code from the previous steps. How can it be done?
What is the use of the utility DFSRRC00 in the JCL?
How do you access an uncatalogued dataset in a jcl?
1) SORT FIELDS=(20,4,CH,D,10,3,CH,D) OUTREC FIELDS=(7:20,4,C' FUTURE ',20,2,10,3,1Z,1,9,13,7, 24,57,TRAN=LTOU,6X'FF') This example illustrates how a fixed-length input data set can be sorted and reformatted for output. The SORTIN LRECL is 80 bytes. The reformatted output records are fixed length with a record size of 103 bytes. SOLRF (the IBM-supplied default) is in effect, so unless the SORTOUT LRECL is specified or available, it will automatically be set to the reformatted record length of 103. in the above example i have some doubts that a) sort fields=(20,4,CH,D,10,3,CH,D) -what exactly it does and this fields related to output record fields or input record fields b)outrec used to refprmat the records after sorting that means could please reply me as soon as possible Thanks. Venkat
The disp in the JCL is MOD and the program opens the file in OUTPUT mode. What happens ? The DISP in the JCL is SHR and the program opens the file in EXTEND mode. What happens ?
A. Job Abended in STEP03. Now run job again to execute STEP03, STEP04 (STEP01,STEP02 should not execute again)
3 Answers Cap Gemini, CSC, Xchanging,
Explain how can return codes be tested before execution of a job step?
I have 255 procedures in a job, each procedure contain 2 steps.can we execute this job?