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.



Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] USE file
 Login/Join
 
Gold member
posted
Good morning-

I'm using the following file to create mailing labels for students who have left for the summer. The file is supposed to produce 30 labels for each student, but it's only producing one per student. We have recently upgraded from 7.6.5 to 7.7.03, so I'm wondering of the code has changed since 7.6.5. Any help would be most appreciated. Here is an example of the USE file:

-* useit.fex -- USE file many times
USE CLEAR
-SET &COUNTER = 1;
USE ADD
-LOOP
-IF &COUNTER GT 30 GOTO FINISH;
MAILFWD2.FOC
-* was this in WF 523: mailfwd2.foc FOCUS F
-SET COUNTER = &COUNTER + 1;
-GOTO LOOP
-FINISH
END
END

This message has been edited. Last edited by: Leanne Wood,


WebFOCUS 8.2.02M, App Studio 8.2.02M
Windows 2012 Server, Excel
 
Posts: 55 | Location: Massachusetts, USA | Registered: March 25, 2011Report This Post
Expert
posted Hide Post
I am very surprised this worked in v7.6.5.

In v7.7.03 you get an error: (FOC012) THE WORD 'FILE' OR THE FILENAME APPEARS TWICE

because the same focus db is specified more than once.

This is what I would do:

TABLE FILE CAR
PRINT COUNTRY
BY COUNTRY NOPRINT

-REPEAT ENDREP1 30 TIMES

MORE
FILE CAR

-ENDREP1 
END
-RUN


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
Francis- thank you very much for your response. I will try that.


WebFOCUS 8.2.02M, App Studio 8.2.02M
Windows 2012 Server, Excel
 
Posts: 55 | Location: Massachusetts, USA | Registered: March 25, 2011Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders