How do you create a temporary dataset? Where will you use them?
Answers were Sorted based on User's Feedback
Answer / guest
Temporary datasets can be created either by not specifying
any DSNAME or by specifying the temporary file indicator as
in DSN=&&TEMP. We use them to carry the output of one step
to another step in the same job. The dataset will not be
retained once the job completes.
Is This Answer Correct ? | 48 Yes | 3 No |
Answer / neeraja
If you want to use the Temp Data set in the subsequent
steps then you should give the Disposion Pass.
Is This Answer Correct ? | 28 Yes | 5 No |
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
wht r different types of sort fields in jcl ?
What is the meaning of the EXEC statement keyword, COND? What is its syntax?
I have many files which i am receiving from client everyday. I have one step for every file to check for empty or not. Here client gives 30 files i need to check for every file for empty or not and i need to perform 30 steps. Can I do it in single step. Dynamically i need to change the File name in my step.
Is it possible to take a PDS and write it to a GDG? If so, can you provide an example? Thanx
How many steps we can overide in the proc's?
What is the function of the steplib dd statement?
a input file contains 1000 records, how to move the first 500 record into one out put file and how to move to second 500 records to anothere output file
how do u send return code from cobol to jcl ?
What is the difference between catalogue procedure and In-Stream procedure?
how do you code a null statement?
if in a job, region is mentioned in both jobcard and in step then which is cosidered at the step level? A job has region 4k in jobcard and step1 with region 0k and step2 with 16k, then what is the region allocated for the entire job? what is the region step1 takes? what is the region step2 takes?