View previous topic :: View next topic
|
Author |
Message |
Cketha Warnings : 1 New User
Joined: 19 May 2007 Posts: 22 Location: mumbai
|
|
|
|
Can you tell me how to create temp. dataset in JCL?
I want to create it in one sort step & then use it in next step. |
|
Back to top |
|
|
agkshirsagar
Active Member
Joined: 27 Feb 2007 Posts: 691 Location: Earth
|
|
|
|
use && before dsn. For more details see the JCL manual.
e.g. //ddname dd dsn=&&temp,disp=(new,pass,) |
|
Back to top |
|
|
Cketha Warnings : 1 New User
Joined: 19 May 2007 Posts: 22 Location: mumbai
|
|
|
|
agkshirsagar wrote: |
use && before dsn. For more details see the JCL manual.
e.g. //ddname dd dsn=&&temp,disp=(new,pass,) |
I have tried
//SORTOUT DD DSN=&&C8UST.TEMP.FILE,
// DISP=(NEW,PASS,)
but i m getting follw. error
INVALID DATA SET NAME FORMAT IN DSN= OPERAND |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Why don't you code EXACTLY what agkshirsagar has shown you for the dataset name ? |
|
Back to top |
|
|
Cketha Warnings : 1 New User
Joined: 19 May 2007 Posts: 22 Location: mumbai
|
|
|
|
expat wrote: |
Why don't you code EXACTLY what agkshirsagar has shown you for the dataset name ? |
OK
//SORTOUT DD DSN=&&C8UST.TEMP.FILE,DISP=(NEW,PASS,)
no i hv coded lide, but still i m getting same error |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
agkshirsagar has shown a dataset name which is one level, it does not have 2LQ or 3LQ specified.
Please try it again with DSN=&&xxxxxxxx , where xxxxxxxx can be anything you like between 1 and eight characters long. |
|
Back to top |
|
|
Cketha Warnings : 1 New User
Joined: 19 May 2007 Posts: 22 Location: mumbai
|
|
|
|
expat wrote: |
agkshirsagar has shown a dataset name which is one level, it does not have 2LQ or 3LQ specified.
Please try it again with DSN=&&xxxxxxxx , where xxxxxxxx can be anything you like between 1 and eight characters long. |
Now I got DSN=&&xxxxxxxx with 1 to 8 characters ,getting proper results.
Thanks. |
|
Back to top |
|
|
agkshirsagar
Active Member
Joined: 27 Feb 2007 Posts: 691 Location: Earth
|
|
|
|
For more details see the JCL manual. / book seriously.. |
|
Back to top |
|
|
|