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.
I have a report with all the date in the parameter panel for user to pick. and I used this date to display which data the report is running data for. The data default to the highest date to start, however the date won't display till you click run.
In other words: the default date did not display, but if you hit run button , the date will display. Does any one know why?? below is the code for the run date:
-IF &LASTRUNDATE NE ' ' THEN GOTO EXITRUNDATE;
TABLE FILE JOB_LASTRUN_LOG BY HIGHEST 1 JOB_LASTRUN_LOG.JOB_LASTRUN_LOG.LASTRUNDATE WHERE JOB_BATCH EQ 'CSR'; ON TABLE HOLD AS READCSRRD FORMAT ALPHA END -RUN -READFILE READCSRRD -TYPE &LASTRUNDATE
-EXITRUNDATEThis message has been edited. Last edited by: <Kathryn Henning>,
In my report, when the report first run, I don't need to click on RUN, it will start with all the default value I had in the report code. like below: -DEFAULTH ®ION = 'FOC_NONE'; -DEFAULTH &SITECD = 'FOC_NONE'; -DEFAULTH &CLINIC = 'FOC_NONE'; -DEFAULTH &SUPERVISOR = 'FOC_NONE'; -DEFAULTH &MTH = ''; -DEFAULTH &WFFMT = 'HTML'; -DEFAULTH &LASTRUNDATE = '';
it was set to blank in report code. however it was set up to pull the highest date in the parmater panel,that is why when it runs, it runs at the highest date, but the date won't display I can't paste the image here. in the propoerties and settings for parameter, I set it run from a .fex program which is the same as the code below to pull the highest date and sort the date by descending
In other words: the default date did not display, but if you hit run button , the date will display.
quote:
it was set to blank in report code. however it was set up to pull the highest date in the parmater panel,that is why when it runs, it runs at the highest date, but the date won't display
Both of your statements are contrary to other.
Simply, you're not able to pass the values of parameter named LASTRUNDATE from your HTML to fex?
What is the default value of &LASTRUNDATE in your fex? What do you expect in it? Can you tell me the flow?
What is this below code for?
quote:
TABLE FILE JOB_LASTRUN_LOG
BY HIGHEST 1 JOB_LASTRUN_LOG.JOB_LASTRUN_LOG.LASTRUNDATE
WHERE JOB_BATCH EQ 'CSR';
ON TABLE HOLD AS READCSRRD FORMAT ALPHA
END
-RUN
-READFILE READCSRRD
-TYPE &LASTRUNDATE
Does your parameter fex has ON TABLE PCHOLD FORMAT XML ? Have you associated your parameters in "Additonal Parameters" button?
Are you in 7.6.x.x? If so, you must use -READ instead of -READFILE
You're struggling so much with LASTRUNDATE naming convention. Try giving different names. This message has been edited. Last edited by: Rifaz,
-Rifaz
WebFOCUS 7.7.x and 8.x
Posts: 406 | Location: India | Registered: June 13, 2013