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.
1.Then don't do the DEFINE and TRIM; there aren't any Leading Zeroes anyway... 2. If you must have an alpha column, your TRIM code is incorrect, S/B A3 not A6: DEFINE FILE TEMPPAGES PAGESALPHA/A3 = TRIM('L',EDIT(PAGES),3,'0',1,'A3'); END
FPRINT: Converting Fields to Alphanumeric Format
Usage Notes for the FPRINT Function
The FPRINT function converts any type of field except for a text field to its alphanumeric
equivalent for display. The alphanumeric representation will include any display options that
are specified in the format of the original field.
Available Languages: reporting
FPRINT(infield, 'usageformat', outfield)
where:
infield : Is the field to be converted.
usageformat : Is the usage format of the field to be converted, including display options. The format must be enclosed
in single quotation marks.
outfield : Is the name of the output field or its format enclosed in single quotation marks. The
output field must be long enough to hold the converted number itself, with a sign and
decimal point, plus any additional characters generated by display options, such as
commas, a currency symbol, or a percent sign.
For example, D12.2 format is converted to A14 because it outputs two decimal digits,
a decimal point, a possible minus sign, up to eight integer digits, and two commas. If
the output format is not large enough, excess right-hand characters are truncated.
Usage Notes for the FPRINT Function
The output of FPRINT for numeric values is right-justified within the area required for the
maximum number of characters corresponding to the supplied format. This ensures that
all possible values are aligned vertically along the decimal point or units digit.
By default, the column title is left justified for alphanumeric fields. To right justify the
column title, use the /R reformatting option for the field.
FPRINT - very interesting function. Can't find any documentation online, search at IBI Documentation results in "There were no results for fprint. Here are the results for print."
No documentation about it in the DevStudio 7.6.8 Help either.
Ah... it looks like a new feature in v7.7.
Nice.
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server