Temporary datasets



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

Temporary datasets

Postby varsha » Mon Oct 06, 2008 9:47 pm

I have a very basic question regarding temporary datasets. Can you please tell me while using a temporary dataset in a job, this data set has to created explictly (like permanent datasets) or would be created automatically at runtime?

Thanks
Varsha
varsha
 
Posts: 10
Joined: Thu Sep 18, 2008 9:51 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Temporary datasets

 

Re: Temporary datasets

Postby Bill Dennis » Tue Oct 07, 2008 12:59 am

The system requires some information to do the allocation of both permanent and temporary files. The parameters may come from the JCL DD statement, through dynamic allocation or from DFSMS (or other product) defaults.

Temporary datasets usually omit DSN (and use a system-generated name) and DISP (defaulting to NEW,DELETE). Other than this, the same parameters are required to create temporary datasets as for permanent.
Regards,

Bill Dennis

Disclaimer: My comments on this forum are my own and do not represent the opinions or suggestions of any other person or business entity.
Bill Dennis
 
Posts: 278
Joined: Thu May 15, 2008 9:45 pm
Has thanked: 0 time
Been thanked: 0 time


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post