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     [SOLVED] Printing parameters

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Printing parameters
 Login/Join
 
Platinum Member
posted
Hi

Is there away to print parameters. I like to make a logging file.

example :

TABLE FILE CAR
PRINT COUNTRY
CAR
&FOCFEXNAME
&YYMD
END

This message has been edited. Last edited by: <Kathryn Henning>,
 
Posts: 103 | Registered: March 18, 2008Report This Post
Gold member
posted Hide Post
Hi,

The question is not much clear. If you want to print the parameter while debugging, use -TYPE &FOCFEXNAME.

Thanks,
Pravin Singh


WebFOCUS 7703
Windows, All Outputs
pravinsinghwebfocus.blogspot.com
 
Posts: 51 | Location: WebFOCUS 7.7.03 | Registered: June 19, 2014Report This Post
Platinum Member
posted Hide Post
Hi,

Thanks for your reply.

I want to save a file with global parameters such as &YYMD &TOD &FOCFEXNAME. Then I can use this file to report how often applications are been used.

Thanks,
Mark
 
Posts: 103 | Registered: March 18, 2008Report This Post
Gold member
posted Hide Post
Ok.. I got it now.

Try the following code:
APP HOLD baseapp
TABLE FILE CAR
PRINT COUNTRY
CAR
COMPUTE FEX_NAM/A50= '&FOCFEXNAME.EVAL';
COMPUTE LOG_DATE/YYMD= '&YYMD.EVAL';
ON TABLE HOLD AS HOLD_LOG FORMAT FOCUS
END


You can specify the folder where you want to store the Master file and the focus files. Please note while holding, you should give format focus.

Focus file HOLD_LOG.foc and master file HOLD_LOG.mas will be created in baseapp app which you can use for reporting.

Thanks,
Pravin Singh


WebFOCUS 7703
Windows, All Outputs
pravinsinghwebfocus.blogspot.com
 
Posts: 51 | Location: WebFOCUS 7.7.03 | Registered: June 19, 2014Report This Post
Master
posted Hide Post
Check if you have license and enable Resource Analyzer. It captures more than this and stores in RDBMS tables. Either you can use WF provided reports, or create your own by hitting RDBMS tables.
 
Posts: 542 | Location: Dearborn, MI | Registered: June 03, 2009Report This Post
Platinum Member
posted Hide Post
Hi,

Most grateful, thanks for the solution and suggestion.

Mark
 
Posts: 103 | Registered: March 18, 2008Report This Post
Platinum Member
posted Hide Post
Hi Mark,
There are a number of posts related to the "logging" of usage stats on this forum with a variety of possible solutions e.g.

IBI - Reports hits counting


WebFOCUS 8.2.06 mostly Windows Server
 
Posts: 195 | Location: Johannesburg, South Africa | Registered: September 13, 2008Report This Post
Master
posted Hide Post
Your report will run as you have typed it.
However you might get something closer to what you want by putting the parameters in a heading or footing.

And I guess it depends on what you want to log. Do you want the log to contain actual data - as you have in your example - or do you want it to be a log of the transactions that make up your data ?


WebFOCUS 7.7.05 Windows, Linux, DB2, IBM Lotus Notes, Firebird, Lotus Symphony/OpenOffice. Outputs PDF, Excel 2007 (for OpenOffice integration), WP
 
Posts: 674 | Location: Guelph, Ontario, Canada ... In Focus since 1985 | Registered: September 28, 2010Report This Post
Expert
posted Hide Post
Please consider FILFEDEF ... APPEND... as well as the above.
 
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 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     [SOLVED] Printing parameters

Copyright © 1996-2020 Information Builders