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) Dash Run vs Plain Run

Read-Only Read-Only Topic
Go
Search
Notify
Tools
(Solved) Dash Run vs Plain Run
 Login/Join
 
Member
posted
Can anyone please tell me the difference between -RUN and RUN? We have a mainframe Focus fex that had been running fine until we upgraded the language to 8009. Now the fex is abending with an SA03. We suspect the RUN command, but aren't really sure what it is supposed to be doing.

In context, we have a TABLE FILE that is putting out multiple reports. After each report (before the next HEADER), instead of END, there is a RUN command. It is only at the last report within the TABLE FILE command that we see the normal
END
-RUN

Any help would be GREATLY appreciated!

This message has been edited. Last edited by: M Ward,


8.8.09 - z/Linux (WF, Report Caster, Report Library).
Iway FFS on MVS (HFS)
 
Posts: 12 | Location: Oklahoma City | Registered: April 02, 2013Report This Post
Master
posted Hide Post
Think of -RUN like a SQL GO statement. -RUN tells the backend to process the previous command, before moving to the new statement.



- FOCUS Man, just FOCUS!
-----------------------------
Product: WebFOCUS
Version: 8.1.04
Server: Windows 2008 Server
 
Posts: 578 | Registered: October 01, 2014Report This Post
Virtuoso
posted Hide Post
RUN command is used in the context of MORE..FILE where you want to concatenate multiple answer sets. RUN gives you the ability to separate each FILE you're trying to query. -RUN is telling Dialogue Manager to execute everything above before you move forward to the next command.

RUN is a part of TABLE syntax and -RUN is a Dialogue Manager (scripting) syntax.


WebFOCUS 8206, Unix, Windows
 
Posts: 1853 | Location: New York City | Registered: December 30, 2015Report This Post
Member
posted Hide Post
Is there a difference between how RUN works in 8009 versus earlier versions? This code works in 7, but stopped when we upgraded to 8009.


8.8.09 - z/Linux (WF, Report Caster, Report Library).
Iway FFS on MVS (HFS)
 
Posts: 12 | Location: Oklahoma City | Registered: April 02, 2013Report This Post
Expert
posted Hide Post
Can you post a code snippet ?

It will help to see how its used.

RUN and -RUN have not changed. The only thing that has changed is code tightening, so if you are using it in a way that is not and never supported (according to the documentation), then the code will have to change.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Platinum Member
posted Hide Post
RUN is usually used to continue querying from the same metadata (master file) without having to close and reopen it.

-RUN flushes the stack that is stored temporarily internally.


Vivian Perlmutter
Aviter, Inc.


WebFOCUS Keysheet Rel. 8.0.2
(Almost) 1001 Ways to Work with Dates thru Rel. 8.0.2
Focus since 1982
WebFOCUS since the beginning
Vivian@aviter.com

 
Posts: 191 | Location: Henderson, Nevada | Registered: April 29, 2003Report This Post
Virtuoso
posted Hide Post
And RUN is also used in MATCH FILE to separate the different FILE sections (up to the last one).

That might be the same kind of use as with MORE, but I've never encountered that use of RUN, whereas we use it frequently with MATCH FILE.


WebFOCUS 8.1.03, Windows 7-64/2008-64, IBM DB2/400, Oracle 11g & RDB, MS SQL-Server 2005, SAP, PostgreSQL 11, Output: HTML, PDF, Excel 2010
: Member of User Group Benelux :
 
Posts: 1669 | Location: Enschede, Netherlands | Registered: August 12, 2010Report This Post
Member
posted Hide Post
We have been experimenting all day. Here is a little something that we discovered. The report is being run on a z/OS mainframe. Previously, the RUN statement seems to create a "+T>" right before it lists the number of records in a report. That "+T>" no longer shows up in the SYSOUT. It must be tied to RUN somehow (what, if anything, do END and QUIT generate?)

I've pasted some code snippits into a Word document. Can anyone tell me how to make it visible here? It won't allow me to paste.


8.8.09 - z/Linux (WF, Report Caster, Report Library).
Iway FFS on MVS (HFS)
 
Posts: 12 | Location: Oklahoma City | Registered: April 02, 2013Report This Post
Expert
posted Hide Post
All you can do to post code is to paste the text into the code tags



Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Virtuoso
posted Hide Post
MW,
The TABLE command is completed with END.
This is the only command that is allowed in WebFOCUS.
In M/F FOCUS, one could use RUN in interactive mode. After issuing the RUN a report would be produced after which one is still in the environment of the TABLE for the same FILE.
Apparently, in your case, this allowed a procedure to produce multiple reports.
Personally, I NEVER used this option.
I would suggest you replace all your RUNs with ENDs insert a TABLE FILE command after each END.

Good luck!


Daniel
In Focus since 1982
wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF

 
Posts: 1980 | Location: Tel Aviv, Israel | Registered: March 23, 2006Report This Post
Member
posted Hide Post
Thank you Danny-SRL, that is precisely what we did.

Thanks to everyone for your help and advice.


8.8.09 - z/Linux (WF, Report Caster, Report Library).
Iway FFS on MVS (HFS)
 
Posts: 12 | Location: Oklahoma City | Registered: April 02, 2013Report 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) Dash Run vs Plain Run

Copyright © 1996-2020 Information Builders