z/OS ISPF User's Guide Vol II
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


N—create a new directory entry

z/OS ISPF User's Guide Vol II
SC19-3628-00

The N (new) line command can be entered against any directory entry. The Create New z/OS® UNIX File panel is displayed.

Figure 1. Create New z/OS UNIX File panel (ISRUULNW)
                         Create New z/OS UNIX File
 Command ===>                                                             

 Pathname . . . . /u/sclmtest                                          +

 Permissions  . .      (Octal)

 Link . . . . . .                                                      +

                                           Options
 File Type  . . .    1. Directory             Set sticky bit
                     2. Regular file          Copy...
                     3. FIFO                  Edit...
                     4. Symbolic Link
                     5. External Link
                     6. Hard Link




  F1=Help        F2=Split       F3=Exit        F4=Expand      F7=Backward
  F8=Forward     F9=Swap       F10=Actions    F12=Cancel

These mandatory input fields are displayed on this panel:

Pathname
The path name for the z/OS UNIX file to be created. This field is initialized with the path name of the file that the N line command was entered against. The field is scrollable with a length of 1023 bytes. Use the EXPAND function key (F4) to display the entire field in a pop-up window.
Note: In the panel displayed by the N line command, you can specify a "+" (plus) character as the first character of a path name to represent the path name of the directory currently listed.
Permissions
The permissions defined for the new file. Enter as three octal (range 0-7) digits. The first digit defines the access permission for the file owner. The second digit defines the access permission for any member of the file's group. The third digit defines the access permission for anyone else. See Table 1.
Link
This field is only mandatory when creating a Symbolic Link, External Link, or Hard Link. When creating a Symbolic Link or a Hard Link this field is used to define the path name of the existing file the link refers to. When creating an External Link this field is used to define the external name the link refers to. The field is scrollable with a length of 1023 bytes. Use the EXPAND function key (F4) to display the entire field in a pop-up window.
File Type
This field is used to enter one of the listed numbers corresponding to the type of file you want to create.
  1. Directory
  2. Regular file
  3. FIFO
  4. Symbolic Link
  5. External Link
  6. Hard Link

These optional fields can be selected on this panel:

Set sticky bit
When this option is selected it causes the sticky bit to be set on for the new file or subdirectory. When the sticky bit is set for a directory, a user cannot remove or rename a file in the directory unless one or more of these is true:
  • The user owns the file
  • The user owns the directory
  • The user has superuser authority

If the sticky bit is set for a program file, when executing the program z/OS UNIX will search for the program in the user's STEPLIB, the link pack area, or the link list concatenation.

Copy
When this option is selected and you are creating a new regular file, it causes the Replace z/OS UNIX File panel to be displayed, allowing you to have the data from a z/OS UNIX file, data set, or partitioned data set member copied into the new file. When selected and you are creating a new directory, it causes the Copy Into z/OS UNIX Directory panel to be displayed, allowing you to have the data from members in a partitioned data set copied into files in the new directory.
Edit
When this option is selected and you are creating a new regular file, it causes the edit function to be invoked allowing you to create and modify data in the new file.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014