Focal Point Banner


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.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] How to remove a leading space which appears as abox in excel output ?

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] How to remove a leading space which appears as abox in excel output ?
 Login/Join
 
Gold member
posted
Hi,

I am reading a field(its length - A64) in to variable as -READ STPDATA &STP.64. But when I try to use this variable in heading I was getting trailing spaces.So I used TRUNCATE for this.Now,though I am not gettting any trailing spaces,I am getting one leading space,which appears as a box in exl output.I tried using TRIM but it did not work.Could you tell me how to remove it?

Thanks !!

This message has been edited. Last edited by: Kerry,


7.6.4
Unix & Windows
Excel,HTML,PDF,PPT,AHTML


 
Posts: 68 | Location: Hyderabad | Registered: March 18, 2008Report This Post
Virtuoso
posted Hide Post
Saggy,
Can you please post a bit of your code to show what exactly it is that you're doing? That would make it a lot easier for us to try and find out what's happening.


GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
 
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007Report This Post
Member
posted Hide Post
You can also use the LJUST function:

X1  /A10    = ' XXXX';        
X2  /A10    = LJUST(10,X1,X2);



FOCUS 7.2.0S1
Mainframe - MVS 390
Excel, Flat file

Italy
 
Posts: 25 | Registered: June 23, 2009Report This Post
Gold member
posted Hide Post
hello ac1

Thanks a lot! LJUST worked !!!


7.6.4
Unix & Windows
Excel,HTML,PDF,PPT,AHTML


 
Posts: 68 | Location: Hyderabad | Registered: March 18, 2008Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] How to remove a leading space which appears as abox in excel output ?

Copyright © 1996-2020 Information Builders