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] How to use a -TYPE statement with variables

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] How to use a -TYPE statement with variables
 Login/Join
 
Guru
posted
In a mainframe FOCEXEC, how do you display the contents of variables in a _TYPE statement?

For example, would this be the correct format?

-TYPE HERE IS MY VARIABLE: &VARIABLENAME

I just want to be able to see what some of my variables contain at different points in my FOCEXEC and will be putting this _TYPE to use.

Or.... is there a better or easier way to see what my variables contain within the running of a FOCEXEC?

Thanks in advance!

This message has been edited. Last edited by: Kerry,


Mainframe FOCUS 7.0
VM/CMS and MVS/TSO
 
Posts: 250 | Registered: January 14, 2008Report This Post
Expert
posted Hide Post
What you have stated should work just fine. Have you tried it?

You can also put a -SET &ECHO=ALL; at the beginning of your program.


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
 
Posts: 2723 | Location: Ann Arbor, MI | Registered: April 05, 2006Report This Post
Virtuoso
posted Hide Post
-? &
will list all the defined variables and their values


- Jack Gross
WF through 8.1.05
 
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 2005Report This Post
Virtuoso
posted Hide Post
If you want to see this in a running program, this only works in an HTML report.
If you get the report, you left click and ask to see the source.




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

 
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006Report This Post
Guru
posted Hide Post
Thank you to all who have responded! Frank, is that a mainframe FOCUS thing? Or is that WebFocus? I don't recall seeing that mouse clicks work on the mainframe as such.... if I am mistaken, please let me kow!


Mainframe FOCUS 7.0
VM/CMS and MVS/TSO
 
Posts: 250 | Registered: January 14, 2008Report This Post
Expert
posted Hide Post
Use what I told you to do. That's all we had in the olden days.

There is also TOE or Terminal Operator Environment if that is still around.


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
 
Posts: 2723 | Location: Ann Arbor, MI | Registered: April 05, 2006Report This Post
Virtuoso
posted Hide Post
It's Webfocus

If you only have mainframe, you should put in some exits I think before you get the real report.




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

 
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006Report This Post
Guru
posted Hide Post
Ginny, thanks.... that's exactly what I used and it worked great. It's been a real killer, since prior to my current job it had been close to 10 years since I used FOCUS....the rutiness rears its ugly head sometimes.

Frank, a quote from my original posting in this thread:
quote:
In a mainframe FOCEXEC, how do you display the contents of variables in a _TYPE statement?


and a question for you - what would putting in some exits do for my original question?


Mainframe FOCUS 7.0
VM/CMS and MVS/TSO
 
Posts: 250 | Registered: January 14, 2008Report 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] How to use a -TYPE statement with variables

Copyright © 1996-2020 Information Builders