IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Define default volume for DSN storage for each user


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
mrtrain

New User


Joined: 07 Nov 2021
Posts: 5
Location: Spain

PostPosted: Sun Nov 07, 2021 8:55 pm
Reply with quote

Hello,

I would like to define on which volume by default will be stored new DSN files for each user.
When I submit a JCL with output files or make a copy to a new dataset, new files are always created on the same volume (ZASYS1 for my case) if I don't specify volume.

Is it possible to define a default volume for each user, and if it's possible how to do ?

I have looked in PARMLIB and searched on google, but I havn't found some answers.

Thanks in advance
Back to top
View user's profile Send private message
prino
Warnings : 1

Senior Member


Joined: 07 Feb 2009
Posts: 1266
Location: Vilnius, Lithuania

PostPosted: Sun Nov 07, 2021 10:09 pm
Reply with quote

Wild educated guess, you're using the z/OS 1.10 ADCD, and haven't added a few scratch volumes that you subsequently added to the VATLST00 member in the parmlib...
Back to top
View user's profile Send private message
mrtrain

New User


Joined: 07 Nov 2021
Posts: 5
Location: Spain

PostPosted: Sun Nov 07, 2021 11:24 pm
Reply with quote

Thanks for your quick answer.

Your guess was right, I use the z/OS ADCD 1.10.

My VATLST00 only contains :

Code:

VATDEF IPLUSE(PRIVATE),SYSUSE(PRIVATE)
ZASYS1,0,0,3390    ,Y                 


But I can access to other volumes (like USR001, USR002 and so on).
What do you advise me to do ?
Back to top
View user's profile Send private message
Willy Jensen

Active Member


Joined: 01 Sep 2015
Posts: 512
Location: Denmark

PostPosted: Sun Nov 07, 2021 11:59 pm
Reply with quote

"default volume for each user" is only possible by using SMS.
VATLSTxx is system-wide for all users. But yes, you can add more volumes to VATLSTxx, just make sure that they have free space.
Back to top
View user's profile Send private message
mrtrain

New User


Joined: 07 Nov 2021
Posts: 5
Location: Spain

PostPosted: Mon Nov 08, 2021 4:26 am
Reply with quote

Thank you Willy.
I have searched in documentation how to proceed with SMS, but I haven't found explanation about it.
Is it possible to explain the steps to proceed ?
Thanks in advance
Back to top
View user's profile Send private message
Willy Jensen

Active Member


Joined: 01 Sep 2015
Posts: 512
Location: Denmark

PostPosted: Mon Nov 08, 2021 1:36 pm
Reply with quote

Implementing SMS is a rather big task, so if you don't know it already I will advise you to stick to VATLSTxx.
Back to top
View user's profile Send private message
mrtrain

New User


Joined: 07 Nov 2021
Posts: 5
Location: Spain

PostPosted: Mon Nov 08, 2021 3:04 pm
Reply with quote

Thanks for all your answers.
I implemented the VATLSTxx way as you advise me to do.
It works fine.

For those who want the solution :

Code:

VATDEF IPLUSE(PRIVATE),SYSUSE(PRIVATE)         
USER01,0,0,3390    ,Y                 
USER02,0,0,3390    ,Y                 
Back to top
View user's profile Send private message
prino
Warnings : 1

Senior Member


Joined: 07 Feb 2009
Posts: 1266
Location: Vilnius, Lithuania

PostPosted: Tue Nov 09, 2021 2:33 am
Reply with quote

My VATLST00:

Code:
 BROWSE    USER.PARMLIB(VATLST00) - 01.00
 Command ===>
********************************* Top of Data *****
VATDEF IPLUSE(PRIVATE),SYSUSE(PRIVATE)
ZSTOR1,0,0,3390    ,N     <== STORAGE
ZSTOR2,0,0,3390    ,N     <== STORAGE
ZSTOR3,0,0,3390    ,N     <== STORAGE
ZWORK1,0,1,3390    ,N     <==PUBLIC
ZWORK2,0,1,3390    ,N     <==PUBLIC
ZWORK3,0,1,3390    ,N     <==PUBLIC
******************************** Bottom of Data ***

All six volumes are 3390-3's, will change them to 3390-9 some day, RSN. icon_smile.gif

And OT, if you want to work with Debug Tool, I know how to activate it, and I've also changed my SPOOL volumes to three 3390-3's.
Back to top
View user's profile Send private message
mrtrain

New User


Joined: 07 Nov 2021
Posts: 5
Location: Spain

PostPosted: Tue Nov 09, 2021 3:53 am
Reply with quote

Thanks Robert icon_smile.gif
I will let you know if I need Debug Tools in the future.

Have a nice day.
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 Copy a PDS to a new PDS - why do I ne... TSO/ISPF 8
No new posts define 1 DCB parms for multiple outpu... JCL & VSAM 9
No new posts CSA Storage Key Removal IMS DB/DC 0
No new posts Revoke USER in DB2 DB2 1
No new posts non-system user tasks in CICS CICS 1
Search our Forums:

Back to Top