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     [CLOSED] conditional printing

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] conditional printing
 Login/Join
 
Gold member
posted
I have a report in which I should show only the missing numbers..
I get a sequence of numbers from the query.

I need to print the missing numbers

I tried using NOPRINT and PRINT with in the IF condition that doesnt work

Any suggestions

Thanks
Ram

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


WebFOCUS 762
Windows
To be decided(All formats)
 
Posts: 52 | Registered: November 02, 2009Report This Post
Expert
posted Hide Post
How do you know they are missing? Are you doing a join? Is the table relational with MISSING=ON for the number you are trying to print?

You aren't giving us a lot to go on here.


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
Virtuoso
posted Hide Post
What exactly is it that you need to do?
Remember, that webfocus cannot show data that is not there just like that. If you need that, then you would have to provide a complete list of numbers, compare these with the database numbers and filter out which are present, thereby printing those that are not...
This is a method much like the McGyver technique. There is a lot of info on that technique to be found on this forum.


GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
 
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007Report This Post
Gold member
posted Hide Post
I get a list of ticket numbers issued from the stored procedure and these are all in sequence.

For auditing purposes We need to generate a report with missing numbers only

I am currently comparing
IF Value EQ last 'Value'+1 (I converted Value to integer type)

I dont want to print value if the above condition is true and will print the numbers between them if the condition is false


Is there another approach to this. I cannot change the SP or the Joins I do not control that part. I am only converting from crystal reports to Webfocus


WebFOCUS 762
Windows
To be decided(All formats)
 
Posts: 52 | Registered: November 02, 2009Report This Post
Expert
posted Hide Post
Doing what Gam has suggested, when you get your list of numbers, determine what the highest and lowest values are and SAVE them in a file. Use Dialogue Manager -REPEAT and -WRITE to write a file of all numbers between the lowest and highest values. You will need to write a master for this file.

Join this file with all the numbers to the file you get back with the list of ticket numbers. Use SET ALL=PASS and a dummy where condition to get all the ones that don't have a match. You can look all of this up in the language manual.

Or if you list of ticket numbers has only one row per number, use MATCH FILE and OLD-NOT-NEW.

I am guessing you don't know WebFOCUS very well. Some training might be in order. Wink


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
If this report is run on a regular basis, how will you know if there are missing tickets between runs ?

You may have to keep the last ticket number from the previous run to do this.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report 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     [CLOSED] conditional printing

Copyright © 1996-2020 Information Builders