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

XMITIP, sending the mainframe data in .CSV format


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
dharmaraok

New User


Joined: 10 Mar 2011
Posts: 45
Location: india

PostPosted: Fri Aug 21, 2015 4:29 pm
Reply with quote

Through XMITIP I am sending the mainframe data in .CSV format.

Eg:

Account
00012

When I opened the execl sheet. I am seeing the Account a "12" instead of "00012".

Could you please let me know how to transmit the data without truncation of leading zeroes through XMIT command.
Back to top
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7311
Location: Inside the Matrix

PostPosted: Fri Aug 21, 2015 4:31 pm
Reply with quote

Look at your .CSV file. Are the leading zeros there? Do you know how to "format" a cell in Excel?
Back to top
View user's profile Send private message
dharmaraok

New User


Joined: 10 Mar 2011
Posts: 45
Location: india

PostPosted: Fri Aug 21, 2015 4:36 pm
Reply with quote

There are no leading zeroes in the excell cell. I don want to format the cell. It should come as it is .
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 2455
Location: Hampshire, UK

PostPosted: Fri Aug 21, 2015 4:39 pm
Reply with quote

Then make it a text field - excel removes leading zeros from numerics.
Back to top
View user's profile Send private message
dharmaraok

New User


Joined: 10 Mar 2011
Posts: 45
Location: india

PostPosted: Fri Aug 21, 2015 4:41 pm
Reply with quote

Thanks Nic,

How to make the field into a text field
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 2455
Location: Hampshire, UK

PostPosted: Fri Aug 21, 2015 4:45 pm
Reply with quote

Put quotes around the data. How else?
Back to top
View user's profile Send private message
dharmaraok

New User


Joined: 10 Mar 2011
Posts: 45
Location: india

PostPosted: Fri Aug 21, 2015 4:48 pm
Reply with quote

Thanks
Back to top
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7311
Location: Inside the Matrix

PostPosted: Fri Aug 21, 2015 4:48 pm
Reply with quote

I didn't ask about what was in the cell, you already complained about that. I asked about what is in the .CSV. The leading zeros will be there. You can "format" the cell so that it does not suppress the leading zeros.
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 -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts Printing a dataset in DUMP format wit... ABENDS & Debugging 2
No new posts Looking for mainframe developers Mainframe Jobs 0
No new posts compare two file to find position/dat... SYNCSORT 2
No new posts Secondary index error while loading d... IMS DB/DC 2
No new posts Converting a file from PD to display ... SYNCSORT 4
Search our Forums:

Back to Top