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]Current Date, Year

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED]Current Date, Year
 Login/Join
 
<Toshu>
posted
Hello,
Does anyone know how to retrive current date, year etc. as strings in temp variables? I am using FOCUS 7.3.6 under Z/OS using ISPF.
Regards,
Tushar

This message has been edited. Last edited by: <Toshu>,
 
Report This Post
Virtuoso
posted Hide Post
try &YYMD....
see what you get




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

 
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006Report This Post
Virtuoso
posted Hide Post
Toshu,

Today we are 9 May, 2009:

Numbers only:
&DMYY=09052009
&YYMD=20090509
&MDY=050909
etc...

Formatted in the same way as Focus dates:
&DATEDMYY=09/05/2009
&DATEDMTYY=09 MAY 2009
etc...


Daniel
In Focus since 1982
wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF

 
Posts: 1980 | Location: Tel Aviv, Israel | Registered: March 23, 2006Report This Post
<Toshu>
posted
Hi Danny
Thanks for the reply. But need further help.
I have to compare myyear with current year in table command.
TABLE FILE FILE9
PRINT *
WHERE (SITE EQ 'C' OR SITE EQ 'T')
AND LSPNAME NE ' '
AND (LSP NE ' 900' AND LSP NE ' 0')
AND (EDCD EQ ' ' OR EDCD EQ 'M' OR EDCD EQ 'N')
AND (SUBSTR(8,DT,1,4,4,'A4') EQ &Y)
END
-RUN
i tried eq as &yy and othrs.
but it is throwing error in syslog :
(FOC295) A VALUE IS MISSING FOR: Y

What to do?
 
Report This Post
<Toshu>
posted
Thanks Danny!
It worked.
I was doing wrong.
Thanks a lot!
 
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]Current Date, Year

Copyright © 1996-2020 Information Builders