Focal Point
Can FOCUS ignore spaces in a SUBFOOT when writing HTML?

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/2051005761

May 11, 2006, 11:39 AM
Anonymouse
Can FOCUS ignore spaces in a SUBFOOT when writing HTML?
The 80 character focexec line limit in mainframe FOCUS requires that I split my SUBFOOT line specification into two lines of code:

ON MONTH SUBFOOT
"MONTH TOTAL:< ST.FIELD01< ST.FIELD02< ST.FIELD03< ST.FIELD04< FIELD05
< FIELD06< ST.FIELD07< ST.FIELD08< ST.FIELD09< FIELD10< FIELD11"

When I create a FORMAT HTML file, FOCUS sees the spaces following FIELD05 and appears to interpret them as text, resulting in a blank column between FIELD05 and FIELD06. I have tried various combinations of spot markers (<0X, <+0, etc.), and HEADALIGN= parameters [INTERNAL, BODY), but can't hit on one that will tell FOCUS to ignore the blanks following "FIELD05". I even tried the POSITION parameter, though the documentation seems to say that it only applies to PDF files. Someone must have run into this situation before, as it must also apply to SUBHEAD, HEADING, and FOOTING. Any suggestions from the peanut gallery?

This message has been edited. Last edited by: Anonymouse,


Jeff
WebFOCUS 8.0.09, Unix-Win-z/OS
FOCUS 7.3.1 on z/OS
May 11, 2006, 11:40 AM
Anonymouse
Oh crud! The spot markers in my example must have been interpreted as HTML tags!! I'll try to correct....


Jeff
WebFOCUS 8.0.09, Unix-Win-z/OS
FOCUS 7.3.1 on z/OS
May 11, 2006, 11:48 AM
susannah
jeff, put code tags around your code in your post.
just type them in before and after
leftbracket code rightbracket
then
leftracket /code rightbracket




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
May 11, 2006, 11:58 AM
Anonymouse
Susannah, I'm not sure about what you mean by "bracket". Tried a few, but settled on inserting some spaces instead.

Everyone, as you look at the SUBFOOT example, keep in mind that the actual code has no spaces after the "<" characters. Thanks.


Jeff
WebFOCUS 8.0.09, Unix-Win-z/OS
FOCUS 7.3.1 on z/OS
May 11, 2006, 03:11 PM
Tony A
Jeff,

The bracket to use is the square bracket e.g. [
Use [ code ] and [ /code ] without the spaces or disable HTML in the options list when you construct your post. If you can not see the options list then click on the options hyperlink to display them.

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 
May 14, 2006, 09:52 PM
Piipster
Can you try this one:

TABLE FILE CAR
PRINT
     BODYTYPE
     SEATS
     DEALER_COST
     RETAIL_COST
     SALES
BY COUNTRY NOPRINT
BY CAR NOPRINT
BY MODEL
ON MODEL SUBFOOT
"<COUNTRY<CAR<MODEL<0X
<ST.SALES"
...



ttfn, kp


Access to most releases from R52x, on multiple platforms.
May 24, 2006, 10:44 AM
Anonymouse
Piipster,
Sorry for not replying to this sooner, but your suggestion was exactly right. (though I can't believe we hadn't tried it before I posted my question --- we certainly tried everything else!)
Thanks!


Jeff
WebFOCUS 8.0.09, Unix-Win-z/OS
FOCUS 7.3.1 on z/OS