Show us the entire message please.
Perhaps it was "Can't find Fromfile?"
CPYFRMIMPF doesn't delete the Fromfile?
We'll probably need the command you issued also.
Phil
it is ok I can copy the File
I create a second Input File new and than it works
than I copy from the new File to the old File ok
I don't really understand but it works
JFRITZ
to complete the Message perhaps other have the same problem
OS400 V5R4
the Command is
CPYFRMIMPF FROMSTMF('/SX703/XSPT.DAT')
TOFILE(SX703#INIT/XSPT)
MBROPT(*REPLACE) RCDDLM(*ALL) STRDLM(*NONE) FLDDLM('^')
the Frome File Exist the record Format is
PDRSPKOM^Customer^Corp^1^0^0^0
PKSP^Customer^Site^1^0^0^0
the to File exist
SX703#INIT/XSPT
Create table xspt (
XSPTTABLENAME char(30),
XSPTSITEPRODUKTNAME char(50),
XSPTSITETYPE char(50),
XSPTDSHID decimal(1),
XSPTLOADDATA decimal(1),
XSPTSITE2SITE decimal(1),
XSPTSITE2CORP decimal(1)
, primary key( XSPTTABLENAME)
)
The Message was in German
------------------------------------------------------------------------------------
The Message before was
Nachrichten-ID . . . . : CPF2845 Bewertung . . . . . . : 40
Nachrichtenart . . . . : Diagnose
Sendedatum . . . . . . : 05.08.09 Sendezeit . . . . . . : 17:49:51
Nachricht . . . : Kopiervorgang aufgrund von Ursachencode 6 nicht
durchgeführt.
Ursache . . . . : Der Befehl CPYFRMIMPF (Aus Importdatei kopieren) oder der
Befehl CPYTOIMPF (In Importdatei kopieren) konnte aufgrund von Ursachencode
6 nicht durchgeführt werden. Ursachencodes: #
6 - Der Inhalt der Ausgangsdatei (FROMFILE) oder der Fehlersatzdatei
(ERRRCDFILE) kann nicht gelöscht werden.
------------------------------------------------------------------------------------
Last Wiki Answer Submitted: August 5, 2009 5:40 pm by 6666666666666666666635 pts.
If you live outside the United States, by submitting your email address you consent to having your personal data transferred to and processed in the United States.