Paul - I was mistaken, $5.90 is stored as "00000000590F", $5.95 is
"00000000590F", and ($5.95) is "00000000590D".
I allowed the file transfer process to convert EBCDIC to ASCII (but I can
re-run that and change the conversion properties at any time).
What is "MVS/CMS PIPELINEs"? I've Googled it and only come up with a
product from a company named XEPHON. I'd probably just write a mainframe
program to do what I need before I would buy another mainframe product - I
was hoping to learn that I had overlooked some built-in function in Excel
that could do this for me.
Thanks for your response.
Dave
> > I've copied a file from an IBM Mainframe computer to my PC and need
> > to do some analysis in Excel. Some of the fields in the file are
[quoted text clipped - 14 lines]
>
> Also what is the format of the file now that it is on the PC?
Paul Lautman - 13 Jun 2006 14:48 GMT
> Paul - I was mistaken, $5.90 is stored as "00000000590F", $5.95 is
> "00000000590F", and ($5.95) is "00000000590D".
That's more like what I was expecting!
> I allowed the file transfer process to convert EBCDIC to ASCII (but I
> can re-run that and change the conversion properties at any time).
>
> What is "MVS/CMS PIPELINEs"?
Take a look at http://vm.marist.edu/~pipeline/
PIPELINES is part of VM, so if you're working on VM/CMS then you've already
got it.
If you're working on MVS/TSO then you MAY already have it as BatchPipes or
even installed as the full PIPELINEs module. PIPELINEs is VERY powerful!
> I was hoping to learn that I had overlooked some
> built-in function in Excel that could do this for me.
All may not be lost though even as it is. You didn't answer my final, but
very important, question :
"Also what is the format of the file now that it is on the PC?"
If you can show some sample records (or parts of records) from the file,
then we'll see what we can do. I have spent many years using things like 123
and Excel to analyse data from IBM mainframes.
Pete_UK - 13 Jun 2006 14:59 GMT
If you have imported to cell A1 the text value "00000000590D" (or with
F at the end to indicate positive), the following formula will convert
this in Excel:
IF(RIGHT(A1,1)="D",-VALUE(LEFT(A1,LEN(A1)-1))/10,VALUE(LEFT(A1,LEN(A1)-1))/10)
This can be copied down the column to convert any other values you may
have in column A.
Hope this helps.
Pete
> Paul - I was mistaken, $5.90 is stored as "00000000590F", $5.95 is
> "00000000590F", and ($5.95) is "00000000590D".
[quoted text clipped - 29 lines]
> >
> > Also what is the format of the file now that it is on the PC?