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]Dynamic library name in .acx file

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED]Dynamic library name in .acx file
 Login/Join
 
Guru
posted
All, we are running WebFOCUS for JDE Enterprise One on IBM i. Is there any possibility to point to the correct library without hard-coding it in the .acx file? (yes, we are having multiple tables with the same name in different libraries).

Tia
Håkan

This message has been edited. Last edited by: Håkan,


WebFOCUS DS 8.0.06/08 DS/AS
WebFOCUS RS 8.0.08 (Linux/IBM i)
WebFOCUS Client 8.0.06 (Linux)
 
Posts: 319 | Location: Stockholm, Sweden | Registered: February 04, 2004Report This Post
Virtuoso
posted Hide Post
Don't know if it will work in your case, but in mine it does with AS400/DB2-400 IBM iSeries :

acx :
 SEGNAME=TBLNAME, TABLENAME=&&LIB/TBLNAME, CONNECTION=DB2, KEYS=0, $

mas :
FILENAME=TBLNAME, SUFFIX=DB2     , MFD_PROFILE=usual_modules/bidon, $
 VARIABLE NAME=&&LIB,  $
  SEGMENT=TBLNAME, SEGTYPE=S0, $
    FIELDNAME=REGION, ALIAS=REGION, USAGE=A3, ACTUAL=A3, $

fex:
-* File BIDON.fex
-* FEX BIDON USE IN MASTER AS MFD
-*


Then just need to assign &&LIB prior to do your TABLE FILE

-SET &&LIB = 'MYLIB';
TABLE FILE TBLNAME
BY REGION
END


WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
 
Posts: 2409 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013Report This Post
Master
posted Hide Post
Yes, you can define parameters in master file and the use then in master or acx files.

EXAMPLE:
IN ACX
TABLENAME=&&VMS2DBNAME

IN MAS
VARIABLE NAME=&&VMS2DBNAME,

in fex before TABLE REQUEST
-SET &&VMS2DBNAME = 'SOME VALUE';




Scott

 
Posts: 865 | Registered: May 24, 2004Report This Post
Guru
posted Hide Post
Thanks guys, it seems to work. That is, if you don't use Info Assist.


WebFOCUS DS 8.0.06/08 DS/AS
WebFOCUS RS 8.0.08 (Linux/IBM i)
WebFOCUS Client 8.0.06 (Linux)
 
Posts: 319 | Location: Stockholm, Sweden | Registered: February 04, 2004Report 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]Dynamic library name in .acx file

Copyright © 1996-2020 Information Builders