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.
Someone know if there is a problem with function MAX. with Packed field ? Example TABLE FILE &NOMEFILE WRITE MAX.B02OTT MAX.B02NOV MAX.B02DIC MAX.B03GEN MAX.B03FEB MAX.B03MAR MAX.B03APR MAX.B03MAG BY COD_ASS PRINT STMET ANNO MESE SMC_MESE BY COD_ASS
-* IF COD_ASS EQ 307269 OR 344418 OR 348707 OR 346083
ON TABLE HOLD END -RUN
Posts: 4 | Location: Milan-Italy | Registered: August 10, 2005
I don't find any problems, and I ran your code quickly against one of my files, and had no problem, but we need some more information. What platform and release? What kind of file? What's the format of the packed field(s) and, most importantly, what is the problem you are encountering ?
Posts: 60 | Location: 2 penn | Registered: May 22, 2003
(1)What platform and release? (2)What kind of file? (3)What's the format of the packed field(s) and, most importantly, what is the problem you are encountering ?
(1)WebFOCUS 5.3.3 (2)HOLD file (3)P9 For some key the max value is zero if the pgm run full instead return value if i put a specific value of COD_ASS
Posts: 4 | Location: Milan-Italy | Registered: August 10, 2005
hMMM We don't have any reported problems with this, so I think you'll have to report it, and let the customer support folks take a look. However, before you do, take a look at how the HOLD file gets produced. If the HOLD file is being produced from a DB2 TABLE for instance, where the original field was LONGPACK, then that might be the problem. I think that Customer Support is going to need to see the data. Try just doing SUM MAX.field PRINT field IF RECORDLIMIT EQ 1000 to see if you can still reproduce it.
Posts: 60 | Location: 2 penn | Registered: May 22, 2003