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] Cannot expose FORM variables

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Cannot expose FORM variables
 Login/Join
 
Member
posted
Hi

When I try to expose a FORM variable I get this error (the program is rettkod.fex and the variable is CPR):
0 ERROR AT OR NEAR LINE     19  IN PROCEDURE _rettkodFOCEXEC * 
(FOC295) A VALUE IS MISSING FOR: CPR


I'm pretty sure that the code is correct because it works in production environment. It just won't work in test environment.

I cannot figure out what is wrong with my test environment. Any help/hints would be appreciated.

Note that I'm use a very old version of webFOCUS. Version 4.3.5

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


WebFOCUS 4.3.5
Windows
 
Posts: 10 | Registered: June 04, 2014Report This Post
Virtuoso
posted Hide Post
You could start your debugging process by issueing a -? & on the first line of your rettkod fex, possibly followed by a -EXIT. That way you'll see exactly what variables are available to you at the beginning of the procedure.


GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
 
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007Report This Post
Member
posted Hide Post
Thanks alot!

I have now tried it and &CPR is not defined. Now the big question is: why? As I wrote it does work in production. It is just in the test environment that it doesn't work.

CURRENTLY DEFINED & VARIABLES:                                       
   &&DAG         = 15                                                           
   &&DAGMD       = 1507                                                         
   &&DAGSDATO    = 20150715                                                     
   &&DATO        = 15. juli 2015                                                
   &&DREV        = D:                                                           
   &&LAES        = SQL SQLMSS SET CONCUR RONLY                                  
   &&PRINTBIBL   = C:\TBS\Print\                                                
   &&SKRIV       = SQL SQLMSS SET CONCUR ROWVER                                 
   &&STARTDATO   = 15072015                                                     
   &&SYSTYPE     = TEST                                                         
   &ACCEPTS      =        0                                                     
   &AUTOINDEX    = NO                                                           
   &BASEIO       =        0                                                     
   &CHNGD        =        0                                                     
   &DATE         = 07/15/15                                                     
   &DELTD        =        0                                                     
   &DMY          = 150715                                                       
   &DMYY         = 15072015                                                     
   &DUPLS        =        0                                                     
   &FOCNEXTPAGE  =        0                                                     
   &FOCREL       = R729902B                                                     
   &FORMAT       =        0                                                     
   &INDEXIO      =        0                                                     
   &INPUT        =        0                                                     
   &INVALID      =        0                                                     
   &KONTORID     = IT                                                           
   &LAN          = 6                                                            
   &LINES        =        0                                                     
   &MDY          = 071515                                                       
   &MDYY         = 07152015                                                     
   &NOMATCH      =        0                                                     
   &NYTILSS      = 4                                                            
   &OMB          = N                                                            
   &PRINTER      =                                                              
   &PROGMODE     =                                                              
   &READS        =        0                                                     
   &RECORDS      =        0                                                     
   &REJECTS      =        0                                                     
   &REPORTNAME   = Reguleringer mv.                                             
   &RETCODE      =        0                                                     
   &RUSER        = PPO                                                          
   &SAG          = stl                                                          
   &SERVERTEXTID = TEST                                                         
   &SETFILE      =                                                              
   &SORTIO       =        0                                                     
   &STUSYSINITID = TBS                                                          
   &STUSYSTEXTID = Tilbagebetalingssystem                                       
   &TOD          = 17.39.55                                                     
   &TRANS        =        0                                                     
   &YMD          = 150715                                                       
   &YYMD         = 20150715                                                     
  0 ERROR AT OR NEAR LINE     19  IN PROCEDURE _rettkodFOCEXEC * 
   (FOC295) A VALUE IS MISSING FOR: CPR


WebFOCUS 4.3.5
Windows
 
Posts: 10 | Registered: June 04, 2014Report This Post
Platinum Member
posted Hide Post
So, the next question is where is that &CPR declared - in general, how and where do the other parameters get populated.

Say if you have an -INCLUDE in the beginning for standard shared parameters, is that different in test than in prod & so forth...


Cheers,
H.

WebFOCUS 8.1.05M
Oracle 11g - DB2
RedHat
 
Posts: 115 | Location: Brighton UK | Registered: February 19, 2005Report This Post
Member
posted Hide Post
First I would inspect the Query Parameters being passed by the HTML page either using the F12 debugging tools in the browser, or Fiddler.

If you don't see the value there, then the variable is likely not inside of your form tags.

You may need to post your HTML so that we can take a look at it if it is not getting passed in the request Query Parameters.


WebFOCUS 8.1.04; SQL Server 2012; Windows 7; Windows Server 2012 R2;
 
Posts: 26 | Registered: November 21, 2005Report 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] Cannot expose FORM variables

Copyright © 1996-2020 Information Builders