Skip to main content

ClipperImpl.bj throwing error while importing xml file

  • July 6, 2017
  • 1 reply
  • 0 views

Hi,

Need your help for clipper import batch script. While importing file i am getting error "Object Variable or with block variable not set". Please let me know if I missed anything in the xml file. Could you please help me to get rid of this issue.

Please find the xml file details below:

<MODEL Name="COBOL" SchemaID="1.0">
<FOLDER Name="Data Queries" System="True" Category="" Description="Folder name">
<CRITERION System="False" Category="" Name="TEST5" Description="variable search">
<ENTITY Name="DECL" Descendants="False"/>
<ATTR Name=".Name" Op="=">
<ITEM Value="ABC-VAR"/>
</ATTR>
</CRITERION>
</FOLDER>
</MODEL>

Also please find command below:

C:\\Program Files (x86)\\Micro Focus\\Enterprise Analyzer\\Scripts\\BRP\\ClipperImp.bj" "ClipperImp.log" "Workspace=xxxxxxxx" "File=xxxxxxx\\TEST4.General.xml" "Criteria=General"

 

Could you please help me to resolve this error.


#EnterpriseAnalyzer

1 reply

Michael Tong
  • Moderator
  • 8 replies
  • July 6, 2017

Hi,

Need your help for clipper import batch script. While importing file i am getting error "Object Variable or with block variable not set". Please let me know if I missed anything in the xml file. Could you please help me to get rid of this issue.

Please find the xml file details below:

<MODEL Name="COBOL" SchemaID="1.0">
<FOLDER Name="Data Queries" System="True" Category="" Description="Folder name">
<CRITERION System="False" Category="" Name="TEST5" Description="variable search">
<ENTITY Name="DECL" Descendants="False"/>
<ATTR Name=".Name" Op="=">
<ITEM Value="ABC-VAR"/>
</ATTR>
</CRITERION>
</FOLDER>
</MODEL>

Also please find command below:

C:\\Program Files (x86)\\Micro Focus\\Enterprise Analyzer\\Scripts\\BRP\\ClipperImp.bj" "ClipperImp.log" "Workspace=xxxxxxxx" "File=xxxxxxx\\TEST4.General.xml" "Criteria=General"

 

Could you please help me to resolve this error.


#EnterpriseAnalyzer
Hi Pritesh,

The Criteria parameter is not required, so please try removing it and use Workspace and File and see if this makes a difference.

Otherwise, please open a Support Incident so that the Supportline team can investigate in more detail.