Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7
Default mainframe file to excel spreadsheet

When I use batch FTP to send a file from the mainframe ( flat file ) to a
server as an .xls file, I get three columns of data in the first cell ( A1 ).
I would like to know if there is a way to get each of the three pieces of
data per line into three separate cells ? The data looks like this:

OPER.DEVE 014 4/24/2007
OPER.PRDD 043 4/24/2007
OPER.PRDJ 052 4/24/2007

Thanks for any suggestions.

Dave Cox
United Stationers
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default mainframe file to excel spreadsheet

After you have the data in column A, select that column
Then Data|Text to columns
Delimited (by space)
and choose the correct format for each field/column

In fact, if the mainframe dataset is transferred as a text file onto your pc AND
you saved that file as a Text file (*.txt), then you should see this import
wizard when you open the file (via File|Open within excel).



Dave Cox wrote:

When I use batch FTP to send a file from the mainframe ( flat file ) to a
server as an .xls file, I get three columns of data in the first cell ( A1 ).
I would like to know if there is a way to get each of the three pieces of
data per line into three separate cells ? The data looks like this:

OPER.DEVE 014 4/24/2007
OPER.PRDD 043 4/24/2007
OPER.PRDJ 052 4/24/2007

Thanks for any suggestions.

Dave Cox
United Stationers


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7
Default mainframe file to excel spreadsheet

Thanks Dave for your response. I will try out your suggestion on Wednesday
and let you know how it goes. The file was FTP'ed to an .xls file directly,
so no interaction with .txt file format. My idea was to circumvent that
manual operation and go directly into a spreadsheet with the data. Each
field in the data, even though in column A as one whole piece, is separated
by two spaces within column A. I was hoping to get each of three fields in
its own cell through the FTP, but that is not possible.

Dave

"Dave Peterson" wrote:

After you have the data in column A, select that column
Then Data|Text to columns
Delimited (by space)
and choose the correct format for each field/column

In fact, if the mainframe dataset is transferred as a text file onto your pc AND
you saved that file as a Text file (*.txt), then you should see this import
wizard when you open the file (via File|Open within excel).



Dave Cox wrote:

When I use batch FTP to send a file from the mainframe ( flat file ) to a
server as an .xls file, I get three columns of data in the first cell ( A1 ).
I would like to know if there is a way to get each of the three pieces of
data per line into three separate cells ? The data looks like this:

OPER.DEVE 014 4/24/2007
OPER.PRDD 043 4/24/2007
OPER.PRDJ 052 4/24/2007

Thanks for any suggestions.

Dave Cox
United Stationers


--

Dave Peterson

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default mainframe file to excel spreadsheet

Just curious if the person who wrote the mainframe program that created the file
to be FTP'd created a text file and named it .xls.

You may want to use NotePad to look at that .xls file that was FTP'd (before you
bring it into excel). Remember to close NotePad without saving.



Dave Cox wrote:

Thanks Dave for your response. I will try out your suggestion on Wednesday
and let you know how it goes. The file was FTP'ed to an .xls file directly,
so no interaction with .txt file format. My idea was to circumvent that
manual operation and go directly into a spreadsheet with the data. Each
field in the data, even though in column A as one whole piece, is separated
by two spaces within column A. I was hoping to get each of three fields in
its own cell through the FTP, but that is not possible.

Dave

"Dave Peterson" wrote:

After you have the data in column A, select that column
Then Data|Text to columns
Delimited (by space)
and choose the correct format for each field/column

In fact, if the mainframe dataset is transferred as a text file onto your pc AND
you saved that file as a Text file (*.txt), then you should see this import
wizard when you open the file (via File|Open within excel).



Dave Cox wrote:

When I use batch FTP to send a file from the mainframe ( flat file ) to a
server as an .xls file, I get three columns of data in the first cell ( A1 ).
I would like to know if there is a way to get each of the three pieces of
data per line into three separate cells ? The data looks like this:

OPER.DEVE 014 4/24/2007
OPER.PRDD 043 4/24/2007
OPER.PRDJ 052 4/24/2007

Thanks for any suggestions.

Dave Cox
United Stationers


--

Dave Peterson


--

Dave Peterson
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7
Default mainframe file to excel spreadsheet

Dave,
I wrote the program, which was a little Easytrieve program, to create the
file from two different lpars on a shared pack and then used the FTP step
going directly from the mainframe file into an .xls spreadsheet. Not much
mystery about that, pretty straightforward. The only thing is the result. I
will try out your suggestion as soon as I can. I have several different
things on my plate at work right now. Thanks again.

Dave Cox

"Dave Peterson" wrote:

Just curious if the person who wrote the mainframe program that created the file
to be FTP'd created a text file and named it .xls.

You may want to use NotePad to look at that .xls file that was FTP'd (before you
bring it into excel). Remember to close NotePad without saving.



Dave Cox wrote:

Thanks Dave for your response. I will try out your suggestion on Wednesday
and let you know how it goes. The file was FTP'ed to an .xls file directly,
so no interaction with .txt file format. My idea was to circumvent that
manual operation and go directly into a spreadsheet with the data. Each
field in the data, even though in column A as one whole piece, is separated
by two spaces within column A. I was hoping to get each of three fields in
its own cell through the FTP, but that is not possible.

Dave

"Dave Peterson" wrote:

After you have the data in column A, select that column
Then Data|Text to columns
Delimited (by space)
and choose the correct format for each field/column

In fact, if the mainframe dataset is transferred as a text file onto your pc AND
you saved that file as a Text file (*.txt), then you should see this import
wizard when you open the file (via File|Open within excel).



Dave Cox wrote:

When I use batch FTP to send a file from the mainframe ( flat file ) to a
server as an .xls file, I get three columns of data in the first cell ( A1 ).
I would like to know if there is a way to get each of the three pieces of
data per line into three separate cells ? The data looks like this:

OPER.DEVE 014 4/24/2007
OPER.PRDD 043 4/24/2007
OPER.PRDJ 052 4/24/2007

Thanks for any suggestions.

Dave Cox
United Stationers

--

Dave Peterson


--

Dave Peterson



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default mainframe file to excel spreadsheet

I hope you're actually using Easytrieve (not Easytrieve Plus)! (1980 still
lives!)

I don't know what lpars means, but easytrieve is gonna just send a text file,
isn't it--not really an excel workbook.

Dave Cox wrote:

Dave,
I wrote the program, which was a little Easytrieve program, to create the
file from two different lpars on a shared pack and then used the FTP step
going directly from the mainframe file into an .xls spreadsheet. Not much
mystery about that, pretty straightforward. The only thing is the result. I
will try out your suggestion as soon as I can. I have several different
things on my plate at work right now. Thanks again.

Dave Cox

"Dave Peterson" wrote:

Just curious if the person who wrote the mainframe program that created the file
to be FTP'd created a text file and named it .xls.

You may want to use NotePad to look at that .xls file that was FTP'd (before you
bring it into excel). Remember to close NotePad without saving.



Dave Cox wrote:

Thanks Dave for your response. I will try out your suggestion on Wednesday
and let you know how it goes. The file was FTP'ed to an .xls file directly,
so no interaction with .txt file format. My idea was to circumvent that
manual operation and go directly into a spreadsheet with the data. Each
field in the data, even though in column A as one whole piece, is separated
by two spaces within column A. I was hoping to get each of three fields in
its own cell through the FTP, but that is not possible.

Dave

"Dave Peterson" wrote:

After you have the data in column A, select that column
Then Data|Text to columns
Delimited (by space)
and choose the correct format for each field/column

In fact, if the mainframe dataset is transferred as a text file onto your pc AND
you saved that file as a Text file (*.txt), then you should see this import
wizard when you open the file (via File|Open within excel).



Dave Cox wrote:

When I use batch FTP to send a file from the mainframe ( flat file ) to a
server as an .xls file, I get three columns of data in the first cell ( A1 ).
I would like to know if there is a way to get each of the three pieces of
data per line into three separate cells ? The data looks like this:

OPER.DEVE 014 4/24/2007
OPER.PRDD 043 4/24/2007
OPER.PRDJ 052 4/24/2007

Thanks for any suggestions.

Dave Cox
United Stationers

--

Dave Peterson


--

Dave Peterson


--

Dave Peterson
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Export EXCEL spreadsheet to .csv file [email protected] Excel Discussion (Misc queries) 5 June 8th 06 02:32 PM
How to transfer a mainframe file to excel sesh Links and Linking in Excel 4 May 2nd 05 08:19 PM
How to transfer a mainframe file to excel sesh Excel Discussion (Misc queries) 1 April 21st 05 01:18 PM
Embedding a file into an Excel spreadsheet? Ranjan Excel Worksheet Functions 0 March 24th 05 11:45 AM
Need to save file for mainframe Rick Excel Discussion (Misc queries) 2 February 15th 05 10:49 PM


All times are GMT +1. The time now is 07:01 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"