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     How to exclude column from printing when using PRINT *

Read-Only Read-Only Topic
Go
Search
Notify
Tools
How to exclude column from printing when using PRINT *
 Login/Join
 
Expert
posted
I seem to have forgotten how to do this or have forgotten if this is possible, but I'd like to exclude a column from reporting when doing PRINT *. I thought blanking out the field name or alias name in the master would do the trick, but no.

I have a flat file with FILLER fields that I don't want when I do PRINT *.

Thanks,


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Expert
posted Hide Post
Did you blank out both alias and fieldname (though not sure you can do that)?

Otherwise, I think you have to explicitly name the columns you want to print. Frowner


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
 
Posts: 2723 | Location: Ann Arbor, MI | Registered: April 05, 2006Report This Post
Expert
posted Hide Post
I tried blanking out both name and alias, no luck.

I added TITLE='' so the field prints with a blank title - better than 'FILL1'.

Thanks,


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Gold member
posted Hide Post
If it true flat file, meaning fixed width, you could change the actual of the field previous to the one you don't want to display.

Say that the previous field is useage A10, and the field you want to skip over is A5, then change the ACTUAL to A15 for the previous field.


WebFocus 7x, 8x, Win / Linux, any output format
 
Posts: 70 | Location: reading, pa | Registered: April 07, 2007Report This Post
Expert
posted Hide Post
Good idea, thanks.


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Expert
posted Hide Post
frankiemartini,
here's a utility i wrote to do this sort of thing, reading a file called &myfilename:
FILEDEF MYLIST DISK MYLIST.FTM
CHECK FILE &myfilename HOLD
TABLE FILE HOLD PRINT FIELDNAME
IF FIELDNAME NE 'FILL' OR 'DUMMY'
ON TABLE HOLD AS MYLIST FORMAT ALPHA {sure, you could SAVE}
END
-RUN
-SET &HOWMANY = &LINES ;
TABLE FILE &myfilename
PRINT
-REPEAT end.loop &HOWMANY TIMES
-READ MYLIST NOCLOSE &FIELD.A66
&FIELD
-end.loop
ON TABLE HOLD {if you want}
END
-RUN
-CLOSE MYLIST {in case you want to loop again}




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Report 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     How to exclude column from printing when using PRINT *

Copyright © 1996-2020 Information Builders