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     show value of variable

Read-Only Read-Only Topic
Go
Search
Notify
Tools
show value of variable
 Login/Join
 
Silver Member
posted
is it possible to show the value of locale variables?
where can i see the value? what is to do exactly? in chapter 11 (developing report applications) its described with global vars, but i don`t know where i should write down the query... into the FEX? or in the Dev Studio Console? or where else??
do i have to start the FEX before?
can i set a kind of breakpoints in Dev.Studio?
..lot of questions, i know.. but can someone help me please!!!!


Greetz Ernst
 
Posts: 30 | Registered: September 22, 2003Report This Post
Guru
posted Hide Post
Ernst-
re variables
A local variable (single ampersand) retains its value during the execution of ONE procedure; values are lost after the procedure finishes processing. A global (two ampersands) variable retains its vaule for the duration of the connection to the WebFOCUS Server. See p 10-32 of Developing Reporting Applications (5.2).
You can display the value of local variables with a DIALOG MANAGER command, -? &[string], which is executed in a procedure. To display global variables, the command ? && can be keyed in at the WebFOCUS prompt.
The values are displayed on the console in both cases.
The difference is driven by the persistance of the variables: the local lives in the procedure and the global lives in the session.
HTH
 
Posts: 252 | Location: USA | Registered: April 15, 2003Report This Post
Silver Member
posted Hide Post
hi jimster,
thanks for your help!

my problem was, i didn�t know, where exactly to write the dialog manager command? and where or how to run it??!! if i run the fex, then the whole table-output is shown Confused

but i found the solution myself!!! Cool

i wrote the query in the "other-tool" like this:
-SET &heute = &DATEYYMD;<br />-SET &yy = EDIT(&heute,'9999');<br />-? &yy
and then i "run" just the "other-tool" in the "procedure viewer".
and IT WORKED !!!!! yeahh!!!

you can�t find tips like this in the manuals. thats a pity... would be basic but necessary to work with webfocus!
 
Posts: 30 | Registered: September 22, 2003Report This Post
Guru
posted Hide Post
Ernst-
Here is another way method I use to display variables when testing or de-bugging.
-TYPE &|heute ist &heute
Using the pipe between the ampersand and the rest of the label will display the entire label with the ampersand - it just makes things little bit more readable.
HTH
 
Posts: 252 | Location: USA | Registered: April 15, 2003Report This Post
<monte2000>
posted
Local variables can be retrieved by issuing the following command: -? &

Note: Local variables are available only during execution of a FOCUS procedure and the above command should be used within the context of a FOCUS procedure.

This command can also be entered in the Developer Studio Console which sends the command as an ad hoc request to the Reporting Server used for development. In this case a list will be displayed with statistical variables set by the product to reflect system info such as date time etc. For global variables, the following command is used: ? &&
 
Report 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     show value of variable

Copyright © 1996-2020 Information Builders