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] Not able to place 2 different hold files beside each other.

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Not able to place 2 different hold files beside each other.
 Login/Join
 
Member
posted
Hi,
I have 2 different hold files having different print and sort fields but was not successful in placing the reports 1 beside the other.I have tried join,more and match files but of no use.It would be helpful if anyone could please help me out.
Below is my code :
TABLE FILE HOLDDP
SUM
DPTCOUNT
BY ID
BY NAME
BY REG
BY SUBR
BY RMD_YR
BY RMD_DT
BY SLS
BY SLD_Q
ACROSS GRP
ACROSS MSC
ON TABLE SET ASNAMES ON
ON TABLE HOLD AS HOLD1
END
-RUN

TABLE FILE HOLDVO
SUM
MSC
BY ID
BY NAME
BY REG
BY SUBR
BY RMD_YR
BY RMD_DT
BY SLS
BY SLD_Q
ACROSS PYR
ACROSS DPTNAME
ON TABLE SET ASNAMES ON
ON TABLE HOLD AS HOLD2
END
-RUN

Any help in getting this resolved is appreciated.

This message has been edited. Last edited by: <Kathryn Henning>,


webfocus 769,windows 7,html
 
Posts: 24 | Registered: July 16, 2010Report This Post
Master
posted Hide Post
Hi,info4pals...

Remember that ACROSS is ( technically ) the same as BY. What you have is two different sets of data.

What you could do...

DEFINE FILE HOLDDP
  FIRSTACROSS/<fmt> = GRP;
  SECONDACROSS/<fmt> = MSC;
END

DEFINE FILE HOLDVO
  FIRSTACROSS/<fmt> = PYR;
  SECONDACROSS/<fmt> = DPTNAME;
END


That would make it easy to match both HOLDS. But you will have to change the ACROSS to BY when making the HOLD files.

After the match you can use ACROSS for reporting purposes.

Though this will mix the values from HOLD1 and HOLD2. If that's not desirable you could add another field.

DEFINE FILE HOLDDP
   SORTACROSS/I1 = 1;
END
DEFINE FILE HOLDVO
   SORTACROSS/I1 = 2;
END


And use that as the first ACROSS..



I hope this helps...

G'luck,
Dave


_____________________
WF: 8.0.0.9 > going 8.2.0.5
 
Posts: 668 | Location: Veghel, The Netherlands | Registered: February 16, 2010Report This Post
Expert
posted Hide Post
You want your output html beside each other, is that right?
if so,
TABLE FILE CAR.... ON TABLE HOLD AS MYTAB1 FORMAT HTML (or HTMTABLE, whichever you want)
END
TABLE FILE CAR...ON TABLE HOLD AS MYTAB2 FORMAT HTML
END
-RUN
-HTMLFORM BEGIN
<HTML>
<TABLE>
<TR...>
<TD align = top>
!IBI.FIL.MYTAB1;
<TD align=top>
!IBI.FIL.MYTAB2;
</TD></TR>
</TABLE>
</HTML>
-HTMLFORM END




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
Master
posted Hide Post
Hi,
If you want to display output one beside other, then best to go with Susannah's method of using HTMTABLE and HTMFORM. In case if you are looking to merge the data to have a single HOLD file, then add counter field to both tables and then use MATCH.

Hope this helps.

Thanks,
Ram

This message has been edited. Last edited by: Ram Prasad E,
 
Posts: 542 | Location: Dearborn, MI | Registered: June 03, 2009Report This Post
Member
posted Hide Post
Thanks everyone for the reply.Appreciate everyone for the help.


webfocus 769,windows 7,html
 
Posts: 24 | Registered: July 16, 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] Not able to place 2 different hold files beside each other.

Copyright © 1996-2020 Information Builders