Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
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?
Go
New
Search
Notify
Tools
Reply
  
[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, 2018Reply With QuoteReport 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: 1976 | Location: Tel Aviv, Israel | Registered: March 23, 2006Reply With QuoteReport 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, 2018Reply With QuoteReport 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,


WF 8.2.06
Win10 / IE11
AHTML EXL2K PDF
 
Posts: 189 | Registered: October 19, 2010Reply With QuoteReport 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, 2018Reply With QuoteReport This Post
  Powered by Social Strata  
 

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-2018 Information Builders, leaders in enterprise business intelligence.