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]THE DATA VALUE HAS A FORMAT ERROR

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED]THE DATA VALUE HAS A FORMAT ERROR
 Login/Join
 
Member
posted
hii to all

im trying to set a parameter and i get the

THE DATA VALUE HAS A FORMAT ERROR msg

the parameter is 01

into &col_id

how can i fix it??

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


WebFOCUS 7.1.6
Windows
Excel
 
Posts: 14 | Registered: January 28, 2010Report This Post
Expert
posted Hide Post
Please post your exact code in between the code tags, i.e. rightmost icon on the ribbon bar.


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
 
Posts: 2723 | Location: Ann Arbor, MI | Registered: April 05, 2006Report This Post
Virtuoso
posted Hide Post
Without seeing your code it's hard to say for sure. A parameter will take any value - regardless of the format, because it is always taken as a string (although it can be later used as a number). The error you're getting will probably have to do with how you're setting the value or how you're trying to subsequently use the parameter. Make sure your use of quote marks is appropriate. As Ginny mentioned, posting your code would allow us to help you better.

This message has been edited. Last edited by: Darin Lee,


Regards,

Darin



In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat
 
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007Report This Post
Expert
posted Hide Post
Yes, ditto to Ginny and Darin, without the code we're suggesting in the dark.


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
Expert
posted Hide Post
Here's guessing in the dark: If the DM variable is, for example: -SET &MyValue = 'ABCD' ; and it is being used in a WHERE statement as: WHERE FIELD1 EQ '&MyValue' (where: FIELD1 is an "A3" or I3, or any other numberic format). That give you that error...
 
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005Report This Post
Virtuoso
posted Hide Post
That would give you an error, but it would not be that error. You would probably get a COMPARISON BETWEEN COMPUTATIONAL AND ALPHA VALUES IS NOT ALLOWED


Regards,

Darin



In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat
 
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007Report This Post
Expert
posted Hide Post
That's right Darin... I should have run it thru WebFOCUS first for verification... I knew it was AN error... Could it be due to a DEFINE of a numberic DM variable to an alpha formatted field? Hey, it's dark in here without the light of shmulik's code to guide us thru this guessing game... I'll wait for the code...
 
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005Report This Post
Expert
posted Hide Post
quote:
THE DATA VALUE HAS A FORMAT ERROR



FYI

(FOC210) THE DATA VALUE HAS A FORMAT ERROR:
An alphabetic character has been found where all numerical digits are required.

This is probably from a function.


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
<JG>
posted
Normally a function returns a different error if one of it's arguments is wrong

(FOC36355) INVALID TYPE OF ARGUMENT #n FOR USER FUNCTION functionname

quote:
THE DATA VALUE HAS A FORMAT ERROR msg


msg indicates that the error is on the line of code that has not been posted
but is probably

SET parameter = msg

example

SET MSG=ON
SET LINES=msg
 
Report 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]THE DATA VALUE HAS A FORMAT ERROR

Copyright © 1996-2020 Information Builders