CRTCSVDTA

2505 pts.
Tags:
AS/400
I am making a CSV file from a PF which has a character field which holds a numeric decimal data. Eg 9,500.000000. But when it becomes a csv data, the value became 9.500.000000. (',' is converted to a period) I can see FLDDEL ',' and a RPLFLDDEL '.' as default. I dont want to convert the comma in the string which holds numeric data. Please help

Software/Hardware used:
AS400

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.

Discuss This Question: 1  Reply

 
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.
  • TomLiotta
    I dont want to convert the comma in the string which holds numeric data.   Then you can't use FLDDEL ',' and a RPLFLDDEL '.'. What alternatives are available for RPLFLDDEL?   If you can't change RPLFLDDEL to *NONE or to some similar value, you must either not use CRTCSVDTA or not have numeric values in character fields that have commas in them. Remove the comma or use a different command.   Tom
    125,585 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.

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

Following

Share this item with your network: