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] searching files on EDASERVE for SQL pass-thru usage

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] searching files on EDASERVE for SQL pass-thru usage
 Login/Join
 
Platinum Member
posted
Is there a[n easy] way to get a list of files (fex & html) that reside on the EDASERVE that use SQL pass-thru?
I tried logging into the server and just doing a Windows search, but all I get are html files, none of the fex files, and I know there are a bunch.

Thanks,
Deb

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


WebFOCUS 8.2.03 (production), 8.2.06 (testing)
AppStudio, InfoAssist
Windows, All Outputs
 
Posts: 183 | Location: Indiana | Registered: December 05, 2017Report This Post
Virtuoso
posted Hide Post
Deb

There is a free download called Windows GREP that will allow you to search for strings of data at a directory level. I think you can do the same with Notepad ++ as well


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
 
Posts: 2127 | Location: Customer Support | Registered: April 12, 2005Report This Post
Platinum Member
posted Hide Post
Windows GREP is still around? I haven't used that in ages! Smiler I'll look for it.
Thanks!


WebFOCUS 8.2.03 (production), 8.2.06 (testing)
AppStudio, InfoAssist
Windows, All Outputs
 
Posts: 183 | Location: Indiana | Registered: December 05, 2017Report This Post
Expert
posted Hide Post
Windows GREP is part of GNU Utilities


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Platinum Member
posted Hide Post
If you are in a hurry or are not allowed to install grep, Windows has the findstr command. For example:
findstr /i /n /s "sqlmss" c:\ibi\apps\*.fex 

Learn about all the options with:
findstr /? 

This looks like a good resource for findstr undocumented features

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
Platinum Member
posted Hide Post
dbeagan - That's what I ended up using. Thanks for posting!


WebFOCUS 8.2.03 (production), 8.2.06 (testing)
AppStudio, InfoAssist
Windows, All Outputs
 
Posts: 183 | Location: Indiana | Registered: December 05, 2017Report This Post
Virtuoso
posted Hide Post
Good One


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
 
Posts: 2127 | Location: Customer Support | Registered: April 12, 2005Report This Post
Guru
posted Hide Post
This is great and I can see this working on CMD console, but how did you end up using via Table FILE as a report?
Thanks!


-********************
Sandbox: 8206.10
Dev: 8201M
Prod:8009
-********************
 
Posts: 289 | Location: Houston,TX | Registered: June 11, 2004Report This Post
Platinum Member
posted Hide Post
I did something like this:
-DEFAULT &File  = '*';
-DEFAULT &Ext   = 'fex';
-DEFAULT &Find  = 'while';
-DEFAULT &Case  = 'ignore';
-SET     &Mesg  = IF &Find EQ 'FOC_NONE' THEN ' '  ELSE 'Found: ' | &Find;
-SET     &Icase = IF &Case EQ 'ignore'   THEN '/i' ELSE ' ';
-SET     &dlm   = CHAR(255);
 
!findstr &Icase/n/s /c:"&Find" c:\ibi\apps\&File..&Ext > list.txt
 
 FILEDEF list   DISK list.txt
 FILEDEF master DISK list.mas
-RUN
 
-WRITE master FILENAME=LIST, SUFFIX=DFIX, $
-WRITE master  SEGMENT=LIST, SEGTYPE=S0,  $
-WRITE master   FIELD=Record, , A300, A300, $
-WRITE master   FIELD=DELIMITER, ALIAS='&dlm', A1, A1,$
 
 SET PAGE=NOLEAD,LINES=998
 
 DEFINE FILE list
 Pathfile/A200 = TOKEN(Record,':',1) | ':' | TOKEN(Record,':',2);
 Line/A10      = TOKEN(Record,':',3);
 length/I11    = CHAR_LENGTH(RTRIM(Pathfile)) + CHAR_LENGTH(RTRIM(Line));
 Found/A200V   = SUBSTRING(Record, length+3, 200);
 File/A100     = TOKEN(Pathfile,'\',-1);
 Posit/I9      = POSITION(File, Pathfile);
 Path/A200     = SUBSTRING(Pathfile, 1, Posit-1);
 END
 
 TABLE FILE list
   PRINT File
         Found    AS '&Mesg' 
      BY Path      
      BY Pathfile NOPRINT
 ON TABLE SET STYLE *
 TYPE=REPORT, FONT=CONSOLAS, $
 TYPE=DATA, COLUMN=N, SIZE=11, COLOR=SILVER, $
 TYPE=DATA, BACKCOLOR=(RGB(248 248 248) WHITE), BORDER=LIGHT, BORDER-COLOR=RGB(240 240 240), $
 ENDSTYLE
 END
  


WebFOCUS 8.2.06
 
Posts: 210 | Location: Sterling Heights, Michigan | Registered: October 19, 2010Report 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] searching files on EDASERVE for SQL pass-thru usage

Copyright © 1996-2020 Information Builders