Focal Point
[CLOSED]ON TABLE SET MISSING ON IN WEBFOCUS 8

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/7717094086

January 28, 2016, 04:08 AM
FRA-Sarwar
[CLOSED]ON TABLE SET MISSING ON IN WEBFOCUS 8
When I am using
 ON TABLE SET MISSING ON 
I am getting this error:
"(FOC822) VALID VALUES ARE MISSINGTEST=OLD SPECIAL"
how can I solve this ?

This message has been edited. Last edited by: <Emily McAllister>,


WebFOCUS 7.67 & WebFOCUS 80 windows
January 28, 2016, 08:14 AM
BabakNYC
What's the data source and specific version of WF? Could you share a simple example of this issue with a sample data so we can try it? The SET command seems okay to me so it has to be more specific to what you're trying to do. Do you get the same error if you issue the SET command before your TABLE?
SET MISSING=ON
TABLE FILE ...
END

According to tech support:
SET MISSINGTEST=SPECIAL|OLD(default)
is a little known and undocumented setting usedspecifically for ETL and Data
Migrator Flows. This setting actually is used for backward compatibility to
revert to old behavior involving how missing data is loaded into the target
database.

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


WebFOCUS 8206, Unix, Windows
January 31, 2016, 12:16 AM
FRA-Sarwar
Hi BabakNYC,

The data source is a temp table, like the following:
TABLE FILE TEMP1   
 PRINT FIELD1 FIELD2 FIELD3
 BY FIELD4
 ON TABLE HOLD AS TEMP2 FORMAT ALPHA
END
-RUN

JOIN FIELD4 IN TEMP2 TO FIELDx IN SQLTABLE AS SA
TABLE FILE TEMP2
 PRINT FIELD1 FIELD2 FIELD3 FIELD4
  ON TABLE SET MISSING ON
END
-RUN 

Yes we put the
 SET MISSING = ON 
before table file and getting same error.

our webfocus version is 80

thanks,
Sarwar


WebFOCUS 7.67 & WebFOCUS 80 windows
January 31, 2016, 01:17 AM
Danny-SRL
Are you sure that "ON TABLE SET MISSING ON" is a valid statement?

What I know is that MISSING ON is an option when HOLDing data, or when DEFINEing or COMPUTEing a field.


Daniel
In Focus since 1982
wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF

January 31, 2016, 04:19 AM
FRA-Sarwar
Danny-SRL,

yes it is working with WebFOCUS 767 but have issue with WebFOCUS 80.

Thanks,
Sarwar


WebFOCUS 7.67 & WebFOCUS 80 windows
January 31, 2016, 07:13 AM
Danny-SRL
Sarwar,

I checked the documentation for 7.7 and 7.6.
I did not find a MISSING parameter that can be SET.
You can have an option MISSING when you issue a command ON TABLE HOLD [MISSING ON].
You can use the HOLDMISS parameter.

If it really did work, it seems to be a quirk in the version that was ironed out after.

When you write:
  
JOIN FIELD4 IN TEMP2 TO FIELDx IN SQLTABLE AS SA
TABLE FILE TEMP2
 PRINT FIELD1 FIELD2 FIELD3 FIELD4
  ON TABLE SET MISSING ON
END

what are you trying to achieve? That missing values should be written as such? If so, wouldn't the SET HOLDMISS=ON do the trick?


Daniel
In Focus since 1982
wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF

January 31, 2016, 12:20 PM
BabakNYC
You may want to open a case with tech support. If you have code that used to work in an old release they might be able to trace what causes the error in the new release.


WebFOCUS 8206, Unix, Windows
February 01, 2016, 12:02 AM
FRA-Sarwar
BabakNYC,

In WFS767 Getting the following message:
MISSINGTEST MAY BE SET OLD or SPECIAL ONLY

but in the WFS80 getting the following error:
(FOC822) VALID VALUES ARE MISSINGTEST=OLD SPECIAL

do you think it is an error or not? and i don't how to open a case in Tech Support

thanks,
Sarwar


WebFOCUS 7.67 & WebFOCUS 80 windows
February 01, 2016, 04:05 AM
Ricardo Augusto
FRA-Sarwar, to open a case you should use https://techsupport.informationbuilders.com/


WebFOCUS 8.1.05 / APP Studio
February 01, 2016, 08:13 AM
BabakNYC
It seems like you used to get a warning in 7.x and now you're getting an error. I don't think you were getting what you expected even in 7.6 so you might want to review the code and figure out what you really wanted to get it to do and make sure the outcome is correct.


WebFOCUS 8206, Unix, Windows
February 02, 2016, 01:09 AM
Danny-SRL
IMHO, it is an error.


Daniel
In Focus since 1982
wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF

February 02, 2016, 10:04 AM
jgelona
I've been using FOCUS and WebFOCUS for 30 years and never seen this documented:

"ON TABLE SET MISSING ..."

I think you are confusing this with HOLDMISS. According to the documentation, MISSINGTEST is for ETL and Data Migrator.

I've always used it on the HOLD/SAVE line like this:

"ON TABLE HOLD MISSING ON"

You are getting the reference to MISSINGTEST because that is the closest thing to MISSING in the SET commands. MISSING all by itself is not a SET command

With SET commands you have:


NODATA - Determines the character string that indicates missing data in a report.
HNODATA - Controls missing values propagated to a HOLD file.
HOLDMISS - Distinguishes between missing data and default data (zeros or blanks) in a HOLD file.
VZERO - Treats missing values on the vertical axis as zeros.
NULL - Enables creation of a variable-length comma or tab delimited HOLD file that differentiates between a missing value and a blank string or zero value.
COMPMISS - Controls whether the missing attribute is propagated to reformatted fields in a report request.

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


In FOCUS since 1985. Prod WF 8.0.08 (z90/Suse Linux) DB (Oracle 11g), Self Serv, Report Caster, WebServer Intel/Linux.
February 18, 2016, 01:18 PM
Doug
You may want to check out "MISSING=ON attribute" from help, within dev studio...