Focal Point
Re-opened - Unable to correctly parse MASTER File xxxxxx

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

December 17, 2015, 05:01 PM
M Ward
Re-opened - Unable to correctly parse MASTER File xxxxxx
We are transitioning from DevStudio 7705 to DS 8009. I have a single fex that creates several hold files. This fex is "-INCLUDED" in another fex which uses the hold files. In DS 7705, this worked perfectly. However, in DS 8009, I get the Error Parsing MASTER File error screen when I try to run the calling fex.

Has anyone else run into this problem? If so, how did you solve it? I have already changed the paths for the report style sheets and the "-INCLUDE" in accordance to DS 8009.


01/27/2016 - Additional Information
The message only appears when I try to explicitly access the hold file for a DEFINE or REPORT, etc. However, if I just run the calling fex, the file is apparently accessed without any trouble. I was given sort of work-around in which the hold file is written to the FOCCACHE. This allows the file to be accessed by DEFINEs and REPORTs, but only temporarily. After about 2 or 3 hours, the error comes back because the file disappears (is automatically deleted). Where were hold files kept in DevStudio 7705 that they cannot be located in DS 8009? What do I need to do to be able to work with a hold file created by another fex?

Here is a sample of the problem using the CAR file:


CAR_SUB.fex code begins.
TABLE FILE CAR
PRINT
CAR.BODY.BODYTYPE
CAR.BODY.SEATS
CAR.BODY.DEALER_COST
CAR.BODY.RETAIL_COST
CAR.BODY.SALES
CAR.WARANT.WARRANTY
CAR.EQUIP.STANDARD
BY LOWEST CAR.ORIGIN.COUNTRY
BY LOWEST CAR.COMP.CAR
BY LOWEST CAR.CARREC.MODEL
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE SET BYDISPLAY ON
ON TABLE NOTOTAL
ON TABLE HOLD AS HOLDCARA FORMAT FOCUS
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
INCLUDE = IBFS:/EDA/EDASERVE/_EDAHOME/ETC/endeflt.sty,
$
ENDSTYLE
END

CAR_SUB.fex code ends.



CALL_CAR_SUB.fex code begins:

-INCLUDE IBFS:/WFC/Repository/rdw/u73826/CAR_SUB.fex
TABLE FILE HOLDCARA
PRINT
HOLDCARA.SEG01.COUNTRY
HOLDCARA.SEG01.CAR
HOLDCARA.SEG01.MODEL
HOLDCARA.SEG01.FOCLIST
HOLDCARA.SEG01.BODYTYPE
HOLDCARA.SEG01.SEATS
HOLDCARA.SEG01.DEALER_COST
HOLDCARA.SEG01.RETAIL_COST
HOLDCARA.SEG01.SALES
HOLDCARA.SEG01.WARRANTY
HOLDCARA.SEG01.STANDARD
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
INCLUDE = IBFS:/EDA/EDASERVE/_EDAHOME/ETC/endeflt.sty,
$
ENDSTYLE
END

CALL_CAR_SUB.fex code ends.



Attempt to open Report Painter using hold file HOLDCARA. HOLDCARA is not in the presented list of tables and files. Nor can it be found when explicitly entered. This is where I get the Unable to correctly parse MASTER File error.


In this particular example, CALL_CAR_SUB and CAR_SUB are in the same folder. However, the same error occurs when the called (or included) fex is located in the GLOBAL folder.

This message has been edited. Last edited by: M Ward,


8.8.09 - z/Linux (WF, Report Caster, Report Library).
Iway FFS on MVS (HFS)
December 18, 2015, 04:14 AM
Tim Korbmacher
Do the other fexes work?

Can I see the code for this particular fex?


WebFOCUS 8
Windows, All Outputs
December 22, 2015, 04:45 PM
M Ward
Yes, the fex that is acting like a subroutine and creates the initial extract works just fine. It is the calling fex that uses the included fex that will not run.

Let me see if I can re-create the problem using the CAR file.


8.8.09 - z/Linux (WF, Report Caster, Report Library).
Iway FFS on MVS (HFS)