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.
Will like to run my report weekly using date variables to calculate the current month (Current Year) and previous month (Previous Year). This will be an automated report from Report Caster.
-* -* SET CURRENT DATE -SET &CUR_YYMD = &YYMD; -* -* SET CURRENT MONTH CURRENT YEAR DATES -SET &BCMCY_YYMD = DATECVT(DATEMOV(DATECVT(&CUR_YYMD, 'I8YYMD', 'YYMD'), 'BOM'),'YYMD', 'I8YYMD'); -SET &ECMCY_YYMD = DATECVT(DATEMOV(DATECVT(&CUR_YYMD, 'I8YYMD', 'YYMD'), 'EOM'),'YYMD', 'I8YYMD'); -* SET PREVIOUS MONTH CURRENT YEAR DATES -SET &EPMCY_YYMD = DATECVT((DATEADD((DATECVT (&BCMCY_YYMD, 'I8YYMD', 'YYMD')),'D', -1)), 'YYMD','I8YYMD'); -SET &BPMCY_YYMD = DATECVT(DATEMOV(DATECVT(&EPMCY_YYMD, 'I8YYMD', 'YYMD'), 'BOM'),'YYMD', 'I8YYMD'); -* SET CURRENT MONTH PREVIOUS YEAR DATES -SET &BCMPY_YYMD = DATECVT((DATEADD((DATECVT (&BCMCY_YYMD, 'I8YYMD', 'YYMD')),'Y', -1)), 'YYMD','I8YYMD'); -SET &ECMPY_YYMD = DATECVT(DATEMOV(DATECVT(&BCMPY_YYMD, 'I8YYMD', 'YYMD'), 'EOM'),'YYMD', 'I8YYMD'); -* SET PREVIOUS MONTH PREVIOUS YEAR DATES -SET &BPMPY_YYMD = DATECVT((DATEADD((DATECVT (&BPMCY_YYMD, 'I8YYMD', 'YYMD')),'Y', -1)), 'YYMD','I8YYMD'); -SET &EPMPY_YYMD = DATECVT(DATEMOV(DATECVT(&BPMPY_YYMD, 'I8YYMD', 'YYMD'), 'EOM'),'YYMD', 'I8YYMD'); -* -TYPE -------------------------------------------------------------- -TYPE CURRENT DATE (CUR_YYMD) ------- &CUR_YYMD -TYPE -------------------------------------------------------------- -TYPE --- CURRENT MONTH CURRENT YEAR DATES -TYPE -------------------------------------------------------------- -TYPE BEGIN CURRENT MONTH CURRENT YEAR (BCMCY_YYMD) ----- &BCMCY_YYMD -TYPE END CURRENT MONTH CURRENT YEAR (ECMCY_YYMD) ----- &ECMCY_YYMD -TYPE -------------------------------------------------------------- -TYPE --- PREVIOUS MONTH CURRENT YEAR DATES -TYPE -------------------------------------------------------------- -TYPE BEGIN PREVIOUS MONTH CURRENT YEAR (BPMCY_YYMD) ----- &BPMCY_YYMD -TYPE END PREVIOUS MONTH CURRENT YEAR (EPMCY_YYMD) ----- &EPMCY_YYMD -TYPE -------------------------------------------------------------- -TYPE --- CURRENT MONTH PREVIOUS YEAR DATES -TYPE -------------------------------------------------------------- -TYPE BEGIN CURRENT MONTH PREVIOUS YEAR (BCMPY_YYMD) ----- &BCMPY_YYMD -TYPE END CURRENT MONTH PREVIOUS YEAR (ECMPY_YYMD) ----- &ECMPY_YYMD -TYPE -------------------------------------------------------------- -TYPE --- PREVIOUS MONTH PREVIOUS YEAR DATES -TYPE -------------------------------------------------------------- -TYPE BEGIN PREVIOUS MONTH PREVIOUS YEAR (BPMPY_YYMD) ----- &BPMPY_YYMD -TYPE END PREVIOUS MONTH PREVIOUS YEAR (EPMPY_YYMD) ----- &EPMPY_YYMD -TYPE --------------------------------------------------------------
WebFocus 8.201M, Windows, App Studio
Posts: 227 | Location: Lincoln Nebraska | Registered: August 12, 2008