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] MATCH File Help

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] MATCH File Help
 Login/Join
 
Gold member
posted
Hello, I have the following code in my report.


SET ASNAMES = ON

TABLE FILE VUSER_ROUTING_CODES_AND_LIMITS
PRINT
VUSER_ROUTING_CODES_AND_LIMITS.VUSER_ROUTING_CODES_AND_LIMITS.TO_USER
VUSER_ROUTING_CODES_AND_LIMITS.VUSER_ROUTING_CODES_AND_LIMITS.JOB_GROUP
VUSER_ROUTING_CODES_AND_LIMITS.VUSER_ROUTING_CODES_AND_LIMITS.DOLLAR_LIMIT
BY VUSER_ROUTING_CODES_AND_LIMITS.VUSER_ROUTING_CODES_AND_LIMITS.JOB_GROUP NOPRINT
BY VUSER_ROUTING_CODES_AND_LIMITS.VUSER_ROUTING_CODES_AND_LIMITS.DOLLAR_LIMIT NOPRINT
WHERE DOLLAR_LIMIT NOT LIKE '-%';
ON TABLE HOLD AS LIMIT
END

TABLE FILE LIMIT
SUM MAX.JOB_GROUP AS 'JOB_GROUP'
TO_USER AS 'USER'
DOLLAR_LIMIT 
BY JOB_GROUP NOPRINT
ON TABLE HOLD AS LIMIT2
END
 
TABLE FILE VUSER_ROUTING_CODES_AND_LIMITS
PRINT
JOB_GROUP
FROM_USER AS 'USER'
DOLLAR_LIMIT 
BY JOB_GROUP NOPRINT
WHERE DOLLAR_LIMIT NOT LIKE '-%';
ON TABLE HOLD AS LIMIT3
END

MATCH FILE LIMIT3
PRINT
USER
DOLLAR_LIMIT
BY JOB_GROUP
RUN

FILE LIMIT2
PRINT
USER
DOLLAR_LIMIT
BY JOB_GROUP 

AFTER MATCH HOLD OLD-OR-NEW
END



When I print the report, it lists the records to the sides but I want to list the record to the bottom. For example.

Currently with the code using above I get the data as follows:

JOB_GROUP USER DOLLAR_LIMIT USER DOLLAR_LIMIT

0001872 MVOGT 250000 MOOREKM 250000
0001872 TMALINAR 10000 . .
0001872 SGILLS 0 . .

I need to print the records as follows:

JOB_GROUP USER DOLLAR_LIMIT

0001872 MVOGT 250000
0001872 TMALINAR 10000
0001872 SGILLS 0
0001872 MOOREKM 250000


How can I do it?

Thanks

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


WebFOCUS 7.6.9
Windows 2003
HTML, Plain Text
 
Posts: 96 | Registered: March 15, 2010Report This Post
Platinum Member
posted Hide Post
hi,

Instead of MATCH or JOIN try using the USE command for focus files or APPEND for ALPHA files...you can achieve what you are looking to do...


thanks
Sashanka


WF 7.7.03/Windows/HTML,PDF,EXL
POC/local Dev Studio 7.7.03 & 7.6.11
 
Posts: 103 | Registered: June 12, 2009Report This Post
Virtuoso
posted Hide Post
Assuming FROM_USER and TO_USER have identical formats, universal catenation ("MORE") is a simple solution:
TABLE FILE LIMIT3
PRINT
DOLLAR_LIMIT
BY JOB_GROUP
BY USER
ON TABLE HOLD
MORE
FILE LIMIT2
END


- Jack Gross
WF through 8.1.05
 
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 2005Report This Post
Platinum Member
posted Hide Post
Yes.
I missed that. lot more simpler.

thanks
Sashanka


WF 7.7.03/Windows/HTML,PDF,EXL
POC/local Dev Studio 7.7.03 & 7.6.11
 
Posts: 103 | Registered: June 12, 2009Report This Post
Gold member
posted Hide Post
you guys are just amazing....thanks a bunch.

Using MORE fixed the issue.


WebFOCUS 7.6.9
Windows 2003
HTML, Plain Text
 
Posts: 96 | Registered: March 15, 2010Report 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] MATCH File Help

Copyright © 1996-2020 Information Builders