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 for further assistance. Reference the community FAQ to learn more about the community.

Focal Point    Focal Point Forums  Hop To Forum Categories  Performance Management Framework (PMF)    Measure Loader - Debugging Prefix Code Errors

Read-Only Read-Only Topic
Measure Loader - Debugging Prefix Code Errors
I have prefix code that executes normally outside of PMF, but returns the error screen when the Preview button is clicked.

A view/source of the error screen doesn't reveal any code or (FOC errors... most of the time... despite my -SET &ECHO=ALL;, SET MSG=ON, and a variety of -TYPE statements in the procedure mentioned in the prefix code.

how can i consistently get my debugging techniques to show in the view/source of this error screen:

Error generating Measures

The following error was encountered:

Error Summary: Program error, S02_LP_K_DM
Trace Message: ERROR in listfields-S00. There was a FOCUS error (1055 while running the Prefix code

Please try again with different parameters.
You may also use your browser 'View Source' option for more details.

WF 765
PMF 42
Posts: 6 | Registered: July 14, 2005Report This Post
posted Hide Post
Debugging custom routines.

It won't work to issue -SET to &ECHO in your code. By design, we issue a -SET to &ECHO that will override it. Use the Application Tracing option in PMF Settings to turn ECHO to ON or ALL. That's how you get &ECHO set.

Try this and then do a view source on the error to examine what's going on.

If you can't figger it after that, why not upload your code snippet. Maybe the answer will jump out at us.

If your code is creating temporary HOLD files, make sure you use options to persist the HOLD files and the resulting Master files. The loaders use Maintain currently, and that means we EXEC out to FOCUS, so there's no guarantee your HOLDs will be there as you might be assuming.


Bob Jude Ferrante
Director of Business and Development
WebFOCUS Performance Management

I'll take any questions about PMF - business or technical - anytime!

Posts: 919 | Registered: March 26, 2003Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  Performance Management Framework (PMF)    Measure Loader - Debugging Prefix Code Errors

Copyright © 1996-2020 Information Builders