Anmelden

View Full Version : Problem beim Sichern von IMGCLG



Bodo Roggenkamp
22-11-07, 13:20
Hallo,

ich habe ein Problem beim Sichern von einem Image Catalog.

Ich habe eine virtuelles Tape erstellt. Dann einen IMGCLG wie folgt erstellt:
CRTIMGCLG IMGCLG(TEST01) DIR('/test01') TYPE(*TAP)
CRTDIR(*YES) TEXT('Dies ist ein Test') AUT(*ALL)

Dann ein virtuelles Volume wie folgt hinzugefügt:
ADDIMGCLGE IMGCLG(TEST01) FROMFILE(*new)
TOFILE(VOL001) VOLNAM(VOL001)

Sicherung in das Virtuelle Band klappt, DUPTAP auf physisches Band klappt ebenfalls. Aber eine Sicherung IMGCLG auf physisches Band funktioniert nicht. Es wird lediglich der Imagecatalog das entsprechende Verzeichnis gesichert. Aber eben keine Daten aus dem Unterverzeichnis VOL001.

Schaue ich mir die Atribute vom Verzeichnis TEST01 an, sehe ich folgenden Eintrag:
Kann gesichert werden . . . . . . . . : Ja

Innerhalb des Verzeichnises existiert die Datenstromdatei VOL001. Und die Atribute stehen auf:
Kann gesichert werden . . . . . . . . : Nein


Folgende Sicherungsbefehle verwende ich:
SAVOBJ OBJ(TEST01) LIB(QUSRSYS) DEV(TAPxx)
OBJTYPE(*IMGCLG) ENDOPT(*LEAVE) +
SAVACT(*SYNCLIB) DTACPR(*YES)

SAV DEV('/QSYS.LIB/TAPxx.DEVD') +
OBJ(('/test01')) SAVACT(*SYNC)
ENDOPT(*REWIND) DTACPR(*YES)

Hat jemand eine Erklärung dafür, warum die Sicherung nicht funktioniert?

Gruß
Bodo

TARASIK
22-11-07, 15:48
Hallo Bodo,
vielleicht hilft Dir dies weiter:
When any image catalog is in a READY Status and the WRKIMGCLG command and a *LINK, SAVBRM , or SAV is run for that directory, the stream files are not saved. If the image catalog is in a Not Ready status, the image catalog entries will be saved and this could result in significant increase in the amount of data being saved. After creating virtual tape images, they are automatically included when performing a full system save using GO SAVE , Option 21. The virtual tape images could significantly increase the time it takes to complete the Option 21 save operation, even if the image catalog entries do not contain data. To exclude the virtual images from a full system save, use one of the following strategies:

-- Use the Change Attribute ( CHGATR ) command to mark the image catalog directory as non-saveable. For example:

CHGATR OBJ('/Catalog-Path') ATR(*ALWSAV) VALUE(*NO)

-- Use the Load Image Catalog ( LODIMGCLG ) command to make the image catalog ready. Image catalogs with a ready status are omitted from the save. In an attended save, omitting the image catalog directories can be specified on the Save Object ( SAV ) command.
o It is recommended that PTF MF41110 be loaded and applied before using virtual tape. More information can be found in APAR MA34516. The initialize Tape (INZTAP) command makes any pre-existing data on the virtual tape volume inaccessible by the virtual tape device. Running the INZTAP command and specifying CLEAR(*YES) can be used to delete any existing data in a virtual tape volume; however, this should be used only if there are security concerns with the existing data because this operation can take a long time and uses significant system resources.

It is recommended that PTF MF41110 be loaded and applied before using Virtual tape. More information can be found in APAR MA34516 Rochester APAR Database.

holgerscherer
22-11-07, 16:49
Hallo,

ich habe ein Problem beim Sichern von einem Image Catalog.


Hallo Bodo, Jürgen war ja schon sehr detailliert. In Kürze: Ein aktiver Image-Catalog kann nicht gesichert werden. Ich empfehle: Volume-Dateien am besten via FTP wegkopieren. Nochmals auf ein Band zu sichern ist müssig.

-h

Bodo Roggenkamp
23-11-07, 14:58
Hallo TARASIK, hallo Holger,

besten Dank für die Tipps. Hat funktioniert, Test war OK.:)

Gruß
Bodo