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.
Disclaimer: My comments on this forum are my own and do not represent the opinions or suggestions of any other person or business entity.