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.
The sample code is as follows DEFINE FILE TEST V_FNAME/A10=' '; V_LNAME=/A20=V_FNAME|' TEST'; END
TABLE FILE TEST PRINT V_LNAME V_DATE ON TABLE SET ONLINE-FMT PDF END
When I concatenate (weak concatenation used) two fixed length variables, if one variable is stored with space, space is not getting displayed in the report report.
The following code seems to work but gives 10 spaces before the ' TEST'. I added two more fields to demonstrate how each works.
DEFINE FILE CAR M_FNAME/A10 WITH COUNTRY='----------'; M_LNAME/A20 WITH COUNTRY=M_FNAME|' TEST'; V_FNAME/A10 WITH COUNTRY='-'; V_LNAME/A20 WITH COUNTRY=V_FNAME|' TEST'; X_FNAME/A10 WITH COUNTRY=' '; X_LNAME/A20 WITH COUNTRY=X_FNAME||' TEST'; END
TABLE FILE CAR PRINT M_LNAME OVER V_LNAME OVER X_LNAME ON TABLE SET ONLINE-FMT PDF END
I hope this helps.
Thanks!
Mickey
FOCUS/WebFOCUS 1990 - 2011
Posts: 995 | Location: Gaithersburg, MD, USA | Registered: May 07, 2003