No dataset specified for DDname #65
-
When using mvscmd, how do I code a DDname without a DSname. This would be the JCL statement:
Why I run a JCL job, it looks like SMS does its magic and allocates a system temporary dataset. In ZOAU I get a syntax error if I try this:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
When you submit JCL, JES handles the creation of temporary datasets. Because you don't have the support of JES, You need to define the dataset or file yourself. You are also responsible for deleting those temporary datasets. |
Beta Was this translation helpful? Give feedback.
-
How would ZOAU know when you are done with the file? It seems to me that we could build a create temporary file and an erase a temporary file, but because I don't know when things are done, the cleanup is still going to be part of your responsibility. Heck - I could easy create a routine that creates temp files, and one that erases them for you, but you still have to call them. I can try to build the content you are asking for but I can't think of a way to keep track of it for you. |
Beta Was this translation helpful? Give feedback.
When you submit JCL, JES handles the creation of temporary datasets. Because you don't have the support of JES, You need to define the dataset or file yourself. You are also responsible for deleting those temporary datasets.
It sounds like I need to create sample code to manage this for people.