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: 8797
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: 8797
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts Allocated cylinders of a dataset DB2 12
No new posts Sort First/last record of a subset th... DFSORT/ICETOOL 7
No new posts Reading dataset in Python - New Line ... All Other Mainframe Topics 22
Search our Forums:

Back to Top