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.
I have a stored procedure that outputs things in an array.
['Clean', new Date (2019,06,03,05,02,22,113), new Date (2019,06,03,06,29,24,397)], ['Extracts', new Date (2019,06,02,23,00,44,703), new Date (2019,06,03,05,02,10,883)], ['Stats Driver', new Date (2019,06,04,05,00,16,820), new Date (2019,06,03,07,16,50,450)], ['Transforms', new Date (2019,06,03,06,29,37,327), new Date (2019,06,03,08,11,14,200)]
I use ON TABLE HOLD to hold the table and then put it into javascript with !IBI.FIL. You would expect the output to be the same as what is shown above, but instead I get: R U V ] Y W Z ) This output seems almost completely random.This message has been edited. Last edited by: ccollier,
TABLE FILE tablename
BY data
ON TABLE HOLD AS holdname
END
The data should be shown exactly as before.
['Clean', new Date (2019,06,03,05,02,22,113), new Date (2019,06,03,06,29,24,397)],
['Extracts', new Date (2019,06,02,23,00,44,703), new Date (2019,06,03,05,02,10,883)],
['Stats Driver', new Date (2019,06,04,05,00,16,820), new Date (2019,06,03,07,16,50,450)],
['Transforms', new Date (2019,06,03,06,29,37,327), new Date (2019,06,03,08,11,14,200)]
When checking the output of the hold file, it's exactly as it should be, but when looking at the !IBI.FIL output I get that random string.
So, as per your sample, you should have 4 rows and 1 field per row such as this ?
row 1 : ['Clean', new Date (2019,06,03,05,02,22,113), new Date (2019,06,03,06,29,24,397)]
row 2 : ['Extracts', new Date (2019,06,02,23,00,44,703), new Date (2019,06,03,05,02,10,883)]
row 3 : ['Stats Driver', new Date (2019,06,04,05,00,16,820), new Date (2019,06,03,07,16,50,450)]
row 4 : ['Transforms', new Date (2019,06,03,06,29,37,327), new Date (2019,06,03,08,11,14,200)]
I suspect that js is transforming/processing the brackets, quotes and/or coma other than just text string
WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF In Focus since 2007
Posts: 2409 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013
Originally posted by ccollier: Creating my HOLD file I type
TABLE FILE tablename
BY data
ON TABLE HOLD AS holdname
END
The data should be shown exactly as before.
['Clean', new Date (2019,06,03,05,02,22,113), new Date (2019,06,03,06,29,24,397)],
['Extracts', new Date (2019,06,02,23,00,44,703), new Date (2019,06,03,05,02,10,883)],
['Stats Driver', new Date (2019,06,04,05,00,16,820), new Date (2019,06,03,07,16,50,450)],
['Transforms', new Date (2019,06,03,06,29,37,327), new Date (2019,06,03,08,11,14,200)]
When checking the output of the hold file, it's exactly as it should be, but when looking at the !IBI.FIL output I get that random string.
You need the name of the hold file included:
TABLE FILE tablename
BY data
ON TABLE HOLD AS holdname
END
-HTMLFORM BEGIN NOEVAL
!IBI.FIL.holdname;
-HTMLFORM END
Hallway
Prod: 8202M1
Test: 8202M4
Repository:
OS:
Outputs:
Posts: 608 | Location: Salt Lake City, UT, USA | Registered: November 18, 2015