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] Is there any way to execute small scripts using a command window or similar?

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Is there any way to execute small scripts using a command window or similar?
 Login/Join
 
Silver Member
posted
Hi,

I am new to WebFOCUS (only InfoAssist and BIP is used by us).

While I know that most of the forum discussions contain some code (a program, I would say), some contain small scrips like below.

Sample Script

(An extract from the above is given below in order to let you know what I am referring to.)

quote:

-*
-SET &PDAY = DATEADD (&YYMD, 'DAY', -1);
-SET &N_PDAY = AYMD (&YYMD, -1, 'I8YYMD');
-*
-TYPE YYMD ------- &YYMD
-TYPE PDAY ------- &PDAY
-TYPE N_PDAY ----- &N_PDAY


Is it possible to execute such a script using any WebFOCUS tool/command window to test what's happening. Or I need to create a report using InfoAssist, add some DEFINE/COMPUTE fields and run the report to see what the above is doing?

Thank you.

Kind regards,

Manoj.

This message has been edited. Last edited by: Manoj,


Newbie.
WebFOCUS 8.2.0.3.
Client 8.2.0.4.
 
Posts: 46 | Location: UK | Registered: August 30, 2018Report This Post
Virtuoso
posted Hide Post
You might be given access to the Web Console with a personal directory.


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
Silver Member
posted Hide Post
Hi Daniel,

I added the commands using 'Text Editor' and after saving to a file and running the file, I can see the output.

Great. Thanks for your reply.

Kind regards,

Manoj.


Newbie.
WebFOCUS 8.2.0.3.
Client 8.2.0.4.
 
Posts: 46 | Location: UK | Registered: August 30, 2018Report This Post
Platinum Member
posted Hide Post
I wanted to do some thing like that. I set up a Windows shortcut referencing the following URL (your URL will replace localhost:8080 with the server : port appropriate for your environment):
WebFOCUS 8.2.06
http://localhost:8080 /ibi_apps/TED?folderPath=IBFS:/WFC/Repository/Public&itemName=&mode=fex

However for earlier releases:
WebFOCUS 8.2.05 and earlier
http://localhost:8080 /ibi_apps/tools/portlets/resources/markup/sharep/SPEditorBoot.jsp?folderPath=IBFS:/WFC/Repository/Public&itemName=&isReferenced=true

Clicking on the shortcut opens up the code editor in the browser. You can drag-and-drop or cut-and-paste code into it and run the code.

NOTE:
You have to be already authenticated to WebFOCUS in the browser.

This message has been edited. Last edited by: dbeagan,


WebFOCUS 8.2.06
 
Posts: 210 | Location: Sterling Heights, Michigan | Registered: October 19, 2010Report This Post
Silver Member
posted Hide Post
Noted with thanks, dbeagan.


Newbie.
WebFOCUS 8.2.0.3.
Client 8.2.0.4.
 
Posts: 46 | Location: UK | Registered: August 30, 2018Report 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] Is there any way to execute small scripts using a command window or similar?

Copyright © 1996-2020 Information Builders