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 am trying to drive reports from report caster using baseapp variables as parameters in the scheduler but I am not having any success.
- For example &YYMD is defined by IBI and in BaseApp we have a few more defined data fields for the previous seven days, etc... - I have a report that asks for the from date and the to date - I have three users that want different from and to dates schedules and sent to them
My thought is rather than create three separate reports I can just use one report and different tasks in the schedule. This way it makes development easier when an update needs to be made to the report.
My question is how can I pass variables as parameters in a report caster schedule when I am setting up the tasks?This message has been edited. Last edited by: <Emily McAllister>,
So the step I am missing is the EDASPROF step. I already have the variables coded as "&&" in report caster but of course it didn't work. =)
So I am asking because I don't want to break EDASPROF as I have not edited this file other than to turn off application paths.
When I look at EDASPROF I see that there is an include for GLOBAL_SETTINGS. Do I simply add another for baseapp/global_settings.fex. I thought this was already included?
It's good practice to include instead of fill up your eadsprof. I didn't know how deep you want to go. However, you're correct. Put the -SET &&variables in the baseapp/global_settings.fex. You can edit the file in notepad if you go to your ibi\apps\baseapp on your install disk.
WebFOCUS 8206, Unix, Windows
Posts: 1853 | Location: New York City | Registered: December 30, 2015
You can supply different parameters to each task, so you could either pass in the different variables, or supply a variable that will identify the user and have the fex include the required variables from baseapp or somewhere else.
You could also store these wither in a FEX or in a DB and just read them out.
Originally posted by BabakNYC: It's good practice to include instead of fill up your eadsprof. I didn't know how deep you want to go. However, you're correct. Put the -SET &&variables in the baseapp/global_settings.fex. You can edit the file in notepad if you go to your ibi\apps\baseapp on your install disk.
It's better practice to use the universal profile and keep your server profile(s) clean.
"There is no limit to what you can achieve ... if you don’t care who gets the credit." Roger Abbott
So I am slightly confused. All the variables are already in my global_settings.fex file which is in my baseapp folder and I still can't call it from report caster.
I can call them directly in my fex but not pass them in as parameters when using the scheduler in report caster. Am I missing a step here?
You have to add a -INCLUDE GLOBAL_SETTINGS in your edasprof. Either that or use the universal profile to accomplish the same thing. Either way, those variables don't exist until you run the global_settings.fex.
WebFOCUS 8206, Unix, Windows
Posts: 1853 | Location: New York City | Registered: December 30, 2015
I appreciate the continued help. I already have that global setting in my edasprof. Sample of what's in there but the parameters are just not working. Am I entering the parameters wrong in Report Caster? Image attached.
SET SMARTMODE = ON ENGINE FIX SET CONNECTION_ATTRIBUTES /, ENGINE DFIX SET CONNECTION_ATTRIBUTES /, ENGINE SQLORA SET VARCHAR OFF ENGINE SQLORA SET ORACHAR VAR -INCLUDE GLOBAL_SETTINGS ENGINE INT SET DECOMPOSE-DATE ON ENGINE INT SET DATEFMT DMYY
This means the && variables in your global_settings.fex are being executed for both scheduled and non-scheduled reports.
To test this, you could create a simple focexec with this code in it and see what you get. You could also -TYPE each && variable to see if they're populated.
? &&
-TYPE &&VARIABLE1 -TYPE &&VARIABLE2
Let's find out if the &&'s are set and if they are, what do they contain.
I'd also add -SET &ECHO=ALL; to the top of the code so you can see exactly what the variables are being substituted with.
Does this code run live?This message has been edited. Last edited by: BabakNYC,
WebFOCUS 8206, Unix, Windows
Posts: 1853 | Location: New York City | Registered: December 30, 2015