[NEWSboard IBMi Forum]
  1. #1
    Registriert seit
    Apr 2001
    Beiträge
    267

    Problem beim Sichern von IMGCLG

    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

  2. #2
    Registriert seit
    May 2002
    Beiträge
    2.642

    Image Catalog

    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.

  3. #3
    Registriert seit
    Jul 2001
    Beiträge
    2.646
    Zitat Zitat von Bodo Roggenkamp Beitrag anzeigen
    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

  4. #4
    Registriert seit
    Apr 2001
    Beiträge
    267
    Hallo TARASIK, hallo Holger,

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

    Gruß
    Bodo

Similar Threads

  1. Problem mit Java-Methoden Aufruf aus ILE RPG?
    By Stoeberl in forum NEWSboard Programmierung
    Antworten: 8
    Letzter Beitrag: 10-01-07, 10:58
  2. Problem mit Steuerzeichen in Datenbank?
    By Stoeberl in forum NEWSboard Programmierung
    Antworten: 11
    Letzter Beitrag: 26-10-06, 10:07
  3. Authorization Problem nach ändern der Primary Group
    By ChrisX in forum IBM i Hauptforum
    Antworten: 1
    Letzter Beitrag: 11-10-06, 15:31
  4. Merkwürdiges Problem in VRPG
    By Flappes in forum IBM i Hauptforum
    Antworten: 0
    Letzter Beitrag: 06-10-06, 08:39
  5. Problem beim Sichern
    By UFi in forum IBM i Hauptforum
    Antworten: 1
    Letzter Beitrag: 03-08-06, 10:46

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • You may not post attachments
  • You may not edit your posts
  •