Can any one help me how to get meta data informations about the joins for joining two or more master files?? I Need to get Information which master files are joined.. I tried to search in Syscolumn table but i coudnt find any. Thanks a lot in advance.
Thanks, NelThis message has been edited. Last edited by: <Emily McAllister>,
in this check file it works and i can see it. Is this Information stored as well in some System table where i can query it?? Because i Need this Information in form of table for exporting.
Thanks many, NelThis message has been edited. Last edited by: Nelvina,
August 02, 2016, 06:02 AM
Neelima
quote:
Is this Information stored as well in some System table where i can query it?? Because i Need this Information in form of table for exporting.
No Idea about this
But, you can see the Master file in synonym editor.
You can retrieve Master metadata using the SYSCOLUMN table, unfortunately, it appears this is static - JOINs are not considered:
JOIN CLEAR *
JOIN STORE_CODE IN GGORDER TO ALL STORE_CODE IN GGSTORES AS J1
-RUN
?FF GGORDER
-RUN
TABLE FILE SYSCOLUM
PRINT
NAME
WHERE TBNAME EQ 'GGORDER'
END
-RUN
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
August 02, 2016, 10:14 AM
WF_IL
Hi
Try the following:
JOIN CLEAR * JOIN STORE_CODE IN GGORDER TO ALL STORE_CODE IN GGSTORES AS J1 -RUN CHECK FILE GGORDER HOLD AS ABC