Create a dataset with an existing name



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

Create a dataset with an existing name

Postby rajashreegoud » Sat Nov 10, 2012 10:34 pm

hi sir.
how can we create a sequential or partitioned dataset with same name which already exits that name
rajashreegoud
 
Posts: 7
Joined: Sat Nov 03, 2012 7:34 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Create a dataset with an existing name

 

Re: jcl

Postby BillyBoyo » Sat Nov 10, 2012 10:51 pm

Specify NEW,KEEP,DELETE and a VOLSER where the other dataset is not.
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 264 times

Re: jcl

Postby rajashreegoud » Sat Nov 10, 2012 11:03 pm

thank you sir.
rajashreegoud
 
Posts: 7
Joined: Sat Nov 03, 2012 7:34 pm
Has thanked: 0 time
Been thanked: 0 time

Re: jcl

Postby BillyBoyo » Sat Nov 10, 2012 11:49 pm

Make sure you test it. Depending on your system set-up this may no longer work...
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 264 times

Re: jcl

Postby dick scherrer » Sun Nov 11, 2012 5:28 am

Hello,

Many systems will no longer allow this.

If it will not run, do not be surprised. Then talk with your system support or storage management people.

Why does someone believe this is acceptable?
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6269
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: Create a dataset with an existing name

Postby NicC » Sun Nov 11, 2012 5:52 am

A title of JCL for a topic in a forum called JCL is of no benefit to anyone. It has been changed to reflect the nature of the query. This will help people searching the forum by topic name.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 2824
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisies (almost)
Has thanked: 4 times
Been thanked: 118 times

Re: i have more than 255 steps how should i code in a jcl

Postby rajashreegoud » Sat Feb 02, 2013 10:36 pm

hi sir can you tell me the answer
rajashreegoud
 
Posts: 7
Joined: Sat Nov 03, 2012 7:34 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Create a dataset with an existing name

Postby Robert Sample » Sat Feb 02, 2013 10:51 pm

rajashreegoud, you have been given the answer by BillyBoyo. Note that whether or not you are allowed to do this will depend upon your site and the restrictions it places on your user id. If you are allowed to create data sets NOT under SMS control, then you can do it -- otherwise, you will not be able to do this. And we cannot tell you whether or not you can do it -- only someone working at your site could possibly tell you that.
Robert Sample
Global moderator
 
Posts: 3542
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 253 times

Re: Create a dataset with an existing name

Postby rajashreegoud » Sat Feb 02, 2013 11:04 pm

thank you sir
rajashreegoud
 
Posts: 7
Joined: Sat Nov 03, 2012 7:34 pm
Has thanked: 0 time
Been thanked: 0 time


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post