My program is creating a delimited flat file on the mainframe. I want to send this file to various users using either IEBGENER or IBMFTP as a CSV file.
My problem is that although the file is sent successfully as a .CSV file but when the user opens the CSV file he finds that for some of the numeric strings which are actually text the leading zeroes get truncated for e.g a string of 01234 will display as 1234 only also the date fields are not getting displayed properly.
I would like to know what control statements should I specify in my control cards so that the data gets displayed correctly. I am showing below a sample control card which sends out the mail in .CSV format:
TO: CC: SUBJECT: Today's report
Please find the report attached.
Any help in this matter will be highly appreciated
June 29, 2005 1:17 AM
July 14, 2005 3:12 AM