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     McGuyver Techniques with Examples.
Go
New
Search
Notify
Tools
Reply
  
McGuyver Techniques with Examples.
 Login/Join
 
Platinum Member
posted
Hi All,
i am looking for Examples for all McGuyver Techniques. i knew that this tech were availble in Focal point under Tips and Tech but the thing is here all tech are explained usind Mainframe focus and it's very difficult to understand.
please let me know if anyone having Examples with CAR in WebFOCUS for all these tech.

Thanks,
Kalyan.S
kalyanswarna@gmail.com
 
Posts: 155 | Location: Bangalore. | Registered: January 24, 2006Reply With QuoteReport This Post
Virtuoso
posted Hide Post
This gives an example of how you can multiply the number of occurances, you could then do different things based on the value of counter:
Note if the hold file with the counter is not created as an indexed focus file the world does not multiply the data and weird things occur.

DEFINE FILE CAR
BLANK/A1 WITH MODEL = ' ';
COUNTER/I1 WITH MODEL = COUNTER + 1;
END
TABLE FILE CAR
PRINT
COUNTER
BY BLANK
WHERE RECORDLIMIT EQ 5
ON TABLE HOLD AS HOLD1 FORMAT FOCUS INDEX BLANK
END
JOIN BLANK WITH MODEL IN CAR TO ALL BLANK IN HOLD1 AS J1
DEFINE FILE CAR
BLANK/A1 WITH MODEL = ' ';
END
TABLE FILE CAR
PRINT *
BY COUNTER
END


Leah
 
Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004Reply With QuoteReport This Post
Platinum Member
posted Hide Post
 
Posts: 226 | Registered: June 08, 2003Reply With QuoteReport This Post
Master
posted Hide Post
I've still got that issue of the Systems Journal. I reference that issue more than any other.


In FOCUS since 1985. Prod WF 8.0.08 (z90/Suse Linux) DB (Oracle 11g), Self Serv, Report Caster, WebServer Intel/Linux.
 
Posts: 958 | Location: Oklahoma City | Registered: October 27, 2006Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     McGuyver Techniques with Examples.

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.