23 File: UNIQUE AMSERV DEFINE CLUSTER- ( NAME (UNIQUE. FILE) - UNIQUE ) -
DATA
( CIL (3) -
FILE (KD!T!) -
RECORDSIZE (100 132) - KEYS(12,0) - VOLUMES (333333 ) ) - INDEX - (CIL (1)-
FILE (KINDEX) - VOLUMES (333333) 24 dlbl kdata c (extent 1111181 DMSDLB331R ENTER EXTENT SPECIFICATIONS:
76 57 dibl kindex c (extent 11II1II DMSDLB331R ENTER EXTENT SPECIFICATIONS: 133 19
Ri allserv unique 4221A ATTEMPT 1 OF 2. ENTER PASSWORD FOR JOE AMSERV gazelle
R;
25 File: USERCAT AMSERV 26
DEFINE USERCATALOG -
( CIL (4) -
FILE (IJSYSUC) - NAME (PRIVATE.CATALOG) - VOLUME (444444) - UPDATEPi (UNICORN) - ATTEMPTS (2) ) -
DATA (CYL (3) INDEX ( CYL (1) ) -
CATALOG (MASTCAT/GAZELLE dlbl ijsysuc d dsn private catalog (extent; •• JI peril DMSDLB331R ENTER EXTENT SPECIFICATIONS:
19 152
R; allserv usercat
*
R;
FILE M1STCIT 23 This AMSERV file defines a unique cluster, with data and index cOllponents. 24 You IIUst enter DLBL commands and extent inforllation for both the data and index
components of the unique cluster.
25 Next, define a private (user) catalog for the volulle 444444. This catalog is named PRIVATE.CATALOG and has a password of UNICORN. 26 When you define a user catalog that you are going to use as the job catalog for a
terminal session, you should use the ddname IJSYSUC. 380 IBM VM/310 eMS User's Guide
27 TAPE 181 ATTACHED
28 File: EXPORT AMSERV EXPORT BOOK. LIST
INFILE (BOOK) - OUTFILE (TEMP ENV (PDEV (2400) » 29 dlbl IJSYSCT DISK FILE IJSYSCT B1
BFILE DISK BOOK FILE A1 BOOK DISK FILE BOOK B1 SPACE DISK FILE SPACE C1 KD!T! DISK FILE KDATA C1 KINDEX DISK FILE KINDEX C1 IJSYSUC DISK FILE IJSYSUC D1
R; MAS'ICAT BOOK.LIST PRIVATE. CATALOG 30 dlbl book b dsn book list (cat ijsysct tlllll' R;
31 amserv texport (tapout 181 DMSAMS361R ENTER TAPE OUTPUT DDNAMES: temp
R;
32 File: IMPORT AMSERV IMPORT 33 tape rev Ri CATALOG (PRIVATE. CATALOG/UNICORN) -
INFILE (TEMP ENV (PDEV (2400») - OUTFILE (BOOK2) dlbl book2 d dsn book list (vsam R;
amserv timport (tapin 181 DMSAMS361R ENTER TAPE INPUT DDNAMES:
temp
R;
27 You may want to try an EXPORT/IMPORT function, if you can obtain a scratch tape from
the operator. When the tape is attached to your virtual machine, you receive this
message.
28 The file that is being exported is the cluster BOOK.LIST created above. If you do
not have access to a tape, you can export the file to your CMS A-disk. Remember to
change the PDEV parameter to reflect the aPFropriate device type.
29 Before issuing the AMSERV command to perform the export function, you may want to
check the DLBL definitions in effect. Issue the DLBL command with no operands to
obtain a list of current DLBL definitions. 30 You must reissue the DLBL for BOOK.LIST, because there is a job catalog in effect,
and the file is cataloged in the master catalog. Use the CAT option to override the
job catalog.
31 There is no default tape value when you are using tapes with the AMSERV command. You must specify the TAPIN or TAPOUT option and indicate the virtual address of the
tape. You are prompted to enter the ddname, which for this file is TEMP. 32 The last AMSERV file imports the cluster BOOK.LIST to the user catalog, PRIVATE. CATALOG.
33 You should rewind the tape before reading it as input.
Sample Terminal Session using Access Method Services 381
Previous Page Next Page