Relative newbie to using Uniquery. I've found some helpful documentation and answers from prior users posting here, and on other sites. I'm trying to document what we have in our U2 files, as we are exploring options to migrate historical data into a data warehouse running SQL.
I've been able to list out how files are structured with LIST DICT <<FILENAME>>
, as well as save those results to a file, which I'm then able to view in with Excel.
Once I've found this basic data, I wanted to take some sample data from each of these files. If I use, LIST <<FILENAME>> ALL TO DELIM "|" /TSTSAMPLE.TXT SAMPLE 300
, I am able to get this sample. However I was wondering if there's a way to create a tab delimited file instead of using pipe as the delimiter?
Another question I had was if anyone knew of a way to get the headers that go with the data being saved?
I've seen some suggestions of using XML, LIST <<FILENAME>> ALL TOXML
, which works, but it doesn't look like empty elements are placed into the saved file.
Have additionally been using, UDT.OPTIONS 91 ON
, to get any dates into a readable format for the saved file.
Thanks to any U2 pros who can offer suggestions.