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.
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.