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 am attempting to create my mfd's on the fly for csv files. I've done this a zillion times in a Windows environment, I've done it on Linux, now I'm attempting it on HP UX. Although, this is my first attempt for a csv file. I keep getting errors on the '$' at the end of each row. I've tried using edaput to creat the mfd, and I've tried -write to create the mfd, they both result in the same error. I've searcched FocalPoint but didn't find anything that fit my situation. Below is my code using edaput, and my code using the -write, any help is greatly appreciated.
What error are you getting? For the command above, you are going to have to put the fully-qualified name of the master as your default directory is in EDATEMP whereas you are putting the master is a more permanent location.
Also make sure that you have permissions to write to the directory where you are putting the master (which should be in the ibi/apps directory structure).
IB - Developer Center Forums FOCUS/WebFOCUS Dynamic MFD Creation
The error I'm getting is: (FOC229) ERROR READING EXTERNAL DATA FILE: EIT200801 Symbol '$' outside of text field is illegal : line 1
I get this error for every line in my mfd that contains a '$'.
I tried setting an &var to '$', but this didn't resolve the issue either.
I'm placing my mfd in edatemp. I was getting this error prior to adding the code to give the file full permissions. I added the chmod code to see if this had any impact -- it didn't.
I want to have dynamic mfd's because I don't want to have to try to remember come every April that I need to change my mfd names to reflect the current year.
WF 7.7.05 HP-UX - Reporting Server, Windows 2008 - Client, MSSQL 2008, FOCUS Databases, Flat Files HTML, Excel, PDF
I tried -lines 9, that's actually what I started out with. I removed the code and went with one mfd and a filedef for each qtr referencing the one mfd. This is working great. I would like to know why I couldn't get the code to work though, does it have to do with my file being a .csv, or is the syntax different between linux and unix? This syntax worked in a linux environment.
WF 7.7.05 HP-UX - Reporting Server, Windows 2008 - Client, MSSQL 2008, FOCUS Databases, Flat Files HTML, Excel, PDF
You may have a NewLine issue ... (lines end in CR/LF or LF/CR ...) The -LINES n parm includes what ever comes after ,FILE, In your case I suggest you go to -10 and make sure there is a blank line after the Naked_Juice line (I will refrain from asking whats in that field)
Brian Suter VP WebFOCUS Product Development
Posts: 200 | Location: NYC | Registered: January 02, 2007
Came across this, and felt it deserves clarification.
It's not that EX -LINES ignores any blank lines -- it never receives them. The Dialog Manager scan of the fex (the process that stacks the Focus command lines) is programmed to suppress blank lines, on the assumption that they have no effect on execution (that's the extent of the scan's knowledge of FOCUS language syntax).
EX -LINES is a focus command, so it only get executed in Focstack. And only the non-blank lines make it to Focstack.
If you ever do need to stack a blank line, include a &var whose value is blank, so that the line is non-blank before substitution, but blank after substitution. That will fool the DM scan into considering the line significant.
For instance, to feed a blank transaction line to Modify:
-SET &nada=' ';
MODIFY ...
FIXFORM ...
. . .
DATA
&nada
END
- Jack Gross WF through 8.1.05
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 2005