W dniu 16.05.2020 o 21:54, esst...@juno.com pisze:
I am Not a DASD Administrator -
.
However I used the following JCL to move a PDS -
//STEP1    EXEC  PGM=ADRDSSU
//SYSPRINT DD    SYSOUT=A
//DASD1    DD    UNIT=3390,VOL=(PRIVATE,SER=USER12),DISP=OLD
//DASD2    DD    UNIT=3390,VOL=(PRIVATE,SER=USER01),DISP=OLD
//SYSIN    DD    *
  COPY DATASET(INCLUDE(MONSOON.SRCLIB.BKUP)) -
       LOGINDDNAME(DASD1) OUTDDNAME(DASD2) DELETE CATALOG
/*
.
Would Anyone have an example of moving VSAM Datasets
Do I specify the base cluster ? Do I specify the base cluster, data component, 
and index
component ? An Example would be appreciated ?

The above example is valid for VSAM datasets. Provide cluster name in INCLUDE(). You do not have to provide data component name, or index component name. Note: some VSAM datasets may have "dependent objcects" that means Alterinate Index and PATH. PATH is catalog entry only, so it does not occupy place on disk (so cannot be moved), but AIX is KSDS itself - two physical components. In order to move it use magic word SPHERE i.e. between DELETE and CATALOG. SPHERE means VSAM cluster with all objects. Very convenient for backup/restore.

--
Radoslaw Skorupka
Lodz, Poland





======================================================================

Jeśli nie jesteś adresatem tej wiadomości:

- powiadom nas o tym w mailu zwrotnym (dziękujemy!),
- usuń trwale tę wiadomość (i wszystkie kopie, które wydrukowałeś lub zapisałeś 
na dysku).
Wiadomość ta może zawierać chronione prawem informacje, które może wykorzystać 
tylko adresat.Przypominamy, że każdy, kto rozpowszechnia (kopiuje, rozprowadza) 
tę wiadomość lub podejmuje podobne działania, narusza prawo i może podlegać 
karze.

mBank S.A. z siedzibą w Warszawie, ul. Senatorska 18, 00-950 
Warszawa,www.mBank.pl, e-mail: kont...@mbank.pl. Sąd Rejonowy dla m. st. 
Warszawy XII Wydział Gospodarczy Krajowego Rejestru Sądowego, KRS 0000025237, 
NIP: 526-021-50-88. Kapitał zakładowy (opłacony w całości) według stanu na 
01.01.2020 r. wynosi 169.401.468 złotych.

If you are not the addressee of this message:

- let us know by replying to this e-mail (thank you!),
- delete this message permanently (including all the copies which you have 
printed out or saved).
This message may contain legally protected information, which may be used 
exclusively by the addressee.Please be reminded that anyone who disseminates 
(copies, distributes) this message or takes any similar action, violates the 
law and may be penalised.

mBank S.A. with its registered office in Warsaw, ul. Senatorska 18, 00-950 
Warszawa,www.mBank.pl, e-mail: kont...@mbank.pl. District Court for the Capital 
City of Warsaw, 12th Commercial Division of the National Court Register, KRS 
0000025237, NIP: 526-021-50-88. Fully paid-up share capital amounting to PLN 
169.401.468 as at 1 January 2020.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to