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.
I have a group of reports that report against a directory of flatfiles (csv's).
//nasserver/dev/inbound this synonym is called elasped_time_csv.
Now we are ready to go in to production so I need to change these reports to report against flatfiles located in a different location.
//nasserver/prod/inbound.
I have already added the new ODBC adapter for the new location.
Questions:
Can I copy the current synonym then text edit the new location in and rename the copy to prod_elasped_time_csv?
Once I have the new synonym is there a better way to update the reports then going in to the source of each report and adding 'prod_' to every instance of 'elasped_time_csv" ?
I was thinking of just editing the location of the flatfiles in the synonym, to the production location, but I still need a set a reports that report against the development server flatfiles.This message has been edited. Last edited by: Kerry,
prod: WF 7.7.03 platform IIS on Windows 2007, databases: Oracle, , MSSQL
Can you post a sample master file and access file?
I'm thinking that you do not need another data adapter. The csv file that is defined in the DATASET of the master file is the default data source. You should be able to overwrite the input csv file using a FILEDEF.
-SET &ENVIRONMENT = 'PROD';
-SET &LOCATION = IF (&ENVIRONMENT EQ 'PROD') THEN '\\nasserver\prod\inbound\elasped_time.csv' ELSE '\\nasserver\dev\inbound\elasped_time.csv';
FILEDEF CSV_FILE DISK &LOCATION
-RUN
TABLE FILE CSV_FILE
PRINT
FIELD1
FIELD2
END
Greg, For Max's suggestion, your FEX could look like this. This example would look for MFDs called DEV_CAR, UAT_CAR and PRD_CAR, so unless those exist, you'll get an error when running.
You are using the new feature of variables in the master file. In this case you will need a data adapter for production. Set the value of &&FL_CONNECTION to the name of the data adapter for production. Set the value &&FL_DIRECTORY to the production folder. You can place the code in a fex and INCLUDE it at the top of the report.