Thank you J and Francis..
I worked out the issue of having;
A) drill to a fex on the Server where we keep common routines and drills AND
B) drilling to a fex in MRE (in this case on itself) from within the same FEX, by using the below code.. BUT now I have a different issue.. The report is getting run by submitting through a HTML launch page to Report Caster Job(using DTSRUN)
its losing the values for IBIMR_Folder and IBIMR_Domain after it gets to Report Caster.. It works fine when Report Caster is not in the picture...
Here is the relevant code snippets
-* B Setup FEXURL to run drill fex from a common folder on the server
-SET &FOCEXURL='/ibi_apps/WFServlet?' | '&';
-SET &FOCEXURL=&FOCEXURL | 'IBIAPP_app=commonco' | '&';
SET FOCEXURL=&FOCEXURL
-* For Drilling to MRE Folder (back to itself when running excel ver, after the PDF ver has been created )
-SET &RAND = EDIT(HHMMSS('A8'),'99$99$99');
-SET &WFSERVER = 'xxxxxxxx';
-RUN
.
.
-* MRE Drill Section
.
.
TARGET='_blank',
-* Begin drill to MRE fex
URL=http://&WFSERVER.EVAL/ibi_apps/WFServlet?(IBIF_ex='&IBIMR_fex' \
IBIMR_fex='&IBIMR_fex' IBIMR_domain='&IBIMR_domain' \
IBIMR_folder='&IBIMR_folder' IBIMR_action='MR_RUN_FEX' \
IBIMR_sub_action='MR_STD_REPORT' IBIMR_drill='RUNNID' IBIMR_random='&RAND' \
IBIMR_flags='') \
-* End drill to MRE fex
LOCPARAM=&LOCPARAM.QUOTEDSTRING \
.
.
-* Server CommonCode Drill Section
.
.
STYLE=UNDERLINE,
FOCEXEC=XXXX_DRILL( \
HOLD_RAN='&HOLD_RAN' \
PAR_LOCATION6=FAM_LOCATION6 \
PAR_CLASS=FAM_CLASS \
.
.
Thanks
Prod/Dev/Test: WF 8.1.5 on (Windows Server 2012 R2 )
SandBox: WebFocus Server 8.1.5 on Windows Server 2008 R2
WebFOCUS App Studio 8.1.5 and Developer Studio 8.1.5 on Windows 7