Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Creating Temp dataset in JCL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Creating Temp dataset in JCL
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: 686
Location: Earth

PostPosted: Thu Jun 07, 2007 6:01 pm    Post subject:
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    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Thu Jun 07, 2007 6:14 pm    Post subject:
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    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Thu Jun 07, 2007 6:22 pm    Post subject:
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    Post subject:
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: 686
Location: Earth

PostPosted: Thu Jun 07, 2007 6:27 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Unable to catalog a gdg dataset resid... Shovan JCL & VSAM 4 Fri Mar 24, 2017 2:24 pm
No new posts Want to pull the job log into a Mainf... Jishu Mukherjee Compuware & Other Tools 9 Tue Mar 21, 2017 4:48 pm
No new posts JCL to get submitted once dataset has... vinu78 JCL & VSAM 17 Thu Feb 16, 2017 7:32 am
No new posts FTP - JCL failed while passing FTP co... Suneetha1612 JCL & VSAM 12 Wed Nov 16, 2016 7:33 pm
No new posts To trim spaces in a pipe delimited da... Nish84 COBOL Programming 16 Mon Oct 10, 2016 1:54 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us