For View , Edit , Select ,
Dslist and Rsearch commands or any of the
File Manager 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, File Manager resolves
the variables when you select a command that requires a valid data set name.
See the following example:
F ile E dit E dit S ettings M enu U tilities C ompilers T est H elp
───────────────────────────────────────────────────────────────────────────────
ISREDDE2 SYS1.PROCLIB.SYSPLEXD.USER(IPV SRVD) - 01.08 Columns 00001 00072
Command ===> Scroll ===> CSR
000018 //SYSPRINT DD SYSOUT=*
000019 //STDOUT DD SYSOUT=*
000020 //IPV TRACE DD SYSOUT=*
000021 //* Configuration details
000022 // SET FM=FMSTYLE&FMSTYLE
000023 //CONFIG DD DISP=SHR,DSN=IPV .V1R8 M0.SERVER.CONFIGS.&BLD(&SSL)
000024 // DD DISP=SHR,DSN=IPV .V1R8 M0.SERVER.CONFIGS.&BLD(&FM)
000025 // DD DISP=SHR,DSN=IPV .V1R8 M0.SERVER.CONFIGS.&BLD(FAV13)
000026 // DD DISP=SHR,DSN=IPV .V1R8 M0.SERVER.CONFIGS.&BLD(APA)
000027 // DD DISP=SHR,DSN=IPV .V1R8 M0.SERVER.CONFIGS.&BLD(DT)
****** **************************** Bottom of Data ****************************
Position the cursor on
IPV .
V1R8 M0.SERVER.CONFIGS.&BLD(&FM)
and press
F4 .
F ile Edit E dit_Settings M enu U tilities C ompilers T est H elp
─ ┌─────IPV .V1R8 M0.SERVER.CONFIGS.&BLD ─────┐ ────────────────────────────
V │ File Manager │ - 01.21 Columns 00001 00072
C │ E dit/View U tility T emplate │ 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.
F ile E dit E dit_Settings M enu U tilities C ompilers T est H elp
───────────────────────────────────────────────────────────────────────────────
ISREDDE2 IPV .V1R8 M0.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=FMN CSEP
000011 *
000012 SPAWN_STEPLIB=FMN .V14R1 M0.OPTIONS.GMBLD1:
000013 FMN .V14R1 M0.SFMN MODA.GMBLD1:
000014 FMN .V14R1 M0.SFMNMOD1 .GMBLD1
000015
000010 SPAWN_PARMS_SECTION
000011 FMN TRC=SYSOUT=H
000013 SYSPRINT=SYSOUT=H
000014 STDOUT=SYSOUT=H
000015 SYSTSPRT=SYSOUT=H
000016
000017 FMN LIB=FMN .V14R1 M0.OPTIONS.AD48553:
Notice that the data set name has been changed as variable substitution has
been performed.