CPYFRMIMPF in CL vs CPYFRMIMPF in command line

20 pts.
Tags:
AS/400 CSV
CPYFRNIMPF
If i type: CPYFRMIMPF FROMSTMF('/INTRA/STANDARD.CSV') + TOFILE(INTRA400DM/TESTCSVF00) + MBROPT(*REPLACE) RCDDLM(*CRLF) + FLDDLM(';') DECPNT(*COMMA) FROMRCD(2) + RPLNULLVAL(*FLDDFT) IDCOL(*FROMFLD) in command line all works fine. If i try same command in CL, in the TESTCSVF00 file are copied olny first 20 characters. Example of STANDARD.CSV Document date,Postg Date,Document no.,Reference,Vendor,Business PartnerName,VAT registration no.,Tax base amount,Importo in valuta,Output Tax Pay.,Gross amount,Curr.,Codice servizio,erogazione,incasso,pagamento 27.02.2014,28.02.2014,23001910,149127,316,,ATU52034105,-2650.00,,-583.00,-3233.00,EUR,749020,I,B,IT 21.02.2014,24.02.2014,21001149,1447278,10001,Vendor name AB,SE556050039801,-8690.65,,-1911.94,-10602.59,EUR,749020,I,B,CH TESTCSVF00 file is Document date,Postg 27.02.2014,28.02.201 21.02.2014,24.02.201 Why ? Any suggestion willbe appreciated Paolo (Italy) i-Series os400 V5R4

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Discuss This Question: 3  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • CharlieBrowne

    Did you check for any error message?


    41,370 pointsBadges:
    report
  • CharlieBrowne

    Also, if there are duplicates of the input file on your system, check to see if your library list is causing the problem.

    41,370 pointsBadges:
    report
  • paolopanini
    thank you Browne for the replay.
    1- no errors occured and 2- the input file exist only once in the library list
    20 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following