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     Concurrent Extracts Overnight....

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Concurrent Extracts Overnight....
 Login/Join
 
Gold member
posted
I've got an overnight extract running through ReportCaster that I would like to cut runtime on simply by doing 5 concurrent extracts each pulling 1/5 of the records.

My output is delivered by ftp, so I don't mind transferring 5 files separately and putting everything together on the other end. Can anyone provide what they think is the simplest approach for doing this?
 
Posts: 59 | Location: Minneapolis | Registered: September 01, 2004Report This Post
Expert
posted Hide Post
Instead of each of your five extracts limited to a fifth of the number of records, a slightly different approach will ensure that no duplication would occur.

Take the values of a key field in your data and divide them into 5 ranges. Then you can pass the start and end value of each range to the extract program via Caster parameters. Add WHERE statements to the extract program.

Something like this:

-DEFAULT &RANGE_FR = 0;
-DEFAULT &RANGE_TO = 10000;
-DEFAULT &RUN_NBR = 1;

-SET &DSNAME = C:\extracts\extract || &RUN_NBR || '.ftm';

FILEDEF EXTRACT DISK &DSNAME
TABLE FILE INPUT_TABLE
SUM
...
BY
...
WHERE KEY_FIELD1 FROM &RANGE_FR TO &RANGE_TO
ON TABLE HOLD AS EXTRACT FORMAT ALPHA
END
-RUN

I hope this helps.
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 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     Concurrent Extracts Overnight....

Copyright © 1996-2020 Information Builders