Data set name variable substitution

For View, Edit, Select, Dslist and Rsearch commands or any of the Z Data Tools pull-down options, variable substitution is performed if the variable can be resolved within the current edit or view session. If the value in the window title has &variable names as a part of the string, Z Data Tools resolves the variables when you select a command that requires a valid data set name.

See the following example:
   File  Edit  Edit Settings  Menu  Utilities  Compilers  Test  Help
 ───────────────────────────────────────────────────────────────────────────────
 ISREDDE2   SYS1.PROCLIB.SYSPLEXD.USER(HFISRVD) - 01.08     Columns 00001 00072 
 Command ===>                                                  Scroll ===> CSR 
 000018 //SYSPRINT DD SYSOUT=*
 000019 //STDOUT   DD SYSOUT=*
 000020 //HFITRACE DD SYSOUT=*
 000021 //* Configuration details
 000022 // SET FM=FMSTYLE&FMSTYLE
 000023 //CONFIG   DD DISP=SHR,DSN=HFI.V1R1M0.SERVER.CONFIGS.&BLD(&SSL)
 000024 //         DD DISP=SHR,DSN=HFI.V1R1M0.SERVER.CONFIGS.&BLD(&FM)
 000025 //         DD DISP=SHR,DSN=HFI.V1R1M0.SERVER.CONFIGS.&BLD(FAV13)
 000026 //         DD DISP=SHR,DSN=HFI.V1R1M0.SERVER.CONFIGS.&BLD(APA)
 000027 //         DD DISP=SHR,DSN=HFI.V1R1M0.SERVER.CONFIGS.&BLD(DT)
****** **************************** Bottom of Data ****************************
Position the cursor on HFI.V1R1M0.SERVER.CONFIGS.&BLD(&FM) and press F4.
   File  Edit  Edit_Settings  Menu  Utilities  Compilers  Test  Help
 ─ ┌─────HFI.V1R1M0.SERVER.CONFIGS.&BLD ─────┐    ────────────────────────────
 V │  Z Data Tools                           │  - 01.21     Columns 00001 00072
 C │  Edit/View   Utility    Template        │                 Scroll ===> CSR 
 0 │ ─────────────────────────────────────   │
 0 │ Command ==>                             │ 
 0 │                                         │ ERVER.CONFIGS.&BLD(&SSL)
 0 │ 1  View     View resource               │ ERVER.CONFIGS.&BLD(&FM)
 0 │ 2  Edit     Edit resource               │ ERVER.CONFIGS.&BLD(FAV13)
 0 │ 3  Select   Select resource list        │ ERVER.CONFIGS.&BLD(APA)
 0 │ 4  Dslist   ISPF data set list          │ ERVER.CONFIGS.&BLD(DT)
 * │ 5  Search   Nested search               │ Data ****************************
   │ 6  All      Show all occurrences        │
   │ 7  First    Find first occurrence       │
   │ 8  Prev     Find previous occurrence    │
   │ 9  Next     Find next occurrence        │
   │ 10 Last     Find last occurrence        │ 
   │ 11 Rsearch  Search the resource         │ 
 0 │ 12 PDSE2    Workbench                   │ 
 0 │ 13 Change   Change data set attributes  │ 
   └─────────────────────────────────────────┘                                  
Select 1 to view the data set and then press Enter.
   File  Edit  Edit_Settings  Menu  Utilities  Compilers  Test  Help
 ───────────────────────────────────────────────────────────────────────────────
 ISREDDE2   HFI.V1R1M0.SERVER.CONFIGS.AD48553(FMSTYLEX) - 0 Columns 00001 00072 
 Command ===>                                                  Scroll ===> CSR 
 ****** ***************************** Top of Data ******************************
 ==MSG> -Warning- The UNDO command is not available until you change
 ==MSG>           your edit profile using the command RECOVERY ON.
 000001 * Build creation process updates suffix to ptf level
 000002 ********************************************************************
 000003 CONFIG=FM                      * Mandatory identifier
 000004 *   CONFIG=FM required for both ADFzCC and ZCC
 000005 REST=YES                                      
 000006 API_TIMEOUT=300                               
 000007 *                                             
 000008 *                                             
 000009 * Means able to run authorised.
 000010 SPAWN_PROGRAM=HFMCSEP                   
 000011 *                                       
 000012 SPAWN_STEPLIB=HFM.V1R1M0.OPTIONS.GMBLD1:
 000013 HFM.V1R1M0.SHFMMODA.GMBLD1:             
 000014 HFM.V1R1M0.SHFMMOD1.GMBLD1              
 000015                                         
 000010 SPAWN_PARMS_SECTION
 000011 HFMTRC=SYSOUT=H
 000013 SYSPRINT=SYSOUT=H
 000014 STDOUT=SYSOUT=H
 000015 SYSTSPRT=SYSOUT=H
 000016 
 000017 HFMLIB=HFM.V1R1M0.OPTIONS.AD48553:                                     
Notice that the data set name has been changed as variable substitution has been performed.