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 am using FILEDEF multiple times to write a report output to multiple locations. Is there a way i can send the output to multiple locations by running it once rather than running it each time for each loaction. Here is how i am doing
-SET &FIL_NM = 'FLNM_' || '&YYMD' || '&TOD' ;
FILEDEF &FIL_NM.EVAL DISK /app/ibi/apps/folder1/&FIL_NM.EVAL...PDF
TABLE FILE CAR PRINT CAR COUNTRY MODEL BY CAR NOPRINT ON TABLE HOLD AS &FIL_NM.EVAL FORMAT PDF END
FILEDEF &FIL_NM.EVAL DISK /app/ibi/apps/folder2/&FIL_NM.EVAL...PDF
TABLE FILE CAR PRINT CAR COUNTRY MODEL BY CAR NOPRINT ON TABLE HOLD AS &FIL_NM.EVAL FORMAT PDF END
FILEDEF &FIL_NM.EVAL DISK /app/ibi/apps/folder3/&FIL_NM.EVAL...PDF
TABLE FILE CAR PRINT CAR COUNTRY MODEL BY CAR NOPRINT ON TABLE HOLD AS &FIL_NM.EVAL FORMAT PDF END ThanksThis message has been edited. Last edited by: Kerry,
If you are copying to APP folders, there is an APP COPYF command that can be used. I haven't actually used it, but the syntax is probably something like this:
-SET &FIL_NM = 'FLNM_' || '&YYMD' || '&TOD' ;
FILEDEF &FIL_NM.EVAL DISK /app/ibi/apps/folder1/&FIL_NM.EVAL...PDF
TABLE FILE CAR
PRINT CAR
COUNTRY
MODEL
BY CAR NOPRINT
ON TABLE HOLD AS &FIL_NM.EVAL FORMAT PDF
END
-RUN
APP COPYF folder1/&FIL_NM.EVAL folder2/&FIL_NM.EVAL
APP COPYF folder1/&FIL_NM.EVAL folder3/&FIL_NM.EVAL
Otherwise, you can call the OS COPY command, but will need to provide full pathing.
WebFOCUS 7.7.05
Posts: 1213 | Location: Seattle, Washington - USA | Registered: October 22, 2007
If you are copying to APP folders, there is an APP COPYF command that can be used.
It seems from your sample code as if you are indeed creating your files in APP folders but even if that was not the case, you can always define one on the fly by using APP MAP and then it should be available to any other APP command.
You can use the HOLD command after the TABLE. See the following: -* File wf_dev01.fex FILEDEF PDF1 DISK PDF1.PDF FILEDEF PDF2 DISK PDF2.PDF FILEDEF PDF3 DISK PDF3.PDF TABLE FILE CAR PRINT COUNTRY ON TABLE HOLD AS PDF1 FORMAT PDF END HOLD AS PDF2 FORMAT PDF HOLD AS PDF3 FORMAT PDF -RUN ! DIR *.PDF
Daniel In Focus since 1982 wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF
Posts: 1980 | Location: Tel Aviv, Israel | Registered: March 23, 2006
It should. Of course if you used TABLEF it wouldn't because the internal matrix is not generated. Also, there was a time (many years ago) when a COMPUTE using LAST would not be re-initialised. But if I recall, this was fixed.
Daniel In Focus since 1982 wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF
Posts: 1980 | Location: Tel Aviv, Israel | Registered: March 23, 2006