Focal Point
[SOLVED] DESCRIPTION attribute in MASTER

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

November 06, 2018, 02:18 PM
sh98110
[SOLVED] DESCRIPTION attribute in MASTER
According to the 8.2.01m doc,the DESC attribute may be "... any comment up to 2K (2048) characters in length."

I am trying to grab the value of this parameter via
CHECK FILE filename HOLD
TABLE FILE HOLD
PRINT FIELDNAME DESCRIPTION
END

... and the maximum length of my DESCRIPTION string that comes back is 66 characters, which sounds like the OLD limit and not what is documented.

1. Is this a problem with the doc?
2. Does anyone have another method to grab this MASTER attribute?

Thanks!

This message has been edited. Last edited by: FP Mod Chuck,


WebFOCUS 8
Windows, All Outputs
November 06, 2018, 02:48 PM
Waz
I think you should use SYSCOLUM to get the description from your table.

Also, you are checking HOLD, does that mean that the column comes from another table ?


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

November 06, 2018, 10:00 PM
sh98110
Waz, CHECK FILE filename HOLD is an old FOCUS command that creates a HOLD file of the master named - in this example - filename. The data content of the newly created HOLD file is the result of the CHECK FILE command- that is, all the MASTER FILE syntax parsing, including FIELDNAME, ALIAS, and of course, DESCRIPTION.

I will check SYSCOLUM- thanks!


WebFOCUS 8
Windows, All Outputs