The following steps present an example of how to use the HBACKDS
line operator to back up data sets. In our example, we have used USER20.ISMF.JCL
as a sample data set name.
- Generate a data set list as explained in Methods of performing tasks.
- Enter the HBACKDS line operator in the line operator column next
to USER20.ISMF.JCL as shown in Figure 1.
Figure 1. Data Set List Panel with
HBACKDS Selected Panel List Dataset Utilities Scroll Help
------------------------------------------------------------------------------
DATA SET LIST
Entries 1-1 of 1
Enter Line Operators below: Data Columns 3-6 of 39
LINE ALLOC ALLOC % NOT COMPRESSED
OPERATOR DATA SET NAME SPACE USED USED FORMAT
---(1)---- ------------(2)------------ --(3)-- --(4)-- -(5)- ---(6)----
USER20.CLIST.CLIST 46 46 0 ???
USER20.DFP220.DGTTLIB 46 46 0 ???
USER20.ISMF.DGTLLIB 46 46 0 ???
USER20.ISMF.DGTPLIB 46 46 0 ???
USER20.ISMF.DUMP 4684 4356 7 ???
HBACKDS USER20.ISMF.JCL 468 46 90 ???
USER20.ISPFILE 46 46 0 ???
USER20.ISPPROF 93 93 0 ???
USER20.SPFLOG1.LIST 2623 1311 50 ???
USER20.TEMP.DATASET 4684 93 98 ???
---------- ------ ----------- BOTTOM OF DATA ----------- ------ ----
Command ===> Scroll ===> HALF
F1=Help F2=Split F3=End F4=Return F7=Up F8=Down F9=Swap
F10=Left F11=Right F12=Cursor
The HBACKDS entry panel appears.
- Complete the HBACKDS entry panel as shown in Figure 2. You may choose to use a TARGET option
or leave the field blank. Likewise, you may choose to use a concurrent
copy option or leave the field blank. Specify Y in the Wait for
Completion field if you want to wait for HBACKDS to complete before
you return to ISMF.
Figure 2. HBACKDS
Entry Panel Panel Utilities Help
------------------------------------------------------------------------------
HBACKDS ENTRY PANEL
Command ===>
Optionally Specify one or more for
Data Set:
Target . . . . . . . . . . . . . (D=DASD, T=TAPE or blank)
Concurrent copy . . . . . . . . (P, R, S, VP, VR, CP, CR or blank)
For P, R, VP, VR, CP or CR,
enter CC option (P=PHYSICAL, L=LOGICAL or blank)
Wait for Completion . . . . . . N (Y or N)
Data Set Password . . . . . . . (if password protected)
Retain Days . . . . . . . . . . (0 to 50000, or 99999 or blank)
Note: Dataset Password ignored when in ADMIN mode.
Use ENTER to Perform Hbackds;
Use HELP Command for Help; Use END Command to Exit.
- Press ENTER to perform the backup and redisplay the list (see Figure 3).
The asterisk next to the HBACKDS in the line operator column indicates
that the backup was successful if you specified wait for completion=Y,
or that the backup task was successfully issued to DFSMShsm if you specified wait
for completion=N.
Figure 3. Data Set List Panel after Function
Completes Panel List Dataset Utilities Scroll Help
------------------------------------------------------------------------------
DATA SET LIST
Entries 1-1 of 1
Enter Line Operators below: Data Columns 3-6 of 39
LINE ALLOC ALLOC % NOT COMPRESSED
OPERATOR DATA SET NAME SPACE USED USED FORMAT
---(1)---- ------------(2)------------ --(3)-- --(4)-- -(5)- ---(6)----
USER20.CLIST.CLIST 46 46 0 ???
USER20.DFP220.DGTTLIB 46 46 0 ???
USER20.ISMF.DGTLLIB 46 46 0 ???
USER20.ISMF.DGTPLIB 46 46 0 ???
USER20.ISMF.DUMP 4684 4356 7 ???
*HBACKDS USER20.ISMF.JCL 468 46 90 ???
USER20.ISPFILE 46 46 0 ???
USER20.ISPPROF 93 93 0 ???
USER20.SPFLOG1.LIST 2623 1311 50 ???
USER20.TEMP.DATASET 4684 93 98 ???
---------- ------ ----------- BOTTOM OF DATA ----------- ------ ----
Command ===> Scroll ===> HALF
F1=Help F2=Split F3=End F4=Return F7=Up F8=Down F9=Swap
F10=Left F11=Right F12=Cursor