PDA

View Full Version : Cpytoimpf



horst
28-06-01, 14:31
Hallo,

ich möchte AS-Dateien direkt in das QNTC mit
cpytoimpf kopieren,scheitere aber an der ccsid.
Weiss jemand Rat ??

vielen Dank im voraus

Horst

vill
28-06-01, 16:35
Hallo,

eine von IBM zugegebene Schwäche von CPYTOIMPF ist, daß die Zieldatei zuvor schon als ASCII-formatiert existieren muß.

Hierzu kann man eine Vorlage von der PC-Seite oder innerhalb der AS/400 mit Angabe der Ziel-CCSID kopieren.

HTH
Dietmar Vill

Bruno Jakob
29-06-01, 06:59
Mit dem QSH-Befehl touch kann man auch eine leere Datei anlegen und dabei die CCSID angeben.

Gruß
Bruno

RM
19-07-01, 13:02
PTFs für CPYTOIMPF, die das Problem Codepage beseitigen:
STMFCODPAG parameter for CPYTOIMPF
This allows you to specify the code page of the target stream file. In the past, you would use another tool or command to first create the stream file with the desired code page to
override the default behavior of the command.
V4R4 PTF numbers are: SF61859 & SF61937
Weitere möglicherweise interessante Infos
unter http://www.as400.ibm.com/developer/factory/downloads/dataloader.pdf

Rolf

[Dieser Beitrag wurde von RM am 19. Juli 2001 editiert.]

[Dieser Beitrag wurde von RM am 19. Juli 2001 editiert.]