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.
gppande, as tony says, you can't CREATE a fix file, but you dont really need to. you can certainly make one, and you don't need the verb CREATE. you just need to filedef it and write it out. FILEDEF MYFILE DISK D:\IBI\wherever\MYFILE.TXT or .FTM then write to it any number of ways TABLE FILE CAR PRINT something ON TABLE HOLD AS MYFILE {FORMAT ALPHA} .or you can use dialog manager -WRITE MYFILE some &vars from your workspace You can filedef it with (APPEND and write stuff out to the end of an existing one. all kinds of stuff you can do. easy. agony free.
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003
Originally posted by gppande: [qb] SUFFIX=FIX [/qb]
You've probably got a HOLD.MAS (HOLD MASTER) earlier in the path and then you're doing HOLD FORMAT FOCUS in your procedure. The procedure finds HOLD MASTER with suffix=fix earlier in the path somewhere and generates the error.
HOLD FORMAT FOCUS issues a CREATE FILE against the ddname (the filename) used in the HOLD procedure. If this is the case, simply use a different ASNAME in the HOLD FORMAT FOCUS (e.g., HOLD AS TEMP1 FORMAT FOCUS).
As Tony suggested, a short code sample would help clear things up.
Hi all, Sorry for the delay. As Joseph said, I am creating a intermediate HOLD file with format FOCUS. It executes FOC$HOLD which is creating a file. I renamed it and all worked fine !!! Now the question is what is HOLD.MAS?
Thanks for all your help.
GP.
Posts: 15 | Location: Third Rock from Sun | Registered: August 04, 2005
Originally posted by gppande: [qb]Now the question is what is HOLD.MAS? [/qb]
HOLD.MAS is the master file description created for a temporary HOLD file. The name "HOLD" is the default, but you can call your hold file anything you like.
My guess is that there is a HOLD.MAS somewhere in your path on a non-writeable drive. When the FOC$HOLD procedure creates a new HOLD.MAS (with SUFFIX=FOC) it is not used in the load because WebFOCUS finds the other file first with SUFFIX=FIX (hence the FOC1166 error).
You could investigate this to see if the other HOLD.MAS file is needed by anyone or any program, and if not, then you could have it deleted. Or just use a different ASNAME (e.g., HOLD AS FRED FORMAT FOCUS).