PDA

View Full Version : Savf File per FTP



wuwu
18-08-06, 06:57
Hallo,

ich habe hier eine Anleitung erhalten:
3. FTP the q5799ptl.savf to your i5/OS system like so:
C:\temp\q5799ptl>ftp mysystem.mydomain
Connected to mysystem.mydomain.
220-QTCP at MYSYSTEM.
220 Connection will close if idle more than 5 minutes.
User (mysystem.mydomain:(none)): myuserid
331 Enter password.
Password:
230 MYUSERID logged on.
ftp> quote site namefmt 0
250 Now using naming format "0".
ftp> cd qgpl
250 "QGPL" is current library.
ftp> bin
200 Representation type is binary IMAGE.
ftp> put q5799ptl.savf q5799ptl
200 PORT subcommand request successful.
150 Sending file to member Q5799PTL in file Q5799PTL in library QGPL.
250 File transfer completed successfully.
ftp: 81150432 bytes received in 47.91 seconds (1654 Kbytes/s)
ftp> quit
221 QUIT subcommand received.

Das auszuführen ist soweit kein Problem! Auf der AS400 im Verzeichnis QGPL befindet sich nun ein Ordner mit Q5799PTL.File in dem eine Datei vorhanden ist - q5799ptl.mbr.

Jetzt möchte ich aber dieses File bzw. das Programm installieren mit folgemdem Befehl(laut Beschreibung):
4. Install 5799PTL from the Save File with this command:
RSTLICPGM LICPGM(5799PTL) DEV(*SAVF) LNG(2924) SAVF(QGPL/Q5799PTL)

Das kann aber nicht funktionieren weil das ja kein Save File ist !

Ich bin kein AS400 Spezialist, deshalb meine Frage:
Wie kann nich das Save File als "ganzes" auf die AS400 transferieren oder mit welchem Befehl kann ich die Datei installieren(q5799ptl.mbr).

Danke im vorhinein für eure Hilfe!!!

Mfg Horst

TARASIK
18-08-06, 07:02
Hallo Horst,
dann musst Du nun zuerst dieses "Q5799PTL.File" einmal löschen
und vor dem erneuten übertragen ein crtsavf Q5799PTL
machen.

ExAzubi
18-08-06, 07:06
Erstell ein leeres SAV-File in der QGPL

CRTSAVF FILE(QGPL/Q5799PTL)

und übertrage die Datei dann dorthin, dann klappt es.

Ich gehe immer so vor

AS400 : CRTSAVF LIB/FILE

PC:
FTP MYSYSTEM
>>Anmelden<<
bin

CD LIB

put filte SAVF

QUIT

RSTLIB

etc.

wuwu
18-08-06, 07:13
Hallo,

vielen Dank für eure schnelle & "RICHTIGE" Hilfe. Hat geklappt, die AS400 rödelt bereits!

Mit go licpgm & Option 10 - Anzeige kann ich dann sehen ob die Installation erfolgreich war, oder?

Mfg Horst

Fuerchau
18-08-06, 08:03
Mit GO LICPGM kannst du nur IBM's Lizenzprogramme bzw. Anwendungen, die IBM's Lizenz-API's verwenden prüfen.

Ansonsten gibt der RSTxxx-Befehl doch aus, ob der Restore komplett erfolgreich war.

PTF's können per DSPPTF geprüft werden.

Noch zum FTP:

per

quote site namefmt 1
put q5799ptl.savf /qsys.lib/qgpl.lib/q5799ptl.savf

ist ein vorheriges CRTSAVF nicht erforderlich.

wuwu
18-08-06, 08:09
VIELEN DANK,

hat alles SUPER GEKLAPPT!

DANKE,
Mfg Horst