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 having the following code (for illustration purposes):
DEFINE FILE CAR
CAR_DETAILS/A100 = COUNTRY|' '|CAR|' '|MODEL|' '|BODYTYPE;
END
TABLE FILE CAR
PRINT
CAR_DETAILS
BY MODEL
END
-RUN
Now i want to burst this report by "model" and the output I want is a .txt file. But I also don't want the 2 spaces that come in the starting of the row.
I tried using WP format but the spaces are still there. Also reportcaster doesn't allow me to burst the report in CSV or ALPHA formats.
Is there any other format/way through which I can do this?
Thanks in advance SidThis message has been edited. Last edited by: Kerry,
APP HOLD REDOR DEFINE FILE CAR CAR_DETAILS/A100 = COUNTRY|' '|CAR|' '|MODEL|' '|BODYTYPE; END TABLE FILE CAR PRINT CAR_DETAILS BY MODEL ON TABLE HOLD FORMAT WP END -RUN -SET &LINE = ' '; APP FI HOLD2 DISK redor/hold2.txt -RUN -:read -READ HOLD &LINE.A102. -IF &IORETURN NE 0 GOTO :endread; -SET &LINE2 = SUBSTR(&LINE.LENGTH,&LINE,3,102,100,'A100'); -WRITE HOLD2 &LINE2 -GOTO :read -:endread -RUN
Originally posted by Tony A: [QUOTE] Don't ask for examples though because then we'll know that you don't search for stuff (hint) and just wait for someone to do the work for you!
Of course, if you want to have consultancy then my rates are reasonable (although Francis is bound to say he's cheaper )
T
FIRST OF ALL THANKS FOR THE SUGGESTION..
your second thing though doesn't make sense. see i had told you the constraints in the beginning itself that I have to use bursting AND I have to use report caster as well. I tried everything possible with the current version of Webfocus. Plus I never asked for a hint. Rather I had asked for a solution itself. and these are what this forum basically is in the very first place..or isn't it??
Now I had tried everything possible and couldn't get to a solution thats why I had put up the query here..
try and search for the particular topic I have posted. If you don't have a solution don't reply..thats it..as simple as that.. but then again you can reply (oh yes i know you don't need my freakin permission)..we are no autocrats here right
PS: I am now using a Perl script to remove the spaces from all the files.