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.
Where are these hold files? In the agent? or do you have a TEMPDIR set? what are they called (just HOLD?) edit your profile signature to tell us what system you're on. If you're in windows, CMD ERASE HOLD.* will erase the hold.ftm from your agent. If you're using some TEMPDIR, or if you have some FILEDEF HOLDMAST set, then you can adapt the ERASE command to locate the files. CMD ERASE drive:\dir..\hold.ftm or .mas or .* If you're in Unix, the syntax is slightly dif, you can search on this board. But you may want to control this situation by better control of your FILEDEF HOLDMAST or your TEMPDIR settings.
In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003
Hi Susannah, The hold files are in the agent.the code is as follows SET NULL = ON -SET &TPATH = TEMPPATH(80,'A80'); -SET &AGENT = UPCASE(8,GETTOK(&TPATH,&TPATH.LENGTH,-2,'/',8,'A8'),'A8'); WRITE &AGENT -SET &TEMPTABLE = 'INSERT_ERR_' || &AGENT; TABLE FILE car_ftmp PRINT CLIENT FILE_FORMAT RECORD_TYPE FIELD_NAME -*FIELD_RULE ON TABLE SET ASNAMES ON ON TABLE HOLD AS &TEMPTABLE FORMAT SQLORA END.
I am working on a unix platform and the version is 533. Thanks in advance.
i do my temppathing slightly differently from your way, which i'll just offer for no particular reason... -SET &MYPATH = TEMPPATH(40,'A40'); -* take off that last \ so set tempdir works -SET &AL = ARGLEN(40,&MYPATH,'I2') -1 ; -SET &LAL ='A'|&AL; -SET &MYPATH = SUBSTR(40,&MYPATH,1,&AL,&AL,'&LAL'); here's a thread that talks about deleting unix files try this and here's another one another one
In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003
You're doing a HOLD FORMAT SQLORA. So this does not create a physical file on your Unix system; instead it creates a SQL TABLE in your ORACLE database.
You need to issue a SQL DROP TABLE request. However if the table does not exist then it will give you and SQL error.
If you are cleaning up at the end of the job just drop the table providing it is always created
ENGINE SQLORA DROP TABLE &TEMPTABLE.EVAL END
If you want to Drop it at the begining or there is a chance that it might not be created do it like this
ENGINE SQLORA SELECT TABLE_NAME FROM ALL_TABLES WHERE TABLE_NAME='&TEMPTABLE.EVAL' END -RUN -IF &LINES.EVAL NE 1 THEN GOTO SKIPDROP; -RUN ENGINE SQLORA DROP TABLE &TEMPTABLE.EVAL END -SKIPDROP
You're doing a HOLD FORMAT SQLORA. So this does not create a physical file on your Unix system; instead it creates a SQL TABLE in your ORACLE database.
Originally posted by JG: You need to issue a SQL DROP TABLE request. However if the table does not exist then it will give you and SQL error.
If you are cleaning up at the end of the job just drop the table providing it is always created.
Guru,
Thanks for the code.It is very useful..
Regards Sandeep
ENGINE SQLORA DROP TABLE &TEMPTABLE.EVAL END
If you want to Drop it at the begining or there is a chance that it might not be created do it like this
ENGINE SQLORA SELECT TABLE_NAME FROM ALL_TABLES WHERE TABLE_NAME='&TEMPTABLE.EVAL' END -RUN -IF &LINES.EVAL NE 1 THEN GOTO SKIPDROP; -RUN ENGINE SQLORA DROP TABLE &TEMPTABLE.EVAL END -SKIPDROP