Focal Point
[CLOSED]possible for webFOCUS or Iway to AUTO create synonyms and sent alert ?

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

October 24, 2020, 09:54 AM
nox
[CLOSED]possible for webFOCUS or Iway to AUTO create synonyms and sent alert ?
Hi,

I was wandering is there a way using batch or fex to auto generate Synonyms? And if there is any differences with previous version of synonym, send e-mail or alert Admin or User?
Any idea would be nice?

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


WebFOCUS v8.2.06 , Windows
October 24, 2020, 04:16 PM
Efrem
A lot of Create Synonym commands can be run via a fex.
You can do Create Synonym with your Reporting Server traces turned on and then look in the agent trace for the Create Synonym command generated. eg. ts00000n.trc.

And then there are DOS commands that can compare files. eg. fc
October 25, 2020, 04:50 PM
Waz
As for comparing, I would suggest using SYSTABLE and SYSCOLUM that can read the master.

Be aware that some segments may be missing, so pulling all out at once is probably not an option.

e.g.
TABLE FILE SYSTABLE
PRINT *
WHERE TBNAME EQ '{master name}'
END

TABLE FILE SYSCOLUM
-* Get all the columns in the segment with the column NAME in it.
PRINT SEG.NAME
WHERE TBNAME EQ '{master name}'
END

You could also just use CHECK FILE ... HOLD and compare as well, but this does not cover all the attributes of a master file.


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!