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. Run the CREATE JCL job form the PoC package and adjust the cylinder size if necessary. This job also formats the file system.
4. Type in
tso mount filesys(FILESYSTEMNAME) mountpoint('MOUNTPONITNAME') typ e(zfs) mode(rdwr)unmount
to make sure the file system is not moved at initial program load.
5. 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.