PDA

View Full Version : FTP AS400 NACH MVS



RoRa
25-07-12, 10:59
Hallo Zusammen,

ich soll per FTP Dateien von der AS400 ( aus IFS ) an einen HOST ( MVS-System ) übertragen. Was ist dabei zu beachten? ( Datasetnamen in mehreren Hochkommata , Blocklänge etc.)

Vielen Dank

TARASIK
25-07-12, 12:35
Hallo,
vielleicht hilft Dir dies weiter:

Problems Sending Packed Files Using FTP
Incident Summary

Problem Summary:
When sending a database file containing packed fields from an IBM iSeries system to the MVS, the packed fields do not transfer correctly (they appear to be translated and are unintelligible).

Resolution:
The transfer of packed/zoned fields between different platforms is not a supported function of FTP. However, because an MVS machine is inherently an EBCDIC machine, there is a work-around that often works. This work-around is to transfer the file in EBCDIC Block mode. However, you will likely eventually discover that this method also has problems.

If the data in the packed (or any special numeric format) field happens to contain a hex '15' character, that figure will be interpreted by the iSeries system as an End-of-Record indicator, resulting in a truncated record. This may also cause the file transfer to fail. To ensure good data integrity, special numeric formats should be changed to character fields prior to doing a file transfer with FTP.

References:
Refer to the following publication:

TCP/IP Configuration and Reference , SC41-5420

TARASIK
25-07-12, 12:37
Hier noch etwas:

I receive message FTP 501 - Use MVS Dataset Name Convention when doing FTP from the IBM Power Systems to an IBM MVS system. The Power Systems is the client.

Resolution:
To resolve the problem, do the following:
1 FTP to the MVS system.
2 Type BIN .
3 Type PUT and ensure that there are triple single quotes (three apostrophes), ''', around the data set name.

RoRa
25-07-12, 13:14
Hallo,

vielen Dank für die Antwort. Die Dateien wurden per cpytostmf in das IFS kopiert. Liegen dort als txt Datei vor. Mit Bin + three apostrophes ist schon eine gute Information. Muss ich vor dem put eigentlich noch ein site mit der Blocklänge absetzen ( site unit = perm LRECL = XXX )

Gruss

RoRa