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.
Try creating a temporary FOCUS file and insert records into it using the MODIFY FILE command along with the FREEFORM statement. The FREEFORM statement reads comma-delimited data, you'll first have to save your data.
define file xxx commma/a1 = ','; endofline = '$'; end
table file xxx print cliendid comma verylongstring comma endofline on table save end
Now use a MODIFY FILE with FREEFORM to read the save file.
Regards,
Posts: 13 | Location: Montreal,Canada | Registered: August 22, 2007
Isn't this a good example of where to use McGuyver? Split up verylongstring into multiple fields using GETTOK and then use Mcguyver to print them out one over the other.
ttfn, kp
Access to most releases from R52x, on multiple platforms.
Posts: 346 | Location: Melbourne Australia | Registered: April 15, 2003
I think this would be nice - if IBI built in MCGUYVER technique directly into wf. The MULTIPLY command would have syntax and usage similar to the JOIN command.
MULTIPLY filename[.segname] n TIMES
This would mean the record retrieved once and then passed n times to the matrix with dummy field filename.segname.MULTIPLE which varied from 1 to n.
This would give wf a lot of extra functionality with a relatively simple implementation.
Once you're done: MULTIPLY CLEAR ! And ? MULTIPLY
I can only dream on...This message has been edited. Last edited by: hammo1j,
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, 2006
When I posted my question I thought al the numbers in the longstring where of equal length, but in the meantime I found that they are not, some are 7 and some are 9. I will try to combine some tips here and see if I will get it work
Thanks
Frank
prod: WF 7.6.10 platform Windows, databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7 test: WF 7.6.10 on the same platform and databases,IE7
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006
If your field lengths are different then try this:
The Input file is as follows:
Client ID Long Value --------- ---------- 12345 '9234','9932','97','936269','939292' 82836 '921438','913432','917' 82805 '991234','953221','912','915347','917','969','939292'
Master file is now (similar to earlier post -- no COMMA field in SEGNAME TWO: