IB - Developer Center    Forums  Hop To Forum Categories  FOCUS/WebFOCUS    Is anyone using Alpha Variable fields?
Go
New
Search
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
Member
Posted
Webfocus seems to have many problems dealing with Alpha Variable fields rather then fixed length. Within our environment, we have many different data sources primarily coming from Oracle.
We are a large company and not the same groups do not manage all tables so the key fields we join on are defined in different ways (i.e. A10V, A15, A20, etc.) across the different Oracle tables.
Within WF you can't seem to join 2 Alpha fixed fields together that are not the exact same definition, but you can do this with Alpha Variable.
In addition, using fixed length within Oracle takes up more room.

We are finding many different problems when we go to create jobs and the answer always seems to be changing it to fixed length.

Does anyone else have issues with Variable length fields?
 
Posts: 1 | Registered: September 17, 2008Reply With QuoteEdit or Delete MessageReport This Post
Master
Posted Hide Post
Kathy

wf came late to variable length fields and I would suggest you do everything as fixed (we also Oracle shop). The prob with joins is resolved with a setting ORACHAR=VAR.

Here are ours

(FOC1496) AUTODISCONNECT OPTION IS - : ON FIN
(FOC1499) AUTOCOMMIT OPTION IS - : ON COMMAND
(FOC1491) FETCH BUFFERING FACTOR - : 5000
(FOC1531) INSERT BUFFERING FACTOR - : 500
(FOC1652) CHARACTER TYPE FOR INSERT OR UPDATE - : VAR
(FOC1653) CONVERSION STYLE FOR ORACLE NUMBERS - : COMPAT
(FOC1654) ORACLE HOME - : Not set
(FOC1655) ORACLE SID - : Not set
(FOC1441) WRITE FUNCTIONALITY IS - : ON
(FOC1445) OPTIMIZATION OPTION IS - : ON
(FOC1763) IF-THEN-ELSE OPTIMIZATION IS - : ON
(FOC1484) SQL ERROR MESSAGE TYPE IS - : DBMS
(FOC1552) INTERFACE DEFAULT DATE TYPE - : NEW
(FOC1446) DEFAULT DBSPACE IS - :

Also there is a setting to stop AnVs being gened for Oracle varchars in the metadata. NB dont change Oracle just use fixed length in your metadata.

Do a search of the forum on ORACHAR as well...

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



Server: WF 7.6.2 ( BID/Rcaster) Platform: W2003Server/IIS6/Tomcat/SQL Server repository Adapters: SQL Server 2000/Oracle 9.2
Desktop: Dev Studio 765/XP/Office 2003 Applications: IFS/Jobscope/Maximo
 
Posts: 849 | Location: Airstrip One | Registered: October 06, 2006Reply With QuoteEdit or Delete MessageReport This Post
Virtuoso
Posted Hide Post
Direct answer to Kathy's question - boy, do I have issues! Insomuch that we avoid them altogether. And seems you've already found the solution.

SET VARCHAR=OFF in the server profile would probably resolve most issues. You would need to regenerate your master files after changing the setting.


Regards,

Darin



WF Server: 7.1.6 on Z/OS and Linux, ReportCaster, Self-Service, MRE, Java
Data: DB2, DB2/UDB, Adabas, SQL Server Output: HTML,PDF,Excel2K
WF Client: Linux w/WebSphere, Servlet, CGI
 
Posts: 1323 | Location: Salt Lake City, Utah | Registered: February 02, 2007Reply With QuoteEdit or Delete MessageReport This Post
Master
Posted Hide Post
If you use the VARCHAR=OFF option, you may need to create your masters rather than regenerating them.


Pat
WF 5.3.2 AIX, NT, AS/400, Focus AS/400, AIX, Oracle, JDE, DB2, Lotus Notes
 
Posts: 525 | Location: TX | Registered: September 25, 2007Reply With QuoteEdit or Delete MessageReport This Post
Expert
Posted Hide Post
SQL SQLORA SET VARCHAR OFF
is in my edasprof
then i re-create my masters using the synonmym creator.
As PB says, 'refresh' isn't quite enough.
Refresh will only take the V off the ACTUAL, not the USAGE.
So you have to CREATE NEW and click the 'OVERWRITE' box..you don't have to delete them and recreate them, which is nice.
Then you'll have the V off both the ACUAL and the USAGE.
I'm with Darin... Its a real good thing to do. it avoids all kinds of ageda !




DevStu 767; wintell 767; Unix 765,Oracle: /// iplanet; Dev 765 tomcat 6;///MRE/BID/PMF
 
Posts: 2634 | Location: Manhattan | Registered: October 28, 2003Reply With QuoteEdit or Delete MessageReport This Post
Expert
Posted Hide Post
... but watch out for loss of customisations such as TITLE and DESCRIPTION keywords - depending upon the release that you are on these may get "lost" - later releases are better.

T


Old FOCUS coders never die, they just become functionally stable. (Tony A Wink)

Current Client: WebFOCUS 7.6.2 Win XP SP2/IIS 6/Tomcat 5.5 - MRE / BID MS SQL / Oracle - DevStudio 7.6.6 7.1.6
Local: WebFOCUS 7.6.6 7.1.6 on Win XP SP2/Apache/Tomcat 5.5 - Self Service
 
Posts: 2865 | Location: England U.K. (Freelance) | Registered: April 08, 2004Reply With QuoteEdit or Delete MessageReport This Post
 Previous Topic | Next Topic powered by eve community  
 

IB - Developer Center    Forums  Hop To Forum Categories  FOCUS/WebFOCUS    Is anyone using Alpha Variable fields?

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