Hi Silva
iSeries is actually easier to work with, in my
experience, because it tells you so much in
messages. CRPence hinted at how to understand
messages. Since you are new to the iSeries, allow
me to suggest some things to do. Remember,
messages often have additional information -
called second-level text - that tell you more
about the code - to get to this information,
press F1 after you put the cursor on the message.
This is where you can see the message ID, as well.
When you ask a question here, please tell us what
the message ID is. Chuck had to guess that it was
CPF2845. All messages have ID's.
After you press F1, it is sometimes helpful to
press F10 to see what other messages there are.
For the message you just sent, there is almost
certain to be another message that is more
obvious. This message mentions an error number
and is not very helpful - but it will cause
another message to be sent that IS helpful. And
something you may not know - many of us did not -
is to make a message ID from the error number -
CPE3025 is the message ID for error number 3025.
Try DSPMSGD CPE3025 and you will see that there
is no file or directory of the name that you
specified. But there really should be another
message that already told you that.
It is also sometimes helpful to press F9 after
you press F1 - this will tell you which program
sent the message and which program received it -
but that is not important in this case.
So, when you get a message - do this:
1. Put the cursor on the message and press F1 - to get more information
2. After pressing F1, press F10 to see what else the system told you
3. Maybe press F9 to see if it is in your program or in a system program
Messages are central to this computer - they
really make it much easier to work with than
other operating systems that tell you almost
nothing. I hope this helps you as you learn this system.
One place you should look at is InfoCenter -
www.iseries.ibm.com/infocenter - I looked at both
the V5R4 and V5R2 versions for Portuguese - they
have a section called "Gestão de sistemas" -
inside this is an item called "Basic system
operations" - inside that is an item called
"OS/400 concepts" or "i5/OS concepts" - this is a good starting place.
Another site is an overview of OS/400 -
http://www-03.ibm.com/servers/enable/site/porting/iseries/overview/overview.html
That link is included on this page - getting
started with developing on iSeries -
http://www-03.ibm.com/servers/enable/site/porting/iseries/overview/go.html
on the getting started page is a link to a web
presentation of a technical introduction to the iSeries family -
ftp://ftp.software.ibm.com/partnerworld/vic/hardware/downloads/z1a06.zip
I don't know if you have to be a partner to get
that one - you at least need an IBM ID on the
Internet - no problem getting that.
Regards
Vern
At 09:09 AM 9/3/2007, you wrote:
Hi,
I tried that command but now is returning me the error:
"An error occurred in system files. Error number 3025"
AS/400 is very hard.
Obrigado,
Marco Silva
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of CRPence
Sent: segunda-feira, 3 de Setembro de 2007 13:58
To: midrange-l@xxxxxxxxxxxx
Subject: Re: 11 code error CPYTOIMPF
Presumably you mean the error msg CPF2845 return code 11 [kwds:
msgCPF2845 rc11 F/QCPEXPRT]. The stream file as specified export
destination requires a valid record delimiter specification per F1=Help
on the message:
Message: CPF2845
Cause:
11 - The RCDDLM parameter for a stream file can only be
*CR, *CRLF, *LF, or *LFCR and for a data base file
the RCDDLM parameter can be *EOR or a valid value.
Recovery:
11 - Use the valid RCDDLM value for the parameter.
That would be suggesting to add for example, RCDDLM(*CRLF), to the
command string. For example, try instead:
CPYTOIMPF FROMFILE(EIQRY01/ITEMMASTER) RCDDLM(*CRLF)
TOSTMF('/QNTC/10.12.12.2/SHARED/seam/ITEMMASTER.TXT')
Regards, Chuck
--
All comments provided "as is" with no warranties of any kind
whatsoever and may not represent positions, strategies, nor views of my
employer
Silva Marco wrote:
> I'm trying to use this command and returns an erros saying: It wasn't
> copy because the 11 code reason
>
> CPYTOIMPF FROMFILE(EIQRY01/ITEMMASTER)
> TOSTMF('/QNTC/10.12.12.2/SHARED/seam/ITEMMASTER.TXT')
>
> What does it mean?
As an Amazon Associate we earn from qualifying purchases.