IB - Developer Center    Forums  Hop To Forum Categories  FOCUS/WebFOCUS    [SOLVED] How to use a -TYPE statement with variables
Go
New
Search
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
Platinum Member
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: 151 | Registered: January 14, 2008Reply With QuoteEdit or Delete MessageReport This Post
Virtuoso
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.6.5 with 7.6.6 WFRS; AIX 5.2; WebSphere 6.1.0.15
Dev: WF 7.6.5 with 7.6.6 WFRS; AIX 5.3; WebSphere 6.1.0.15
Primarily self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable
 
Posts: 1551 | Location: BNSF: Fort Worth, TX | Registered: April 05, 2006Reply With QuoteEdit or Delete MessageReport This Post
Master
Posted Hide Post
-? &
will list all the defined variables and their values


- Jack Gross
WF 7.6.7, Win
 
Posts: 535 | Location: NYC | Registered: January 11, 2005Reply With QuoteEdit or Delete MessageReport 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.5 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.5 on the same platform and databases,IE7

 
Posts: 1649 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006Reply With QuoteEdit or Delete MessageReport This Post
Platinum Member
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: 151 | Registered: January 14, 2008Reply With QuoteEdit or Delete MessageReport This Post
Virtuoso
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.6.5 with 7.6.6 WFRS; AIX 5.2; WebSphere 6.1.0.15
Dev: WF 7.6.5 with 7.6.6 WFRS; AIX 5.3; WebSphere 6.1.0.15
Primarily self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable
 
Posts: 1551 | Location: BNSF: Fort Worth, TX | Registered: April 05, 2006Reply With QuoteEdit or Delete MessageReport 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.5 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.5 on the same platform and databases,IE7

 
Posts: 1649 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006Reply With QuoteEdit or Delete MessageReport This Post
Platinum Member
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: 151 | Registered: January 14, 2008Reply With QuoteEdit or Delete MessageReport This Post
 Previous Topic | Next Topic powered by eve community  
 

IB - Developer Center    Forums  Hop To Forum Categories  FOCUS/WebFOCUS    [SOLVED] How to use a -TYPE statement with variables

Copyright © 1996-2008 Information Builders, leaders in enterprise business intelligence.