Does anyone know of a way to export from Impromptu to a text file (such as a fixed length or width text file) in an undelimited format?
This is what CognosKB had to say:
Title: Macro to export data as text with out header and delimiter
Document ID: 74252
Solution description
1)Here is the actual macro syntax:
ReportDocument.ExportASCII FileName [,IncludeHeader] [,UseQuotes] [
,Delimiter] [,EOL]
2)Here is a sample macro code:
...
ImpRep.ExportASCII "E:\test\macro" & ".csv",0,0,,0
...
This is a well written technote, however the problem is that this method uses comma as a default (ASCII=44) for the [,Delimiter] parameter, when there is none specified. If you use (ASCII=0) = one whitespace. I can't win!
This is a sample of my current output (from a 1,600 character line):
125452 20020610 000045833 ...
Which I want to come out as this:
12545220020610000045833...
This is what CognosKB had to say:
Title: Macro to export data as text with out header and delimiter
Document ID: 74252
Solution description
1)Here is the actual macro syntax:
ReportDocument.ExportASCII FileName [,IncludeHeader] [,UseQuotes] [
,Delimiter] [,EOL]
2)Here is a sample macro code:
...
ImpRep.ExportASCII "E:\test\macro" & ".csv",0,0,,0
...
This is a well written technote, however the problem is that this method uses comma as a default (ASCII=44) for the [,Delimiter] parameter, when there is none specified. If you use (ASCII=0) = one whitespace. I can't win!
This is a sample of my current output (from a 1,600 character line):
125452 20020610 000045833 ...
Which I want to come out as this:
12545220020610000045833...