Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

XMITIP, sending the mainframe data in .CSV format

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
dharmaraok

New User


Joined: 10 Mar 2011
Posts: 30
Location: india

PostPosted: Fri Aug 21, 2015 4:29 pm    Post subject: XMITIP, sending the mainframe data in .CSV format
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

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7306

PostPosted: Fri Aug 21, 2015 4:31 pm    Post subject: Reply to: XMITIP PROBLEM
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: 30
Location: india

PostPosted: Fri Aug 21, 2015 4:36 pm    Post subject:
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: 1755
Location: UK

PostPosted: Fri Aug 21, 2015 4:39 pm    Post subject:
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: 30
Location: india

PostPosted: Fri Aug 21, 2015 4:41 pm    Post subject:
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: 1755
Location: UK

PostPosted: Fri Aug 21, 2015 4:45 pm    Post subject:
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: 30
Location: india

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

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

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7306

PostPosted: Fri Aug 21, 2015 4:48 pm    Post subject: Reply to: XMITIP PROBLEM
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    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts FTP from Mainframe to Unix - with CRLF vasanthz All Other Mainframe Topics 6 Thu Mar 23, 2017 5:12 am
No new posts How to pick only YYMMDD from DATE1P (... atulbaviskar SYNCSORT 7 Wed Mar 22, 2017 11:39 am
No new posts Want to pull the job log into a Mainf... Jishu Mukherjee Compuware & Other Tools 9 Tue Mar 21, 2017 4:48 pm
No new posts Export flat file data into excel sheet murali.andaluri DFSORT/ICETOOL 2 Mon Mar 20, 2017 5:39 pm
No new posts Date and time format in CICS Chandru3183 CICS 2 Sat Mar 18, 2017 12:46 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us