Choosing a volser instead of DFSMS



Help for IBM's record-oriented filesystem VSAM, ESDS, KSDS, RRDS, LDS and Storage management Subsystems

Choosing a volser instead of DFSMS

Postby samb01 » Tue Dec 03, 2019 7:28 pm

Hello, with DFSMS, we can't choose ourself a volser when we create a dataset.
I'm looking for an option to force the volser even if the VOLSER is in a storage groupe.
Is it somethng we can do ?
samb01
 
Posts: 376
Joined: Mon Nov 16, 2009 7:24 pm
Has thanked: 1 time
Been thanked: 0 time

Re: Choosing a volser instead of DFSMS

 

Re: Choosing a volser instead of DFSMS

Postby Robert Sample » Tue Dec 03, 2019 7:34 pm

Yes, allocate on a volume that is NOT in a storage group. By attempting to allocate to a specific volume, you are subverting the entire concept of SMS -- System Managed Storage means that the system, not you, manages where data sets are allocated. So if you want to allocate to a specific volume, you could remove that volume from the storage group (if you have sufficient authority at your site), or you can allocate to a volume not in a storage group. But if you want to allocate to a specific volume in a storage group, you're going to be frustrated.
Robert Sample
Global moderator
 
Posts: 3625
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 267 times

Re: Choosing a volser instead of DFSMS

Postby samb01 » Tue Dec 03, 2019 8:01 pm

Hello Robert Sample and Thank's for your answer.
So before, i will remove the voulme of the storage group and after the allocation of the dataset, i will reconnecte the volume in the Storage Group.
samb01
 
Posts: 376
Joined: Mon Nov 16, 2009 7:24 pm
Has thanked: 1 time
Been thanked: 0 time

Re: Choosing a volser instead of DFSMS

Postby enrico-sorichetti » Tue Dec 03, 2019 8:10 pm

But if you want to allocate to a specific volume in a storage group, you're going to be frustrated.

I beg to disagree...

the GUARANTEED SPACE ATTRIBUTE lets the user choose a specific volume for allocation on SMS managed volumes
https://www.ibm.com/support/knowledgece ... guarat.htm

but ... look CAREFULLY at the sections of the manual dealing with the why the approach is discouraged
especially when dfhsm is involved
https://www.ibm.com/support/knowledgece ... bugsds.htm
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2890
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 153 times

Re: Choosing a volser instead of DFSMS

Postby samb01 » Tue Dec 03, 2019 9:26 pm

Thank you enrico-sorichetti.
It's good to know that ;)
samb01
 
Posts: 376
Joined: Mon Nov 16, 2009 7:24 pm
Has thanked: 1 time
Been thanked: 0 time

Re: Choosing a volser instead of DFSMS

Postby steve-myers » Tue Dec 03, 2019 10:01 pm

You still have to watch out. SMS may grab the allocation from you unless you have an escape coded. STORCLAS=NOSMS may work.
steve-myers
Global moderator
 
Posts: 2042
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 221 times

Re: Choosing a volser instead of DFSMS

Postby samb01 » Wed Dec 04, 2019 2:01 pm

With :


STORCLAS=NONSMS,VOL=SER=VOLU001,

 


it dosen't work, i have this error message:


        4 IGD301I DATA SET ALLOCATION REQUEST FAILED -        
 DATA SET DATASET.TEST                                
 IS NOT ELIGIBLE FOR ALLOCATION ON SMS-MANAGED VOLUME VOLU001

 
samb01
 
Posts: 376
Joined: Mon Nov 16, 2009 7:24 pm
Has thanked: 1 time
Been thanked: 0 time

Re: Choosing a volser instead of DFSMS

Postby enrico-sorichetti » Thu Dec 05, 2019 2:57 am

last three posts deleted and topic locked
going down the road of useless speculations
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2890
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 153 times


Return to VSAM/SMS

 


  • Related topics
    Replies
    Views
    Last post