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.
Hi I have a requirement in which i need to burst report in on a sort field. please consider the following code
DEFINE FILE CAR
CAR_DETAILS/A100 = COUNTRY|' '|CAR|' '|MODEL|' '|BODYTYPE;
END
TABLE FILE CAR
PRINT
CAR_DETAILS
BY MODEL
ON TABLE HOLD AS MAIN1 FORMAT FOCUS
END
-RUN
DEFINE FILE MAIN1
CAR_NAM/A100 = 'HEADING';
END
TABLE FILE MAIN1
PRINT
CAR_NAM
-*HEAD1
BY MODEL
WHERE RECORDLIMIT EQ 1
ON TABLE HOLD AS HOLD1 FORMAT FOCUS
END
-RUN
TABLE FILE MAIN1
PRINT
CAR_DETAILS
BY MODEL
ON TABLE HOLD AS HOLD2 FORMAT FOCUS
END
DEFINE FILE MAIN1
TRAIL1/A100 = 'TRAILER';
END
TABLE FILE MAIN1
PRINT
TRAIL1
BY MODEL
WHERE RECORDLIMIT EQ 1
ON TABLE HOLD AS HOLD3 FORMAT FOCUS
END
-RUN
TABLE FILE HOLD1
PRINT
CAR_NAM
BY MODEL
ON TABLE HOLD AS FINALHOLD FORMAT FOCUS
MORE
FILE HOLD2
MORE
FILE HOLD3
END
-RUN
TABLE FILE FINALHOLD
PRINT
CAR_NAM AS ''
BY MODEL NOPRINT
END
-RUN
there are a few constraints. 1) I have to merge the three files is for header, main report and trailer. I created separate hold files for them and merged them. 2) I want the header and trailer (mentioned as above) to be repeated as the sort field changes ie if for this example my model changes from SUV to MPV then the header and trailer should be repeated. now the problem i am facing here is that I am getting the header and trailer after the value changes for the first time itself and then the header and trailer don't get repeated .
thanks in advance
SidThis message has been edited. Last edited by: Kerry,
If you are using MORE, make all the column names in ALL of the hold files the same name, either CAR_NAM or CAR_DETAILS, whichever. It might be helpful if you looked up the syntax and restrictions for this command.
Then create two extra sort fields for each model, one that gets incremented when the model changes, and a second inner one with lets say is a 9 in it for the trailer and a zero for the header, and you can choose whatever you want for the detail records. You would sort the final result by SORT1, SORT2, MODEL.