IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to convert Flat File to CSV in batch


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
barthwalsamarth

New User


Joined: 03 Aug 2006
Posts: 9

PostPosted: Tue Nov 23, 2010 11:20 am
Reply with quote

Hi

I have a requirement where I need to convert a flat file to CSV file and then I may have to FTP/NDM the file.

Can you please suggest any utility or process to do the conversion in batch.


Thank You
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8798
Location: Welsh Wales

PostPosted: Tue Nov 23, 2010 12:43 pm
Reply with quote

Can barthwalsamarth please search the forum as this has been asked and answered.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19243
Location: Inside the Matrix

PostPosted: Tue Nov 23, 2010 9:39 pm
Reply with quote

Hello,

When i need to create a downloadable/delimited file i use STRING in a bit of cobol code. Typically, i use the tab character (x'05') for the delimiter as this does not occur in text data and is easily used after the download.

Make sure the file to be downloaded contains no packed-decimal or binary data.
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts Free space of a mulitvolume PS datase... TSO/ISPF 7
No new posts IGYPG3178-I when compiling a pgm read... COBOL Programming 6
No new posts FileAid move data from two files to o... Compuware & Other Tools 5
No new posts Sorting date into YYYYMMDD, and creat... DFSORT/ICETOOL 13
No new posts How to close Datacom MUF URT used by ... CICS 0
Search our Forums:


Back to Top