I had managed to fill up my user volumes for my data set, and needed to add more space. This is quite easy once you know the steps. There are three parts
- Find some space
- Format it
- Make it available to SMS
Find some space
If you have real disks, you need to get some space created for your volume. Talk to your storage administrator.
z/D&T
I was running on zD&T, running on Linux, so my disks are emulated.
I followed the documentation and issued:
alcckd USER02 -d3390-3
This create a file called USER02 with size of a 3390-3. The file can have any valid name, USER02.33903 would also be valid, it has no connection to the z/OS volume ID.
You need to mount it on z/OS. Look in your devmap for an entry like
device 0Ac5 3390 3390 # Available for dynamic mounts
device 0Ac6 3390 3390 # Available for dynamic mounts
and mount it
awsmount 0ac5 -m USER02
Where 0ac5 is a free device in the device map and USER02 is my filename.
Within my devmap I had
device 0A9E 3390 3390 /home/zPDT/C4USS2 ... device 0AC5 3390 3390 # Available for dynamic mounts
Device 0ac5 does not have a file specified, so can be used for dynamic mounts.
For future IPLs, I added my USER02 to my device map.
Format it
I had to vary on line from a z/OS perspective
v 0ac5,online
This gave me message
v 0ac5,online
IEF503I UNIT 0Ac5 I/O ERROR
I formatted the volume using ICKDSF: (check the unit very carefully)
//IBMUSERO JOB 1,COLIN,MSGCLASS=X,REGION=40M // EXEC PGM=ICKDSF,REGION=0M //SYSPRINT DD SYSOUT=* //SYSIN DD * INIT UNIT(AC5) NOVERIFY VOLID(USER02) VTOC(0,1,14) /*
When running this JCL a WTOR came up asking if I was sure I wanted to format it.
Once this has completed, vary the device online
V AC5,ONLINE
You can specify STORAGEGROUP to define which SMS storage group it will be used in.
ISMF gave me some JCL(which I didn’t use) which seems to do the same thing. I used this to reformat the volume
//IBMUSERA JOB (ACCOUNT),'NAME'
//STEP1 EXEC PGM=ICKDSF,REGION=0M
//SYSPRINT DD SYSOUT=*
//INVOL1 DD VOL=(PRIVATE,SER=USER02),UNIT=3390,DISP=SHR
//SYSIN DD *
INIT -
DDNAME(INVOL1) -
VERIFY(USER02) -
NOCHECK -
CONTINUE -
MAP -
NOVALIDATE -
NOPURGE -
NOBOOTSTRAP
/*
Make this an SMS volume
I used
//IBMUSERB JOB (ACCOUNT),'NAME'
//STEP1 EXEC PGM=ADRDSSU,REGION=0M
//SYSPRINT DD SYSOUT=*
//INVOL1 DD VOL=SER=USER02,UNIT=3390,DISP=SHR
//SYSIN DD *
CONVERTV -
SMS -
DDNAME(INVOL1)
/*
The CONVERTV command is used to convert existing volumes to and from SMS management without data movement.
Using ISMF to display volumes, it said the USER* volumes were Storage Group SGBASE.
One thought on “Adding more disk space to z/OS, creating volumes and adding them to SMS.”