Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Problem saving as COM
Go
New
Search
Notify
Tools
Reply
  
Problem saving as COM
 Login/Join
 
Platinum Member
posted
I am running WebFocus 5.3 and 5.2.

My request looks like this:

SET NODATA = '';
-SET &CMD = 'FILEDEF PERFDATA DISK C:\IBSSHARE\DEVELOPMENT\IPCBOOKS\TEST.CSV';
&CMD
-RUN

TABLE FILE CAR
SUM SEATS
BY CAR
ACROSS MODEL
ON TABLE HOLD MISSING ON AS PERFDATA FORMAT COM
END

The output looks like this:
"ALFA ROMEO",0,4,2,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0
"AUDI",5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
"BMW",0,0,0,0,5,4,5,5,0,5,5,0,0,0,0,0,0,0
"DATSUN",0,0,0,0,0,0,0,0,0,0,0,4,0,0,0,0,0,0

I want it to look like this:
"ALFA ROMEO",,4,2,2,,,,,,,,,,,,,,
"AUDI",5,,,,,,,,,,,,,,,,,
"BMW",,,,,5,4,5,5,,5,5,,,,,,,
"DATSUN",,,,,,,,,,,,4,,,,,,

This file eventually gets opened by Excel but before that happens the file gets more rows appended to it from another process. The user wants blanks in the cells and not zero's.

Thankyou,

Lenny
 
Posts: 105 | Location: Boston | Registered: April 23, 2003Reply With QuoteReport This Post
Platinum Member
posted Hide Post
I just found my answer.

There if a new set command:

SET NULL = ON

This fixed the problem.

Lenny
 
Posts: 105 | Location: Boston | Registered: April 23, 2003Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Problem saving as COM

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.