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.
ON TABLE HOLD AS FUELTYPE FORMAT DFIX DELIMITER , HEADER NO
It's exactly 100 characters. That last character at the end of the string is not appearing in my file. Needless to say I started with a simple
| ' '
but that didn't work either. I can put an 'X' there and it prints. When I put a blank there it does me the favor of removing it.
Unfortunately I'm programming to a formal spec that asks for a blank on the end of the line. Any recommendations?This message has been edited. Last edited by: <Emily McAllister>,
Posts: 1012 | Location: At the Mast | Registered: May 17, 2007
Printed both of them and set a specific blank space delimiter:
TABLE FILE VEHICLES
BY FULL_DATA_LINE
BY BLANK_SPACE
.
.
.
ON TABLE HOLD AS FUELTYPE FORMAT DFIX DELIMITER ' ' HEADER NO
Once I figured out I could set a blank character as the delimiter I realized I could put another field after it, an empty one, to get that last blank space put on the line by the Delimiter option. I should rename that second field to MISSING_SPACE.
Note that I removed the final space on the FULL_DATA_LINE field -- it was being incorrectly ignored but I don't want an upgrade to WebFOCUS to fix that and start sending two spaces. So I pulled it.
At this point I have the entire line as specified with no additional blank spaces at the end of it.
I closed out one of my three weirdo bugs today! Thanks for the help!
Posts: 1012 | Location: At the Mast | Registered: May 17, 2007
Originally posted by Francis Mariani: Did you try the code I posted? Seems to work for me.
Sorry for your troubles. What's a Worker Placement game? I don't like games and this doesn't sound enticing.
I did try it, but the CR/LF was off to the far right for my output. Windows 2012 Server, I-Way V8.
Worker Placement is a game mechanic where other people can stop you from doing what you want to. It's incredibly frustrating after a day of working hard bugs. I don't get assigned easy bugs anymore.
Posts: 1012 | Location: At the Mast | Registered: May 17, 2007