NEWDIR

Use

You can issue the NEWDIR command from a job, a session, a program, or in break mode. Pressing 4Break5 has no e￿ect on this command. Y ou must have create directory en tries (CD) permission for the paren t directory and sa ve ￿les (SF) capabilit y. Furthermore, traverse directory entries (TD) access is required for each directory componen t named in dir name. (Refer to the ALTSEC command in this chapter for further information on directory permissions.)

Examples

The following two examples create a directory called DIR1. In the ￿rst example, the directory is created b y specifying the full pathname of the directory. In the second example, the directory is created b y specifying the dir name .groupname.acctname . Note that in the second example, the dir name is shifted to uppercase.

d

 

a

 

NEWDIR /MYACCT/MYGRP/DIR1

 

 

 

 

 

 

 

 

 

c

 

b

d

 

a

 

NEWDIR dir1.mygroup.myacct

 

 

 

c

 

b

The following example creates an HFS-named directory called

john by

specifying the full pathname of the directory .

 

 

d

 

a

 

NEWDIR /myacct/jones/cmdf/john

 

 

 

c

 

b

The following example creates an MPE-named directory called

DIR1 in the

current working directory (CWD). Note that the dir name is shifted to uppercase.

2-156 MPE/iX Commands