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     [CLOSED] Converting A10V to A6

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Converting A10V to A6
 Login/Join
 
Member
posted
Anyone have an idea on how to convert a field from an A10V to an A6 format? I'm trying to join two files on a field called supplier code but in both files they have the different functions. I've tried using EDIT but it doesn't seem to work. Thank you in advance

This message has been edited. Last edited by: <Kathryn Henning>,


WebFOCUS 8
Windows, All Outputs
 
Posts: 13 | Location: Long Island, New York | Registered: June 23, 2015Report This Post
Master
posted Hide Post
Ryan,

Why doesn't edit work? Where are you making this change? Does this A10V field actually utilize 10 characters? If it never utilizes 10 characters and you have access to the metadata, you could change the ACTUAL/USAGE values in the metadata from A10V to A6. No conversions required. Basically, if the field comes back with more then 10 characters, I believe it would just cut off at the 6th character.

Can you provide how you wrote your edit statement? I would have written it like this

NEW_FIELD/A6=EDIT(OLD_FIELD_10V, '999999');  


If you're just writting it as

  NEW_FIELD/A6=EDIT(OLD_FIELD_10V'); 


then WebFOCUS is trying to fit 10 characters into a 6 character field. It will throw an error.


Eric Woerle
8.1.05M Gen 913- Reporting Server Unix
8.1.05 Client Unix
Oracle 11.2.0.2
 
Posts: 750 | Location: Warrenville, IL | Registered: January 08, 2013Report This Post
Member
posted Hide Post
Tried both ways and I still keep getting the same error

FOC236) LINKED FILE DOES NOT HAVE A MATCHING KEY FIELD OR SEGMENT:

BYPASSING TO END OF COMMAND


WebFOCUS 8
Windows, All Outputs
 
Posts: 13 | Location: Long Island, New York | Registered: June 23, 2015Report This Post
Master
posted Hide Post
Ryan,

Thats not an error related to the define specifically. This has to do with how your joins are structured. Can you please post your code?

You can also search for that error in forum, it has been discussed multiple times before.

Thanks!


Eric Woerle
8.1.05M Gen 913- Reporting Server Unix
8.1.05 Client Unix
Oracle 11.2.0.2
 
Posts: 750 | Location: Warrenville, IL | Registered: January 08, 2013Report This Post
Expert
posted Hide Post
Are you defining this "new" column? If so, have you remembered to use WITH in both the DEFINE and JOIN?

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report 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     [CLOSED] Converting A10V to A6

Copyright © 1996-2020 Information Builders