Hi Team,
I have a delimited file ( delimiter is "."). When I am trying to send the file by using JCL in .csv format. I am getting all the fields in only one column.
Input
BALESH.123.ABC.789
Expected outcome:
BALESH 123 ABC 789 in four different columns on the .csv file.
Please help me to fix this.
Regards,
Balesh GG
Issue with .csv file when sending it through email by JCL
-
- Global moderator
- Posts: 3720
- Joined: Sat Dec 19, 2009 8:32 pm
- Skillset: Systems programming, SAS, COBOL, CICS, JCL, SMS, VSAM, etc.
- Referer: other forum
- Location: Dubuque, Iowa, USA
Re: Issue with .csv file when sending it through email by JC
Your output file will be BALESH.123.ABC.789 -- EXACTLY WHAT THE INPUT DATA SET WAS! It is up to you to MANUALLY open the .csv file in Excel; once you do that and tell Excel to use the period as a field separator you will have the data in 4 columns in Excel.
You provided your expected output, but you did NOT provide any information about the difference between your expected output and the actual output.
You provided your expected output, but you did NOT provide any information about the difference between your expected output and the actual output.
Re: Issue with .csv file when sending it through email by JC
Hi Robert,
Sorry for not providing the complete information.
Current outcome:
BALESH.123.ABC.789 which is populated in only one column of the .csv file
Expected outcome:
BALESH 123 ABC 789 in four different columns on the .csv file.
Please let me know if this information helps to help me
Regards,
Balesh GG
Sorry for not providing the complete information.
Current outcome:
BALESH.123.ABC.789 which is populated in only one column of the .csv file
Expected outcome:
BALESH 123 ABC 789 in four different columns on the .csv file.
Please let me know if this information helps to help me

Regards,
Balesh GG
-
- Global moderator
- Posts: 3025
- Joined: Sun Jul 04, 2010 12:13 am
- Skillset: JCL, PL/1, Rexx, Utilities and to a lesser extent (i.e. I have programmed using them) COBOL,DB2,IMS
- Referer: Google
- Location: Pushing up the daisies (almost)
Re: Issue with .csv file when sending it through email by JC
Have you told Excel that the fields are period-delimited and not comma-delimited?
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
Regards
Nic
-
- Similar Topics
- Replies
- Views
- Last post
-
-
Sending o/p file's content to spool withot adding extra step
by Misha786 » Tue Jan 12, 2021 6:51 pm » in JCL - 4
- 2025
-
by sergeyken
View the latest post
Tue Jan 12, 2021 11:28 pm
-
-
- 3
- 5036
-
by jrcox
View the latest post
Wed Jul 29, 2020 7:52 pm
-
- 1
- 1337
-
by jcdm
View the latest post
Mon Oct 24, 2022 6:10 pm
-
-
Code conversion issue while reading JCL using REXX
by vsgurunath » Fri Jun 19, 2020 10:19 pm » in CLIST & REXX - 11
- 4301
-
by vsgurunath
View the latest post
Thu Jun 25, 2020 4:08 pm
-
-
- 2
- 2263
-
by Terry Heinze
View the latest post
Tue Feb 15, 2022 9:13 pm