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] command to run focexec on different server

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] command to run focexec on different server
 Login/Join
 
Platinum Member
posted
I have a focexec that I need to run on 3 servers to obtain data from each server and combine it into a single report.

I want to create a focexec that will run the above focexec on each server, then will access and merge the data retrieved in 3 hold files to create the final report.

What is the command to get a focexec to run on a specific server?

Thank you.

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


WebFOCUS 7.6.11, Linux, HTML, PDF, AHTML, EXCEL
 
Posts: 100 | Registered: September 15, 2010Report This Post
Expert
posted Hide Post
Have you looks at the documentation ?

Check out REMOTE commands

REMOTE DEST
REMOTE USER
REMOTE PASS
-REMOTE BEGIN
-REMOTE END


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
Expert
posted Hide Post
Here is a simple example that calls another session on the same WebFOCUS sever.

REMOTE DEST = LOOPBACK

-REMOTE BEGIN

TABLE FILE SYSTABLE
PRINT COMPUTE TEMPDIR/A60 = TEMPPATH(60,'A60');
BY    NAME 
WHERE RECORDLIMIT EQ 1
ON TABLE PCHOLD AS TEMP_LOC
END
-REMOTE END

TABLE FILE TEMP_LOC
PRINT 
      COMPUTE
      LOC_DIR/A60 = TEMPPATH(60,'A60');
                 AS 'Local Temp Location'
OVER  TEMPDIR    AS 'Remote Temp Location'

END


To implement this on another server is the same process, but the server you are running on must have the remote server defined.


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
Guru
posted Hide Post
If the running of fex is going to happen in Remote servers, Just for Data fetching, and you are going by the Master File approach...

TABLENAME=REMOTESERVERNAME/TABLENAME

Which will fetch the data from the remote server...


Thanks,

Ramkumar.
WebFOCUS/Tableau
Webfocus 8 / 7.7.02
Unix, Windows
HTML/PDF/EXCEL/AHTML/XML/HTML5
 
Posts: 394 | Location: Chennai | Registered: December 02, 2009Report This Post
Platinum Member
posted Hide Post
JBK,

First you need to provide the user credentials and connection name.

For Example,
Below are the signin procedure code:

ENGINE EDA SET USER CONNECTION NAME/USERNAME,PASSWORD
ENGINE EDA SET DEFAULT_CONNECTION CONNECTION NAME

Then in your report procedure, you would use

-REMOTE BEGIN
TABLE FILE CAR
PRINT *
ON TABLE HOLD AS REPORT FORMAT WP
END
-REMOTE END


WebFOCUS 7.6.4, Mainframe Focus
Windows XP, All Output Formats
 
Posts: 135 | Registered: November 30, 2010Report This Post
Platinum Member
posted Hide Post
Waz, the reason I posted this is because I didn't know what the command was, so I was not able to find it in the documenation.

Thank you.


WebFOCUS 7.6.11, Linux, HTML, PDF, AHTML, EXCEL
 
Posts: 100 | Registered: September 15, 2010Report This Post
Expert
posted Hide Post
Sometimes you have to sift through the documentation to find what you want.

Here is a link to the ECL (Enterprise Content Library) search engine, it may help


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
  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] command to run focexec on different server

Copyright © 1996-2020 Information Builders