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.
(FOC36355) INVALID TYPE OF ARGUMENT #3 FOR USER FUNCTION AYMDI
I fixed it by changing it to -SET &YESTERDAY=AYMD(&TODAY,-1,'I8');
OK first of all this is really annoying because we use AYMD in a million places. But I am wondering, is this actually documented? What other functions will no longer work or require modifications? Is there a list somewhere?
It's not surprising that you'd need to use the I8 format since you are performing a numerical function on the date. Yes, I know that you can do this with smart dates as well, but if you're working in dialogue manager, one really doesn't know the format.
The keysheet even indicates that when using AYM or AYMD, that the output format should be I6YYM or I8YYMD.
All I want to do is Subtract 1 month from the end of the month, so I can have a month range that will automatically run each month...scheduled at month end.
I cannot...no matter what I do...and how much documentation I read, or old posts, seem to get AYM to work.
Anyone?
In Focus since 1993. WebFOCUS 7.7.03 Win 2003
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005
THIS WORKS DEFINE FILE CAR CURR_DATE/YYMD WITH COUNTRY='&YYMD'; BEG_CUR_MO/YYMD=DATEMOV(CURR_DATE,'BOM'); END_CUR_MO/YYMD=DATEMOV(CURR_DATE,'EOM'); BEG_PRIOR_MO/YYMD=DATEADD(BEG_CUR_MO,'M',-1); END_PRIOR_MO/YYMD=DATEMOV(BEG_PRIOR_MO, 'EOM'); END TABLE FILE CAR PRINT CURR_DATE AS 'CURRENT,DATE' BEG_CUR_MO AS '1ST DAY,CURRENT,MONTH' END_CUR_MO AS 'LAST DAY,CURRENT,MONTH' BEG_PRIOR_MO AS '1ST DAY,PRIOR,MONTH' END_PRIOR_MO AS 'LAST DAY,PRIOR,MONTH' END
In Focus since 1993. WebFOCUS 7.7.03 Win 2003
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005