Using the Shared File System

The remainder of this chapter provides details on how to use the Shared File System (SFS) to organize and share your files. Depending on how your system administrator set up your system, you may have SFS storage, minidisk storage, or the capability to use both types of storage.

If, in Getting Started, you determined that you have space in an SFS file pool, you can go to Organizing Your Files.

If you do not have space in a file pool, you will not be able to complete the exercises in the remainder of this chapter. However, you can use several SFS commands if you are enrolled in an SFS file pool without space. See z/VM: CMS User's Guide for details. Even if you are not enrolled in an SFS file pool, you can still share files with other users by linking to their minidisks. z/VM: CMS User's Guide has further details on how to do this.

If your files are stored on a minidisk, you may be able to complete these exercises if your system administrator has given you space in a file pool. Ask your administrator if you have space in a file pool. Also determine the name of your file pool (the file pool ID).

Because you have used a minidisk to store your files, you will now need to complete the following steps to use SFS storage:
  • Set your default file pool. Enter:
    set filepool vmsysu

    VMSYSU is the name of an IBM-supplied file pool that was shipped with your system. If your file pool is not VMSYSU, substitute the name of your file pool. This command will set up the file pool you specify as your default file pool.

  • Access your top directory with a file mode of A. (We will discuss what a top directory is and what it can contain in the following section.) Enter the following command. Be sure to leave a space before and after the period.
    acc . a
    Note
    If, after you enter this command, you receive the message
    File pool VMSYSU is unavailable or unknown
    enter the command again to make sure you typed your file pool ID correctly. If you receive the same message, your file pool may be unavailable because of a system problem. Wait a few minutes and try entering the command again.
  • Access your 191 minidisk with a file mode of M (or with another available file mode). Enter:
    acc 191 m

    This command will access your 191 minidisk (previously accessed as A) with another file mode. File mode A will now be used to access your top directory.

  • Copy the files you previously created on your minidisk (now accessed as M) to your top directory (now accessed as A). Enter:
    copy * * m = = a

    This command will copy all files (regardless of their file name or file type) from the minidisk to the top directory. The use of the equal signs (=) here cause the identical file names and file types to be copied.

Now you are ready to complete the exercises that follow.

Note
If you log off and log on again while completing the exercises in this chapter, you will need to re-enter the first three commands
set filepool vmsysu:
acc . a
acc 191 m

to set up SFS storage for users who usually store their files on a minidisk and to re-establish the original CMS session.