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.



Read-Only Read-Only Topic
Go
Search
Notify
Tools
EDASTART and -SET
 Login/Join
 
Gold member
posted
Hello,

I am trying to execute one T3I file by using EDASTART -f.

Here is my t3i file:
 
%connect
%begin

APP PREPENDPATH db2_target

-SET &USER = 'ADMINISTRATOR'

EX c:\ibi\apps\Proc.FEX

%end
%disconnect
%stop_server
 


When I execute that t3i file the FEX procedure is running well but the following message appears in the t3o file:

 
 (FOC1517) UNRECOGNIZED COMMAND -SET &USER = 'ADMINISTRATOR'; 
 


Can you tell me how I can set the &USER variable?

Thanks in advance.


WebFOCUS 7.6
Windows 2000
Output: HTML, PDF
 
Posts: 72 | Registered: January 14, 2008Report This Post
Virtuoso
posted Hide Post
You need a semi-colon at the end of your -SET command, it seems.


Daniel
In Focus since 1982
wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF

 
Posts: 1980 | Location: Tel Aviv, Israel | Registered: March 23, 2006Report This Post
Gold member
posted Hide Post
I have tried the following:
 
-SET &USER = 'ADMINISTRATOR'

-SET &USER='ADMINISTRATOR'

-SET &USER='ADMINISTRATOR';

-SET &USER = 'ADMINISTRATOR';

  


Each one of the previous lines return the same error.....


WebFOCUS 7.6
Windows 2000
Output: HTML, PDF
 
Posts: 72 | Registered: January 14, 2008Report This Post
<JG>
posted
Try

EX c:\ibi\apps\Proc.FEX &USER = 'ADMINISTRATOR'
 
Report This Post
Gold member
posted Hide Post
Thanks JG now it works Smiler


WebFOCUS 7.6
Windows 2000
Output: HTML, PDF
 
Posts: 72 | Registered: January 14, 2008Report This Post
Virtuoso
posted Hide Post
Here's why:

The T3I script is not executed as an adhoc focexec file, but rather as "sysin" input -- like keyboard input under traditional FOCUS.

Dialog Manager pre-processing does not take place, so only FOCUS language commands are recognized.

That's also the reason why the optional & in
EX c:\ibi\apps\Proc.FEX &USER = 'ADMINISTRATOR'
does not need to be escaped.


- Jack Gross
WF through 8.1.05
 
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 2005Report This Post
<JG>
posted
There is an alternative method where you have any required variables as global variables in another fex and EX that prior to the main one

so for example

%connect
%begin
APP PREPENDPATH db2_target
EX c:\ibi\apps\Variables.FEX
EX c:\ibi\apps\Proc.FEX
%end
%disconnect
%stop_server

would work
 
Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders