In using the MR Internal variables in included Focus Executables, can they be made to report values from the calling FEX and not the FEX they are listed in?
Example:
-* Program: master.fex
-MRNOEDIT -INCLUDE CHILD
-* end master.fex
-* Program: child.fex
-TYPE &MR_FULL_FEXNAME
-* end child.fex
The above should report 'child.fex'. How can I make it report 'master.fex'? Any code additions would have to go into 'child.fex'.
I think I know the answer to this, but I'm hoping someone has some insight I may have missed.
THANKS! - ABTThis message has been edited. Last edited by: ABT,
The &FOCFOCEXEC should be the name of the parent fex. Unfortunately, there is an underscore prepending the name, and I'm not sure what happens to file names of 8 characters.
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
April 29, 2010, 11:11 AM
ABT
Thanks Francis, this is exactly what I was hoping for.