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]Date Conversion

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED]Date Conversion
 Login/Join
 
Platinum Member
posted
I have one date from one table that is in this format:
YYMD
YYYY/MM/DD

Another Table has the date in this format:

A7 output is like this: MM/YYYY

How do get these to formats to agree. I am trying to use the more statement to append these dates in the same field. I dont particulary need them to look the same but they need to work together. So alphanumeric would be fine if the other doesn't work.

And yes I have search focalpoint but every thing I have looked at doesn't seem to speak to my problem.

Any Help

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


IBM Main Frame: MVS, FIX, VSAM

Windows SQL

WF 7.7
 
Posts: 147 | Registered: June 24, 2006Report This Post
Virtuoso
posted Hide Post
Is your first field a smart date or an A10?
Strip off the day in the first field and then edit it to be an A7 so it will match the second field.
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Report This Post
Platinum Member
posted Hide Post
SMARTDATE


IBM Main Frame: MVS, FIX, VSAM

Windows SQL

WF 7.7
 
Posts: 147 | Registered: June 24, 2006Report This Post
Virtuoso
posted Hide Post
First field is smartdate. Convert it to alpha: compute date/a8yymd = smartdate.
Then use edit to break it up in pieces and put them together again to form the a7 field.

If you need to do more sophisticated date conversions, there is a very good and very readable book: (Almost) 1001 ways to work with dates. DN is 94000251.1106. It costs only 25 $ and is available on the ibi website. I can recommend it to you - you'll be giving advice after reading it in stead of asking for it.


GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
 
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007Report This Post
Platinum Member
posted Hide Post
Thanks


IBM Main Frame: MVS, FIX, VSAM

Windows SQL

WF 7.7
 
Posts: 147 | Registered: June 24, 2006Report 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]Date Conversion

Copyright © 1996-2020 Information Builders