Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only. Moving forward, myibi is our community platform to learn, share, and collaborate. We have the same Focal Point forum categories in myibi, so you can continue to have all new conversations there. If you need access to myibi, contact us at myibi@ibi.com and provide your corporate email address, company, and name.


Connect to myibi
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Suppress column title in across with multi verb

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Suppress column title in across with multi verb
 Login/Join
 
Gold member
posted
I have found a few posts on focal point that talk about suppressing collumn titles using across. But I am trying to do this in a multi verb request and it seems to be unique.
I am counting records across weeks, then summing defined counts in a separate verb request. Here are my defines:
DEFINE FILE TABLE1
ACTDAY / WT=OPN_DT;
ACTOPEN/WMTDYY=
IF ACTDAY EQ 'MON' THEN OPN_DT ELSE
IF ACTDAY EQ 'TUE' THEN OPN_DT - 1 ELSE
IF ACTDAY EQ 'WED' THEN OPN_DT - 2 ELSE
IF ACTDAY EQ 'THU' THEN OPN_DT - 3 ELSE
IF ACTDAY EQ 'FRI' THEN OPN_DT - 4 ELSE
IF ACTDAY EQ 'SAT' THEN OPN_DT - 5 ELSE
OPN_DT - 6;
OPENWEEK/MTDY = ACTOPEN;
CURRMTH_CNT/I8=IF ( OPN_DT GE '&MONTH0') THEN 1 ELSE 0;
PROMO_CNT/I8=1;
END

Then:
SUM
PROMO_CNT/I8C AS 'PROGRAM,TO DATE'
CURRMTH_CNT/I8C AS 'MONTH,TO DATE'
BY PRODUCT AS 'PRODUCT'
SUM
'CNT.ACCOUNTS/I5C' AS ' '
BY PRODUCT AS 'PRODUCT'
ACROSS OPENWEEK AS 'WEEK OPENED'
ON TABLE SUBHEAD
ON TABLE PCHOLD FORMAT EXL2K
END

Thanks all.


WF (App Studio) 8.2.01m / Windows
Mainframe FOCUS 8
 
Posts: 93 | Registered: February 20, 2008Report This Post
Virtuoso
posted Hide Post
Bob,

What exactly is your problem or question?
I have tried a similar example, and got the results I expected. My code:
TABLE FILE CAR
SUM DCOST
BY CAR
SUM SEATS/I8M
BY ACR
ACROSS COUNTRY
ON TABLE PCHOLD FORMAT EXL2K
END

My excel sheet shows with no title for the seats field.
I ran this in 769.


GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
 
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007Report This Post
Expert
posted Hide Post
GamP,

I suspect a little speed posting here Wink I guess you meant to give this code -
quote:
TABLE FILE CAR
SUM DCOST
BY CAR
SUM SEATS/I8M AS ''
BY CAR
ACROSS COUNTRY
ON TABLE PCHOLD FORMAT EXL2K
END

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Virtuoso
posted Hide Post
T,

Your suspicion is spot-on.
Thanks for correcting me. It is exactly what I had in mind. Well, actually is was on my off-line PC.


GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
 
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Suppress column title in across with multi verb

Copyright © 1996-2020 Information Builders