Creating a File System
To create a new file system:
1. Use one of the JCL jobs that IBM provides by default on every z/OS system disk. One of these jobs would be JAVA.SAJVSMP1(AJVNZFS), for example. These TSO commands create a zSeries File System (ZFS) and format it.
2. Type in /v sms,vol(HARDDRIVENAME),enable to put the mainframe in a mode where the creation of a file system is possible.
3. Type in the following to make sure the file system is not moved at initial program load:
tso mount filesys(FILESYSTEMNAME) mountpoint('MOUNTPONITNAME') typ e(zfs) mode(rdwr)unmount
4. Type in /v sms,vol(PLATTENNAME),D, N to end the special mode.
You may find the following commands helpful:
//pax -rwp e . /u/xxx
Logically copies content from one file system to another.
df -k .
Shows how big the file system is and how much is occupied.
tso alter NAMEFILESYSTEM newname NEWNAME
Renames the file system.