temp data set remain only till the job is executing once the execution is over they are not available.
Since you are creating the temp data set in the first step and second and third step you are using that, in case any of your second or third step abends you will have to start from the first step as the temp data set will
only be available after the completion of first step.
So the answer to your question is you cannot restart from step 3. you will have to execute step1 first and create the temp data set again.
Joined: 23 Nov 2006 Posts: 19270 Location: Inside the Matrix
Yes, but that quote has nothing to do with true temporary datasets. If you PASS a dataset with DSN=&&stuff.data.file it will not exist when the job ends. If you have a dataset with DSN=my.data.file, it exist after the job completes, but that is not a tgemporary dataset.
The dsn determines whether the dataset is a temporary dataset, not the usage intention of the author.