MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Create a Tab Delimited File

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
yadav2005
Intermediate


Joined: 10 Jan 2005
Posts: 348
Topics: 144

PostPosted: Tue Jun 17, 2008 10:33 am    Post subject: Create a Tab Delimited File Reply with quote

Members,

I want to create a Tab Delmited File and i have never worked on them.My requirement is that i have to create a Tab Delimited File and it will be downloaded to a xls spreadsheet and my requirement is to have a tab after each field.For example if my input file is like below:
Code:

111111ABCENGINEER

111111   - EMPNO
ABD      - DEPARTMENT NAME
ENGINEER - DESIGNATION

I want to create a File which will have a tab between each field and when downloaded to a xls and seen it will have values in each cell.Please let me know how i can insert a tab between each fields and how i can cofirm that i have inserted Tab.Thanks.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Tue Jun 17, 2008 10:37 am    Post subject: Reply with quote

yadav2005,

Check this link for an example of creating tab delimited file.

http://www.mvsforums.com/helpboards/viewtopic.php?p=1793#1793

Hope this helps...
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
yadav2005
Intermediate


Joined: 10 Jan 2005
Posts: 348
Topics: 144

PostPosted: Tue Jun 17, 2008 8:54 pm    Post subject: Reply with quote

Thanks Kolusu,

I am able to understand what Tab Delmited Files are and the example in the link helped me a lot.
Back to top
View user's profile Send private message
yadav2005
Intermediate


Joined: 10 Jan 2005
Posts: 348
Topics: 144

PostPosted: Wed Jun 18, 2008 8:24 am    Post subject: Reply with quote

Kolusu,

I have a question here , how could you say that Tab represents Hexadecimal value X'05', is there any link / document which has values for different symbols , can you please help me out.Thanks.
Back to top
View user's profile Send private message
Nic Clouston
Advanced


Joined: 01 Feb 2007
Posts: 1075
Topics: 7
Location: At Home

PostPosted: Wed Jun 18, 2008 8:35 am    Post subject: Reply with quote

Any EBCDIC chart should show what each hex value from x'00' to x'ff' represents. The same for an ASCII chart. Sometimes these are in language reference manuals (but not always). They are always on a System Reference Summary pamphlet available from IBM - sorry, don't know the form number.
_________________
Utility and Program control cards are NOT, repeat NOT, JCL.
Back to top
View user's profile Send private message
Nic Clouston
Advanced


Joined: 01 Feb 2007
Posts: 1075
Topics: 7
Location: At Home

PostPosted: Wed Jun 18, 2008 9:10 am    Post subject: Reply with quote

I thought I would find the form number for the Reference Summary, which I did. I then went to the part where I thought it would say x'05' is TAB. It didn't - it said it is HT. Foot-in-mouth syndrome? No! Just below the table, in the notes, I found HT translates, in English, to Horizontal Tab. Saved!

The form number is: SA22-7871-02

Note: the last pair of digits is the version number so 03 may be available.
_________________
Utility and Program control cards are NOT, repeat NOT, JCL.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group