Skip to content

Component Names That Contain A Path

In USS file systems, a "component name" may include a partial directory path because the actual name of the file is unique only within a hierarchy that includes it.

ChangeMan ZMF automatically handles component names that include a directory path. However, when you stage an zFS component from development, you must indicate whether you want to choose a file name from the specified directory or a path name and file name from that directory.

On the Stage: From Development (CMNSTG02) panel, the Expand zFS subdirectories field controls what is displayed on a component selection list. When you select this field, all files and paths below the subdirectory you specify in the DSN field are displayed on the component selection panel.

CMNSTG02           Stage from Development
Command ===>_________________________________
        Package: ACTP000050     Status: DEV     Install date: 20180318
ISPF Library:
Project . . . . USER015
Group . . . . . JAVA
Type . . . . .  SRC
Member . . . .  ___(Blank/pattern for list; * for all members)

Other partitioned, sequential or zFS dataset:
DSN . . . . . . /cmntp/s4/v710/base/jzfs/jav/lvl-0/ +
Org . . . . . .___ (PDS, Seq, PAN, LIB, Oth, zFS)

Library type . . . . . JVS (Blank for list)
Stage name . . . . . . __________________________+
Stage mode . . . . . . 1 (1-Online, 2-Batch)

Enter "/" to select option
/ Confirm request        __Expand zFS subdirectories
/ Lock component         __Display component user options
__Extract Stored Procedure from Db2 catalog

Press ENTER to display the Stage from zFS file (CMNSTG23) panel with the component selection list.

CMNSTG23              Stage from zFS file            Row 1 to 6 of 6
Command ===>_______________________________________ Scroll ===> CSR

Input filename
/cmntp/s4/v710/base//jzfs/jav/lvl-0/                              +
Name    +          Function Created     Changed            Size  User
__ jhfjav40.java            2010/07/20  2010/11/05 15:30  00126  SERT 
__ jhfjav50.java            2010/11/05  2010/11/05 15:49  00126  SERT 
__ jhfjav60.java            2010/11/05  2010/11/05 16:23  00126  SERT 
__ org/jdom/xpath/jhfj      2010/07/20  2010/07/01 17:53  00151  SERT 
__ org/jdom/xpath/jhfj      2010/07/20  2010/07/01 17:54  00155  SERT 
__ org/jdom/xpath/jhfj      2010/07/20  2010/07/01 17:54  00154  SERT 

Notice that after the first three files, three more components are listed that are in a path of subdirectories below the directory you specified on the Stage: From Development panel. If you select one of the files with path names to stage into your package, the component name in the package master and in the component master will include the subdirectories as well as the file name.

If option Expand is not selected the resulting Stage from component file (CMNSTG23) panel displays only the three components that are contained as files in the directory you specified on the Stage: From Development panel.

CMNSTG23                    Stage from zFS file        Row 1 to 3 of 3
Command ===>_________________________________________ Scroll ===> CSR
Input filename
/cmntp/s4/v710/base//jzfs/jav/lvl-0/                                +

Name          + Function Created    Changed    Size        User
__ jhfjav40.java         2010/07/20 2010/11/05 15:30 00126 SERT
__ jhfjav50.java         2010/11/05 2010/11/05 15:49 00126 SERT
__ jhfjav60.java         2010/11/05 2010/11/05 16:23 00126 SERT

******************************* Bottom of data *************************

Note

On the Stage: From Development panel (CMNSTG02), you cannot provide a STAGE NAME when the EXPAND field is set to YES.