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

Sort utility to create CSV format


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sanisumi

New User


Joined: 01 Aug 2006
Posts: 2

PostPosted: Tue Aug 01, 2006 3:58 pm
Reply with quote

Hi,

I have a PS file which I need to SMTP as an attachment. I have to convert the PS file into CSV format before doing smtp. I have heard this can be done through sort utility. Could someone help me out in this.

Regards.
Back to top
View user's profile Send private message
Indrajit Banerjee

New User


Joined: 01 Jun 2005
Posts: 5

PostPosted: Tue Aug 01, 2006 5:01 pm
Reply with quote

In the sort step you need to put 'commas' in the OUTREC so that the outfile that comes has commas between different fields. You can now download the output file with .CSV as the extension.
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Developer


Joined: 15 Feb 2005
Posts: 7129
Location: San Jose, CA

PostPosted: Sat Aug 05, 2006 10:14 pm
Reply with quote

You can probably do what you want with DFSORT's SQZ function, but you need to be more specific about what you're trying to do. Show an example of the records in the input file and what you want for output. Also, give the RECFM and LRECL of the input file.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts How to split large record length file... DFSORT/ICETOOL 8
No new posts Populate last day of the Month in MMD... SYNCSORT 2
No new posts Modifying Date Format Using DFSORT DFSORT/ICETOOL 9
No new posts JCL sort card - get first day and las... JCL & VSAM 9
No new posts Need to convert date format DFSORT/ICETOOL 20
Search our Forums:

Back to Top