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  iWay Software Product Forum on Focal Point    SQL SQLMSS SET DATETIME OFF

Read-Only Read-Only Topic
Go
Search
Notify
Tools
SQL SQLMSS SET DATETIME OFF
 Login/Join
 
Member
posted
Hi, within the edasprof.prf I want to be able to set 'SQL SQLMSS SET DATETIME OFF' but to apply to just one application directory, e.g HR. So that when synonyms are created in this application they are date format only. Is this possible please ?
Thanks
Alli


A L Wood
 
Posts: 2 | Location: Leicester | Registered: May 18, 2006Report This Post
Virtuoso
posted Hide Post
Low tech solution: I would suggest that you put the command in a user profile for an alternate user id. When you want to create synonyms with the timestamp off, then log on with the alternate user id to do it.


"There is no limit to what you can achieve ... if you don’t care who gets the credit." Roger Abbott
 
Posts: 1102 | Location: Toronto, Ontario | Registered: May 26, 2004Report This Post
Member
posted Hide Post
Thanks, hadn't thought of that, that is a work around.
Cheers


A L Wood
 
Posts: 2 | Location: Leicester | Registered: May 18, 2006Report This Post
Member
posted Hide Post
We actually use a create_synonym.fex ... that way we can turn it off/on per table. Also, we can add custom 'tweaks' to the generation...

-* File:
-*
-* create_synonym.fex
-*-
-* Short Name:
-*
-* CREATE~1.FEX
-*-
-* Description:
-*
-* This procedure can delete ~ create a synonym programmatically
-* It's meant to be used by another calling fex -- use the -SET
-* command to preset the global variables documented below -- then
-* call with the SYNONYM variable
-*
-*-
-* LOCAL VARIABLES & DEFAULTED PRIOR TO ENTERING FEX...
-*
-* ....|....10...|....20...|....30...|....40...|....50

-DEFAULT &APPNAME = 'MSSQL';
-DEFAULT &CONNECTION = 'SQL10';
-DEFAULT &DATETIME = 'OFF';
-DEFAULT &DBMS = 'SQLMSS';
-DEFAULT &DBNAME = '.';
-DEFAULT &MY_IBIAPPS = 'C:\IBI\APPS\';
-DEFAULT &SYNONYM = '.';
-DEFAULT &WFSERV_ENV = '?';
-RUN

ENGINE SQLMSS SET DATETIME &DATETIME.EVAL
-RUN

-IF &SYNONYM EQ '.' THEN GOTO HELP

-TYPE /*
-TYPE || ...APPNAME[&APPNAME.EVAL]
-TYPE || CONNECTION[&CONNECTION.EVAL]
-TYPE || ......DBMS[&DBMS.EVAL]
-TYPE || ....DBNAME[&DBNAME.EVAL]
-TYPE || ...SYNONYM[&SYNONYM.EVAL]
-TYPE || ..DATETIME[&DATETIME.EVAL]
-TYPE */
-RUN

-TYPE /*
-TYPE || Remove existing &SYNONYM
-TYPE */
-RUN

-SET &SYSTEM= 'IF EXIST "&MY_IBIAPPS.EVAL&APPNAME.EVAL\&SYNONYM.EVAL.*" DEL "&MY_IBIAPPS.EVAL&APPNAME.EVAL\&SYNONYM.EVAL.*"';
-SET &SYSTEM_LENGTH=ARGLEN(150,'&SYSTEM.EVAL','D4');
-TYPE /*
-TYPE || &SYSTEM.EVAL
-TYPE */
-SET &SYSTEM_RESP=SYSTEM(&SYSTEM_LENGTH,'&SYSTEM.EVAL','D4');
-RUN

-TYPE /*
-TYPE || Create new &SYNONYM
-TYPE */
-RUN

CREATE SYNONYM &APPNAME.EVAL/&SYNONYM.EVAL FOR &DBNAME.EVAL.dbo.&SYNONYM.EVAL DBMS &DBMS.EVAL AT &CONNECTION.EVAL
END
-RUN

-GOTO XIT

-HELP

-TYPE /*
-TYPE ||
-TYPE || SYNTAX
-TYPE ||
-TYPE || CREATE_SYNONYM SYNONYM=name
-TYPE ||
-TYPE || LOCAL VARIABLES
-TYPE ||
-TYPE || SYNONYM table or view for which to create an associated .mas and .acx
-TYPE ||
-TYPE || GLOBAL VARIABLES
-TYPE ||
-TYPE || APPNAME application folder typically MSSQL
-TYPE || DBNAME name of database for example: EDM
-TYPE || DBMS database engine typically SQLMSS
-TYPE || CONNECTION defined adaptor CONNECTION-typically SQL10
-TYPE ||
-TYPE */
-RUN

-XIT


7.6.10, Winddows X64
all output
 
Posts: 5 | Registered: March 01, 2010Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  iWay Software Product Forum on Focal Point    SQL SQLMSS SET DATETIME OFF

Copyright © 1996-2020 Information Builders