![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I am using Universe on a Unix box, is there a way to process an excel file in Universe |
#3
| |||
| |||
|
|
I am using Universe on a Unix box, is there a way to process an excel file in Universe |
#4
| |||
| |||
|
|
I am using Universe on a Unix box, is there a way to process an excel file in Universe |
#5
| |||
| |||
|
|
On Jan 19, 6:41*pm, Sami <samimassar... (AT) gmail (DOT) com> wrote: I am using Universe on a Unix box, is there a way to process an excel file in Universe We are on QM but the concept is the same. We put the excel file on a samba drive. Set a pointer to the directory. Open the record in basic and just process it. Eugene |
#6
| |||
| |||
|
|
eppick77 wrote: On Jan 19, 6:41 pm, Sami<samimassar... (AT) gmail (DOT) com> wrote: I am using Universe on a Unix box, is there a way to process an excel file in Universe We are on QM but the concept is the same. We put the excel file on a samba drive. Set a pointer to the directory. Open the record in basic and just process it. Eugene Eugene, in order to "open the record" and "just process it", the record (excel file) needs to be text (XML), not binary. Excel files can be either, depending on where they came from. I'd be interested in both your source file format as well as the QM interface. I'll mention that years ago I proposed to PS/RD/TL that they publish the API for the OPEN Systems File Interface so that I could create a driver which would indeed allow us to do something like this: OPEN "XLS:WORKBOOK.XLS,SHEET1" TO FV ELSE STOP READ ROW1 FROM FV,"1" ELSE STOP COL_B = ROW1<2> ; * etc |
|
In their wisdom the folks at PS/RD/TL have never seen that as having any value, I bring up the subject again every couple years. That could also be extended to web services: OPEN "WS:http://myserver/ws/GetCity" TO FV ELSE STOP READ RESULT FROM FV,POSTALCODE ELSE STOP CRT "City is ": RESULT<1 |
|
BASIC can be used for a Lot of things like this, if only the DBMS vendors had a little vision. I believe it's possible to create drivers like this for QM. Using the C interfaces in Universe, Unidata, QM, D3, and others, it's possible to do all of this with slightly irregular syntax. And that is another answer for the OP's question "is there a way". Yes, Universe/*nix can reach out to a remote Windows server and retrieve and process a binary Excel file, as can any other MV system, but it would take some coding. T -- |
#7
| |||
| |||
|
|
eppick77 wrote: On Jan 19, 6:41*pm, Sami <samimassar... (AT) gmail (DOT) com> wrote: I am using Universe on a Unix box, is there a way to process an excel file in Universe We are on QM but the concept is the same. We put the excel file on a samba drive. *Set a pointer to the directory. *Open the record in basic and just process it. Eugene Eugene, in order to "open the record" and "just process it", the record (excel file) needs to be text (XML), not binary. *Excel files can be either, depending on where they came from. *I'd be interested in both your source file format as well as the QM interface. I'll mention that years ago I proposed to PS/RD/TL that they publish the API for the OPEN Systems File Interface so that I could create a driver which would indeed allow us to do something like this: * OPEN "XLS:WORKBOOK.XLS,SHEET1" TO FV ELSE STOP * READ ROW1 FROM FV,"1" ELSE STOP * COL_B = ROW1<2> ; * etc In their wisdom the folks at PS/RD/TL have never seen that as having any value, I bring up the subject again every couple years. *That could also be extended to web services: * OPEN "WS:http://myserver/ws/GetCity" TO FV ELSE STOP * READ RESULT FROM FV,POSTALCODE ELSE STOP * CRT "City is ": RESULT<1 BASIC can be used for a Lot of things like this, if only the DBMS vendors had a little vision. I believe it's possible to create drivers like this for QM. *Using the C interfaces in Universe, Unidata, QM, D3, and others, it's possible to do all of this with slightly irregular syntax. *And that is another answer for the OP's question "is there a way". *Yes, Universe/*nix can reach out to a remote Windows server and retrieve and process a binary Excel file, as can any other MV system, but it would take some coding. T |
#8
| |||
| |||
|
|
eppick77 wrote: On Jan 19, 6:41 pm, Sami <samimassar... (AT) gmail (DOT) com> wrote: I am using Universe on a Unix box, is there a way to process an excel file in Universe We are on QM but the concept is the same. We put the excel file on a samba drive. Set a pointer to the directory. Open the record in basic and just process it. Eugene Eugene, in order to "open the record" and "just process it", the record (excel file) needs to be text (XML), not binary. Excel files can be either, depending on where they came from. I'd be interested in both your source file format as well as the QM interface. I'll mention that years ago I proposed to PS/RD/TL that they publish the API for the OPEN Systems File Interface so that I could create a driver which would indeed allow us to do something like this: OPEN "XLS:WORKBOOK.XLS,SHEET1" TO FV ELSE STOP READ ROW1 FROM FV,"1" ELSE STOP COL_B = ROW1<2> ; * etc In their wisdom the folks at PS/RD/TL have never seen that as having any value, I bring up the subject again every couple years. That could also be extended to web services: OPEN "WS:http://myserver/ws/GetCity" TO FV ELSE STOP READ RESULT FROM FV,POSTALCODE ELSE STOP CRT "City is ": RESULT<1 BASIC can be used for a Lot of things like this, if only the DBMS vendors had a little vision. I believe it's possible to create drivers like this for QM. Using the C interfaces in Universe, Unidata, QM, D3, and others, it's possible to do all of this with slightly irregular syntax. And that is another answer for the OP's question "is there a way". Yes, Universe/*nix can reach out to a remote Windows server and retrieve and process a binary Excel file, as can any other MV system, but it would take some coding. T |
#9
| |||
| |||
|
|
"Tony Gravagno" <tony_grava... (AT) nospam (DOT) invalid> wrote in message news:2hugj69pp6ntjfn7flfr0bbhna64d5r3l9 (AT) 4ax (DOT) com... eppick77 wrote: On Jan 19, 6:41 pm, Sami <samimassar... (AT) gmail (DOT) com> wrote: I am using Universe on a Unix box, is there a way to process an excel file in Universe We are on QM but the concept is the same. We put the excel file on a samba drive. *Set a pointer to the directory. *Open the record in basic and just process it. Eugene Eugene, in order to "open the record" and "just process it", the record (excel file) needs to be text (XML), not binary. *Excel files can be either, depending on where they came from. *I'd be interested in both your source file format as well as the QM interface. I'll mention that years ago I proposed to PS/RD/TL that they publish the API for the OPEN Systems File Interface so that I could create a driver which would indeed allow us to do something like this: *OPEN "XLS:WORKBOOK.XLS,SHEET1" TO FV ELSE STOP *READ ROW1 FROM FV,"1" ELSE STOP *COL_B = ROW1<2> ; * etc In their wisdom the folks at PS/RD/TL have never seen that as having any value, I bring up the subject again every couple years. *That could also be extended to web services: *OPEN "WS:http://myserver/ws/GetCity" TO FV ELSE STOP *READ RESULT FROM FV,POSTALCODE ELSE STOP *CRT "City is ": RESULT<1 BASIC can be used for a Lot of things like this, if only the DBMS vendors had a little vision. I believe it's possible to create drivers like this for QM. *Using the C interfaces in Universe, Unidata, QM, D3, and others, it's possible to do all of this with slightly irregular syntax. *And that is another answer for the OP's question "is there a way". *Yes, Universe/*nix can reach out to a remote Windows server and retrieve and process a binary Excel file, as can any other MV system, but it would take some coding. T Tony, To get Excel to open and process a file there is another way. *Create atab delimited text file and give it a .xls extension. *Excel will open thisas though it is an Excel file, though in fact it is running the text import silently. *We do this all the time. Agreed wholeheartedly about your OSFI ideas. *Big trick missed. Brett- Hide quoted text - - Show quoted text - |
#10
| |||
| |||
|
|
as part of a data migration from legacy (non-Pick) systems to SAP. |

![]() |
| Thread Tools | |
| Display Modes | |
| |