Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

comma-delimited as400 file 1

Status
Not open for further replies.

ladeecroft

Programmer
Oct 6, 2003
19
PH
hi everyone!

i hope somebody could help me with my dillema. Im using CPYTOPCD command in my CL program to copy files to a common PC folder which will be accessed by a VB program. I need this files to be comma delimited when i download them to the common PC folder. Any help will be appreciated.Thanks!
 
Copy To Import File (CPYTOIMPF) will allow you to specify a CSV output format.
 
The only problem with the CPYTOIMPF command is that it leaves the blanks in the field, it doesn't trim them. I've written my own program to create CSV output.

RedMage1967
IBM Certifed - RPG IV Progammer
 
thanks a lot guys!!

i was able to use CPYTOIMPF in my CL program and it worked!


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top