IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Creating Temp dataset in JCL


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Cketha
Warnings : 1

New User


Joined: 19 May 2007
Posts: 22
Location: mumbai

PostPosted: Thu Jun 07, 2007 5:56 pm
Reply with quote

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
View user's profile Send private message
agkshirsagar

Active Member


Joined: 27 Feb 2007
Posts: 691
Location: Earth

PostPosted: Thu Jun 07, 2007 6:01 pm
Reply with quote

use && before dsn. For more details see the JCL manual.
e.g. //ddname dd dsn=&&temp,disp=(new,pass,)
Back to top
View user's profile Send private message
Cketha
Warnings : 1

New User


Joined: 19 May 2007
Posts: 22
Location: mumbai

PostPosted: Thu Jun 07, 2007 6:10 pm
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8798
Location: Welsh Wales

PostPosted: Thu Jun 07, 2007 6:14 pm
Reply with quote

Why don't you code EXACTLY what agkshirsagar has shown you for the dataset name ?
Back to top
View user's profile Send private message
Cketha
Warnings : 1

New User


Joined: 19 May 2007
Posts: 22
Location: mumbai

PostPosted: Thu Jun 07, 2007 6:18 pm
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8798
Location: Welsh Wales

PostPosted: Thu Jun 07, 2007 6:22 pm
Reply with quote

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
View user's profile Send private message
Cketha
Warnings : 1

New User


Joined: 19 May 2007
Posts: 22
Location: mumbai

PostPosted: Thu Jun 07, 2007 6:26 pm
Reply with quote

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
View user's profile Send private message
agkshirsagar

Active Member


Joined: 27 Feb 2007
Posts: 691
Location: Earth

PostPosted: Thu Jun 07, 2007 6:27 pm
Reply with quote

For more details see the JCL manual. / book seriously..
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Free space of a mulitvolume PS datase... TSO/ISPF 7
No new posts REXX to get all Dataset names from a ... CLIST & REXX 5
No new posts Sorting date into YYYYMMDD, and creat... DFSORT/ICETOOL 13
No new posts Avoid job abend on dataset held by us... JCL & VSAM 6
No new posts Identify Number of Multivolume Dataset All Other Mainframe Topics 5
Search our Forums:


Back to Top