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.
Please refresh me on this... How would I create a Multi-Segmented HOLD file such as the infamous CAR file, from code which may start out being something like this:
TABLE FILE CAR
SUM SALES
BY COUNTRY
BY CAR
ON TABLE HOLD {blah blah blah]
END
I'm already thanking you for this refresher [Thanks Waz] (even for pointing me to the answer)...
BTW: the source file for this TABLE FILE request is from a JOIN which looks like this:
NUMBER OF ERRORS= 0
NUMBER OF SEGMENTS= 4 ( REAL= 1 VIRTUAL= 3 )
NUMBER OF FIELDS= 138 INDEXES= 0 FILES= 4
TOTAL LENGTH OF ALL FIELDS= 5920
SECTION 01
STRUCTURE OF GNTINT FILE SOSTORES ON 10/24/11 AT 20.35.46
sostore>
01 S4
**************
*store **
*field1 **
*field2 **
*field3 **
* **
***************
**************
I
+-----------------+-----------------+
I I I
I sopayro> I sodaily> I sodaily>
02 I KU 03 I KU 04 I KU
.............. .............. ..............
:store :K :store :K :store :K
:field4 : :field7 : :field10 :
:field5 : :field8 : :field11 :
:field6 : :field9 : :field12 :
: : : : : :
:............: :............: :............:
JOINED SOPAYROLL JOINED SODAILYACTJOINED SODAILYACTBYTYPE
So, I want to HOLD selected records from this in the same file structure.This message has been edited. Last edited by: Doug,
In FOCUS Since 1983 ~ from FOCUS to WebFOCUS. Current: WebFOCUS Administrator at FIS Worldpay | 8204, 8206
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005
I did this with that info in mind using a multverb request (one for each segment) and wrapped it up with a "ON TABLE HOLD FORMAT FOCUS AS REPORTFILE".
The bummer is that "ON TABLE SET EXTRACT ON" chrashes my server or just gives me a (FOC217) THE SEGMENT NAME IS A DUPLICATE AND NOT THE SAME AS PREVIOUS.
So, I get my 11k records into a hierarchical HOLD file in LE 3 seconds. I'll leave it at that.
==================================================================================
==== Doug's StopWatch Started at 21.28.30 on Oct 24, 2011
==================================================================================
NUMBER OF RECORDS IN TABLE= 11543 LINES= 11543
NUMBER OF ERRORS= 0
NUMBER OF SEGMENTS= 4 ( REAL= 4 VIRTUAL= 0 )
NUMBER OF FIELDS= 33 INDEXES= 0 FILES= 1
TOTAL LENGTH OF ALL FIELDS= 2980
SECTION 01
STRUCTURE OF FOCUS FILE REPORTFI ON 10/24/11 AT 21.28.33
SEG01
01 S1
**************
*store **
*tvvoidamt **
*instockpctv>**
*corercptamt **
* **
***************
**************
I
I
I
I SEG02
02 I S3
**************
*payrolltype **
*empname **
*jobdesc **
*hours **
* **
***************
**************
I
I
I
I SEG03
03 I S4
**************
*date **
*transtype **
*transno **
*transtime **
* **
***************
**************
I
I
I
I SEG04
04 I S10
**************
*store **
*payrolltype **
*empname **
*jobdesc **
* **
***************
**************
NUMBER OF RECORDS IN TABLE= 11543 LINES= 11543
==================================================================================
==== Doug's StopWatch Started at 21.28.30 / Ended at 21.28.33 on Oct 24, 2011
==== It took 3 seconds to get to this point in this procedure.
==================================================================================
Thanks Waz, for pointing me in the right direction...
In FOCUS Since 1983 ~ from FOCUS to WebFOCUS. Current: WebFOCUS Administrator at FIS Worldpay | 8204, 8206
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005