Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts opening a dataset after reading it fr... arunsoods DFSORT/ICETOOL 5 Wed Oct 04, 2017 3:54 pm
No new posts Creating ISPF Screens with Scrname vi... Albireo20 TSO/ISPF 10 Tue Sep 05, 2017 4:24 pm
No new posts Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 pm
No new posts Mainframe dataset split purushottam DFSORT/ICETOOL 13 Tue Aug 29, 2017 12:28 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us