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.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     AFTER MATCH HOLD AS H4 OLD {FORMAT ALPHA }

Read-Only Read-Only Topic
Go
Search
Notify
Tools
AFTER MATCH HOLD AS H4 OLD {FORMAT ALPHA }
 Login/Join
 
Expert
posted
AFTER MATCH HOLD AS H4 OLD {FORMAT ALPHA }
Is this even possible?
i have to get FORMAT ALPHA out of my match process...and i've tried sticking that FORMAT ALPHA everywhere i can think of. Bombs.
Somebody kindly buy me a vowel...
Please tell me if its even possible...
i really don't want to TABLE FILE H4 PRINT * OTH AS H5 FORMAT ALPHA




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Report This Post
Master
posted Hide Post
S

Format is not an option for a MATCH (even format FOCUS which is a dump of the matrix)

You have to do a TFH PRINT * OTH FORMAT XXX

j



Server: WF 7.6.2 ( BID/Rcaster) Platform: W2003Server/IIS6/Tomcat/SQL Server repository Adapters: SQL Server 2000/Oracle 9.2
Desktop: Dev Studio 765/XP/Office 2003 Applications: IFS/Jobscope/Maximo
 
Posts: 888 | Location: Airstrip One | Registered: October 06, 2006Report This Post
Expert
posted Hide Post
argh shoot me now.
then i'll nfr it...
Thanks John for confirming my fears.

///
i just NFR'd it, and got 'we can't do this' as an answer.
i know that.
Thats why its an NFR

This message has been edited. Last edited by: susannah,
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Report This Post
Virtuoso
posted Hide Post
Did you try
SET HOLDFORMAT = ALPHA
?

I just did, and lo-and-behold....

 SET HOLDFORMAT=BINARY
 MATCH FILE CAR    SUM SEATS BY COUNTRY
 RUN
 FILE CAR   SUM LENGTH WIDTH BY COUNTRY BY CAR   ON TABLE HOLD
 END
 DOS TYPE HOLD.MAS
 
SET HOLDFORMAT=ALPHA
 MATCH FILE CAR    SUM SEATS BY COUNTRY
 RUN
 FILE CAR   SUM LENGTH WIDTH BY COUNTRY BY CAR   ON TABLE HOLD
 END
 DOS TYPE HOLD.MAS
produces:

FILENAME=HOLD , SUFFIX=FIX , $
SEGMENT=HOLD, SEGTYPE=S1, $
FIELDNAME=COUNTRY, ALIAS=E01, USAGE=A10, ACTUAL=A12, $
FIELDNAME=SEATS, ALIAS=E02, USAGE=I3, ACTUAL=I04, $
FIELDNAME=CAR, ALIAS=E03, USAGE=A16, ACTUAL=A16, $
FIELDNAME=LENGTH, ALIAS=E04, USAGE=D5, ACTUAL=D08, $
FIELDNAME=WIDTH, ALIAS=E05, USAGE=D5, ACTUAL=D08, $

FILENAME=HOLD , SUFFIX=FIX , $
SEGMENT=HOLD, SEGTYPE=S1, $
FIELDNAME=COUNTRY, ALIAS=E01, USAGE=A10, ACTUAL=A10, $
FIELDNAME=SEATS, ALIAS=E02, USAGE=I3, ACTUAL=A03, $
FIELDNAME=CAR, ALIAS=E03, USAGE=A16, ACTUAL=A16, $
FIELDNAME=LENGTH, ALIAS=E04, USAGE=D5, ACTUAL=A05, $
FIELDNAME=WIDTH, ALIAS=E05, USAGE=D5, ACTUAL=A05, $


Is that cool or what?

This message has been edited. Last edited by: j.gross,


- Jack Gross
WF through 8.1.05
 
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 2005Report This Post
Expert
posted Hide Post
It's Genius!

SET HOLDFORMAT = ALPHA should be in the profile.


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Virtuoso
posted Hide Post
But FORMAT ALPHA has a major downside: Numeric fields get stored according to "size" of their Usage, and that can lead to data overflow, causing the record to contain asterisks. (It was a constant consideration under PC/Focus, which did not use Binary) That will not happen with Binary.

Use Alpha where required, then set it back to Binary.


- Jack Gross
WF through 8.1.05
 
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 2005Report This Post
Virtuoso
posted Hide Post
And there is one more thing to be careful about when using alpha. It's a trap I fall into myself now and again.
It's when you have CDN set to ON. All the comma's and dots of the D-fields get switched and then transporting it to some other system might screw up the upload process.


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
Oh well Frowner I haven't come across these problems yet.


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Expert
posted Hide Post
JACK KNOWS EVERYTHING!!!!!
my mantra of the week




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Report This Post
Virtuoso
posted Hide Post
Full disclosure --- This one was total serendipity ---
I thought to myself, if it takes an NFR, might as well allow a free-standaing SET command. I dreamed up

SET HOLDFORMAT (natch) = ALPHA | INTERNAL | DEFAULT (to reset to the platform's default) | maybe others like Focus?

On a hunch (I know how much I don't know, so why put foot in mouth) I searched for HOLDFORMAT and found what I quoted earlier. There you go.

(They didn't include a reset, and my INTERNAL is their BINARY. Who's the committee that decides these spec details, before it goes to programming?)
 
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 2005Report 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     AFTER MATCH HOLD AS H4 OLD {FORMAT ALPHA }

Copyright © 1996-2020 Information Builders