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     Help with a HHIS field.

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Help with a HHIS field.
 Login/Join
 
Silver Member
posted
I have not used the HHIS field.

I have user that is trying to compare a HHIS - TA field with a variable ( TA LE '&BegTa' ) OR
( TA GE '&EndTa' )&
Pickup Pickup Time of
Loc DADOW Date Arrival
------ ----- ------ -------
AZPHO11 1 09/23/2007 20:13:00
1 09/23/2007 15:00:00
1 11/25/2007 12:00:00
and i am receiving a

(FOC280) COMPARISON BETWEEN COMPUTATIONAL AND ALPHA VALUES IS NOT ALLOW

-DEFAULT &Loc = 'AZPHO11';
-DEFAULT &Date = '20070923';
-DEFAULT &BegTa = '201300';
TABLE FILE DB2ACT11
PRINT
DADOW
DA/MDYY AS 'Pickup,Date'
TA AS 'Time of,Arrival'
BY PU_LOC AS 'Pickup,Loc'
WHERE ( PU_LOC EQ '&Loc' ) AND ( DA GE '&Date' ) AND (( DADOW EQ '1' ) AND ( TA LE '&BegTa' );
WHERE RECORDLIMIT EQ 30
ON TABLE SET PAGE-NUM OFF
ON TABLE NOTOTAL
ON TABLE PCHOLD AS DONRAA FORMAT WP
END


Version 7.17
 
Posts: 31 | Location: The Hertz Corp(Oklahoma City) | Registered: March 30, 2007Report This Post
Expert
posted Hide Post
Don,

What are the formats of those three fields within the synonym? I guess that the TA field is A8.

You problem is likely to be the fact that WF treats a variable consisting of numbers as numeric irrespective of whether it is bounded by quotes. See recent postings about this.

One final thing, please update the signature section of your profile (Go/Personal Zone/Profile) and add the release, OS and platform to the signature textbox that you find there. This will then show on each posting so that we know your set-up and can modify responses accordingly. Some people have added the output formats they use as well. Thanks

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
Guru
posted Hide Post
Tony, Don,

I think he said TA is an HHIS field.
So you probably need to convert begTA to an HHIS field. Check out HINPUT function. Not sure if HINPUT is available on all versions tho...
Don, HHIS is time in hh:mm:ss format.

regards,
Anatess


WF 8.1.05 Windows
 
Posts: 333 | Location: Orlando, FL | Registered: October 17, 2006Report This Post
Silver Member
posted Hide Post
The field has been described as fellows
FIELD=TA ,TA, HHIS ,HHIS ,MISSING=OFF,$

I just not sure how this type is used.


Version 7.17
 
Posts: 31 | Location: The Hertz Corp(Oklahoma City) | Registered: March 30, 2007Report This Post
Expert
posted Hide Post
Oooops, well spotted Anatess, I missed that one. Roll Eyes

Don,

You should be able to convert your time field and compare on that level -

DEFINE FILE CAR
  TIME_H/HHIS WITH COUNTRY = HGETC(8,'HHIS');
  TIME_A/A8 WITH COUNTRY   = HCNVRT(TIME_H, '(HHIS)', 8, 'A8');
END
TABLE FILE CAR
PRINT TIME_H
BY COUNTRY
WHERE TIME_A GT '10:25:00'
END

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
Silver Member
posted Hide Post
I fugured it out.....
Thanks for your help......
Don R.
-DEFAULT &Loc = 'AZPHO11';
-DEFAULT &Date = '20070923';
-DEFAULT &BegTa = 201300;
-DEFAULT &EndTa = 000001;
SET EMPTYREPORT = ON
DEFINE FILE DB2ACT11
PU_LOC/A7=EDIT ( CY , '$$9999999' );
RTN_LOC/A7=EDIT ( RC , '$$9999999' );
EMADDRESS/A30=EDIT ( EMAIL_ADDR , '99999999999999999999999999999$' );
CUST_NAME/A15=EDIT ( NM , '999999999999999$' );
END
TABLE FILE DB2ACT11
PRINT
DADOW
VT AS 'Car,Class'
DA/MDYY AS 'Pickup,Date'
TA AS 'Time of,Arrival'
ID
CUST_NAME AS 'Customer,Name'
PH AS 'Phone,Number'
EMADDRESS AS 'EMail Address'
BY PU_LOC AS 'Pickup,Loc'
HEADING
"AFTER / BEFORE HOURS RESERVATIONS FOR &Loc"
" "
FOOTING
"DAY OF WEEK KEY: 1=SUN; 2=MON; 3=TUE; 4=WED; 5=THU; 6=FRI; 7=SAT"
" "
ON TABLE SUBFOOT
"&DATEtrMDYY <+0> "
WHERE ( PU_LOC EQ '&Loc' ) AND ( DA GE '&Date' ) AND
(( DADOW EQ '1' ) AND (( TA LE DT(&BegTa)) OR ( TA LE DT(&BegTa)))); <--------
-*(( DADOW EQ '1' ) AND (( TA LE &BegTa) OR ( TA GE '&EndTa' )));


Version 7.17
 
Posts: 31 | Location: The Hertz Corp(Oklahoma City) | Registered: March 30, 2007Report 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     Help with a HHIS field.

Copyright © 1996-2020 Information Builders