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     -INCLUDE on Sun/Win2003

Read-Only Read-Only Topic
Go
Search
Notify
Tools
-INCLUDE on Sun/Win2003
 Login/Join
 
Member
posted
I'm new to Webfocus and want to include
code from another FEX in a Focus program
I'm writing. My sys admin says
the focexecs are stored on a Windows 2003
server and the programs run on a Sun box.

When I tell WF to include the code from
an existing FEX, it says it can't find the
file.

Is there anyway to do this?

Also, I'd like to put a page border around
my report (saved as PDF) and can't find a
way to do this.

Thanks
Mike Honeycutt


WebFocus 7.6.6, Windows
 
Posts: 17 | Registered: September 25, 2007Report This Post
Virtuoso
posted Hide Post
You might try the
-mrnoedit
just before your include so WebFOCUS will resolve at execution time. I've never tried doing a page border. Searches of help text may find it though search the forum on pdf output. I don't have the link handy in my brain. There is some good stuff there.


Leah
 
Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004Report This Post
<SomeUsr>
posted
>> My sys admin says the focexecs are stored
>> on a Windows 2003 server and the programs
>> run on a Sun box.

Are you running in a HUB / SUB Setup or is your Sys Admin copying the files between the boxes?
 
Report This Post
Guru
posted Hide Post
Mike,

I can't help you with your "include" problem, but I put borders around my PDF report like this:

DEFINE FILE CAR
BORDER/A50 = '/eda53/ibi/apps/images/border.gif';
END
-*
TABLE FILE CAR
HEADING
"Border Sample"
" "
PRINT
CAR
BORDER NOPRINT
BY COUNTRY
ON TABLE SET PAGE-NUM OFF
ON TABLE SET STYLE *
TYPE=REPORT, GRID=OFF, SQUEEZE=ON, $
UNITS=IN, PAGESIZE='Letter', LEFTMARGIN=1.000000, RIGHTMARGIN=0.500000,
ORIENTATION=PORTRAIT, FONT='TIMES', SIZE=12, $
TYPE=HEADING, IMAGE=(BORDER),
POSITION=(-0.900000 -0.250000), SIZE=(8.25 10.75), $
ENDSTYLE
ON TABLE PCHOLD FORMAT PDF
END
-EXIT

Of course I use JASC Paint Shop Pro to create the image I want to use, then I save it to my image directory. Just an idea.


Glenda

In FOCUS Since 1990
Production 8.2 Windows
 
Posts: 301 | Location: Galveston, Texas | Registered: July 07, 2004Report This Post
Member
posted Hide Post
Thanks to everyone - I've found tons of good information on this website.

I need to check with our technical people to answer some of the questions you've asked
("HUB / SUB Setup or is your Sys Admin copying the files between the boxes?", do I have access to the "/eda53/ibi/apps/images/" directory).

I'll post a reply if I find a solution.

Mike Honeycutt


WebFocus 7.6.6, Windows
 
Posts: 17 | Registered: September 25, 2007Report This Post
Guru
posted Hide Post
Mike,

"/eda53/ibi/apps/images" is a directory on my system. You need to find a directory on your system that you have access to and store your images there.

I actually created a folder in "eda53/ibi/apps" called "images" where I store the images that I want to use.

Hope this helps.


Glenda

In FOCUS Since 1990
Production 8.2 Windows
 
Posts: 301 | Location: Galveston, Texas | Registered: July 07, 2004Report This Post
Master
posted Hide Post
About your include issue, if you are using MRE, the included fex needs to be in the same domain as the calling fex and if it is on the server both need to be in baseaps/procedures. You can then use -INCLUDE fex.


Pat
WF 7.6.8, AIX, AS400, NT
AS400 FOCUS, AIX FOCUS,
Oracle, DB2, JDE, Lotus Notes
 
Posts: 755 | Location: TX | Registered: September 25, 2007Report This Post
Member
posted Hide Post
In case it helps someone else, our technical
person found the solution:

-INCLUDE smith:smith/FexToInclude.fex

Thanks to everyone who took the time to reply.

Mike Honeycutt


WebFocus 7.6.6, Windows
 
Posts: 17 | Registered: September 25, 2007Report This Post
Expert
posted Hide Post
Is smith:smith the User ID:Password? Or is it Server:directory?


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Member
posted Hide Post
Funny you should ask, because I asked the same thing of our technical people (no reply yet) :-)

"smith" is the username and my password is not used in the command.

Another gotcha with this method - the name of the FEX you are including can't be longer than
six characters (at least on our campus).

junk12.fex works
junk123.fex doesn't work

Mike Honeycutt


WebFocus 7.6.6, Windows
 
Posts: 17 | Registered: September 25, 2007Report 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     -INCLUDE on Sun/Win2003

Copyright © 1996-2020 Information Builders