Module 4: JCL DD Statement
A temporary dataset is created during a job’s execution and is deleted after the job is terminated. The reason for using temporary dataset is to release the storage used for dataset after the job termination. Here need to make note that dataset is deleted after job termination not step termination.
In order to code temporary dataset we need to specify DD name either using && or omitting DSN parameter as shown below in below example