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.
NPFDMD.NPFDMD.MOTD01 AS 'This Month'
NPFDMD.NPFDMD.MOTD02 AS 'Last Month'
NPFDMD.NPFDMD.MOTD03 AS '2 Months Ago'
NPFDMD.NPFDMD.MOTD04 AS '3 Months Ago'
NPFDMD.NPFDMD.MOTD05 AS '4 Months Ago'
NPFDMD.NPFDMD.MOTD06 AS '5 Months Ago'
Does it change to this? It was asking the value of it before the report ran.
The dot is not part of the variable name. When necessary, the dot is used as a delimiter to mark the end of a variable name.
NPFDMD.NPFDMD.MOTD01 AS '&MONTH_TITLE0'
NPFDMD.NPFDMD.MOTD02 AS '&MONTH_TITLE1'
NPFDMD.NPFDMD.MOTD03 AS '&MONTH_TITLE2'
NPFDMD.NPFDMD.MOTD04 AS '&MONTH_TITLE3'
NPFDMD.NPFDMD.MOTD05 AS '&MONTH_TITLE4'
NPFDMD.NPFDMD.MOTD06 AS '&MONTH_TITLE5'
This message has been edited. Last edited by: Dan Satchell,
WebFOCUS 7.7.05
Posts: 1213 | Location: Seattle, Washington - USA | Registered: October 22, 2007
-SET &START_MONTH = &DATEYY | &DATEM ;
-*
-REPEAT ENDREPEAT1 FOR &I FROM 0 TO 4
-SET &YEAR_MONTH = AYM(&START_MONTH,-&I,'I6YYM');
-SET &MONTH_TITLE.&I = LCWORD(9,CHGDAT('YYM','MX',&YEAR_MONTH,'A9'),'A9');
-ENDREPEAT1
TABLE FILE NPFDMD
PRINT
NPFDMD.NPFDMD.MOTD01 AS '&MONTH_TITLE0'
NPFDMD.NPFDMD.MOTD02 AS '&MONTH_TITLE1'
NPFDMD.NPFDMD.MOTD03 AS '&MONTH_TITLE2'
NPFDMD.NPFDMD.MOTD04 AS '&MONTH_TITLE3'
NPFDMD.NPFDMD.MOTD05 AS '&MONTH_TITLE4'
NPFDMD.NPFDMD.MOTD06 AS '&MONTH_TITLE5'
BY LOWEST NPFDMD.NPFDMD.NPITEM AS 'Item#,'
BY LOWEST NPFDMD.NPFDMD.NPWHSE AS 'WHSE'
ON TABLE SUBHEAD
"Y-Screen Demand History &NPITEM"
WHERE NPFDMD.NPFDMD.NPITEM EQ '&NPITEM.(<NPITEM,NPFDMD.NPFDMD.NPITEM>).Item#.';
I thought I did everything correctly. However I'm getting a parameter prompt for all &Month_TITLE 0-4. Was there something I missed?