Highlighted
Absent Member.
Absent Member.
6272 views

Error 179 - MFRUN.gnt cant be found

Jump to solution

After few hours i managed to start small native cobol program, but - i can not debug it. I got error 179 (MFRUN.gnt cant be found during program chain...) . Also, i got this message;

Geladen: RUNTRIG- Nicht für Debugging kompiliert

[CTF]

Anynone has that problem solved?

Thanks,

alex

Tags (1)
0 Likes
2 Solutions

Accepted Solutions
Highlighted
Absent Member.
Absent Member.

RE: Error 179 - MFRUN.gnt cant be found

Jump to solution

Chris,

manualy created project , if set to .exe build can be debuged, otherwise not (so far). We need .gnt, so i'll look further and let you know if i find solution.

Thank you again,

Alex

View solution in original post

0 Likes
Highlighted
Micro Focus Expert
Micro Focus Expert

RE: Error 179 - MFRUN.gnt cant be found

Jump to solution

Alex,

The error you are seeing occurs if the run.exe trigger program, which is used to run ints and gnts, does not initialise correctly. Is it possible that you have an older RUN.EXE on your system PATH ?

Here are a couple of things to try :

Create a simple int/gnt project and try debugging that. Do you get the same error ? If you do, it appears that there could be a problem with the installed product. If not, does your imported project contain a RUN.EXE from Net Express ?

Open a Visual COBOL command prompt and in the directory containing your int or gnt program (assuming it is called AlexS)

RUN AlexS

Does that run correctly or do you get the same error ?

If you can try those and post the results it may help narrow down the cause of the error.

View solution in original post

0 Likes
7 Replies
Highlighted
Micro Focus Expert
Micro Focus Expert

RE: Error 179 - MFRUN.gnt cant be found

Jump to solution

Are you using an extfh.cfg file to turn on RM/ACU file handling by any chance?

I have seen this error occur when the [FOLDER] option in an extfh.cfg file is referring to the actual ptoject folder containing the .cblproj files as this affects file handling used by Visual COBOL itself.

If you are using an extfh.cfg file can you show me what is in it?

Also make sure that you do not have any environment variables set at the system level which are used by both Net Express and Visual COBOL, such as PATH or COBDIR that may be pointing to the Net Express\base\bin folder.

Many of the same filenames are shared between the two products including the cobol command and the  run-time system, cblrtsm.dll.

Thanks.

0 Likes
Highlighted
Absent Member.
Absent Member.

RE: Error 179 - MFRUN.gnt cant be found

Jump to solution

Chris,

we do not use RM/ACU, though some ressources (.cpy files) are on shared (but mounted) disk.

I've cleaned any resemblance toward Net Express in sys variables, .cobolProj file etc..

but, i still have same error.

Since i can't see how to attach files that i find interesting, ill just paste the content here.

==============  1. SET )

ALLUSERSPROFILE=C:\Dokumente und Einstellungen\All Users

APPDATA=C:\Dokumente und Einstellungen\asrdic\Anwendungsdaten

asl.log=Destination=file

CLASSPATH=.;C:\Programme\Java\jre7\lib\ext\QTJava.zip

CLIENTNAME=Console

CommonProgramFiles=C:\Programme\Gemeinsame Dateien

COMPUTERNAME=ADPDE0223

ComSpec=C:\WINDOWS\system32\cmd.exe

DEFLOGDIR=C:\Dokumente und Einstellungen\All Users\Anwendungsdaten\McAfee\DesktopProtection

FP_NO_HOST_CHECK=NO

FTP_PASSIVE=1

GC_LOCALEDIR=C:\Programme\ClarifyClient11\bin\Locale

HOMEDRIVE=U:

HOMEPATH=\

HOMESHARE=\\na042\benutzer2\ASrdic

LOGONSERVER=\\DCESIFR04

NUMBER_OF_PROCESSORS=2

OS=Windows_NT

Path=C:\Programme\RSA SecurID Token Common;C:\Perl\site\bin;C:\Perl\bin;C:\Programme\Java\jdk1.6.0_23\jre\bin\client;C:\Programme\Java\jdk1.6.0_23\bin;C:\oracle\product\10.2.0\client_2\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Programme\Windows Imaging\;C:\Programme\ClarifyClient11\bin;C:\Programme\ClarifyClient11\ClearConfigurator\Common Files\CCAutomation;C:\Programme\Utimaco\SafeGuard Easy\;C:\HOBLINK\HL3270;C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin;C:\Programme\MySubversion\bin;C:\Programme\QuickTime\QTSystem\;C:\Programme\TortoiseSVN\bin

PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH

PERL_JSON_BACKEND=JSON::XS

PERL_YAML_BACKEND=YAML

PROCESSOR_ARCHITECTURE=x86

PROCESSOR_IDENTIFIER=x86 Family 6 Model 23 Stepping 10, GenuineIntel

PROCESSOR_LEVEL=6

PROCESSOR_REVISION=170a

ProgramFiles=C:\Programme

PROMPT=$P$G

QPRCFG=C:\FPMF41E\QPR.CFG

QTJAVA=C:\Programme\Java\jre7\lib\ext\QTJava.zip

SESSIONNAME=Console

SystemDrive=C:

SystemRoot=C:\WINDOWS

TEMP=C:\DOKUME~1\asrdic\LOKALE~1\Temp

TERM=dumb

TMP=C:\DOKUME~1\asrdic\LOKALE~1\Temp

UATDATA=C:\WINDOWS\system32\CCM\UATData\D9F8C395-CAB8-491d-B8AC-179A1FE1BE77

USERDNSDOMAIN=AD.ESI.ADP.COM

USERDOMAIN=ADESI

USERNAME=asrdic

USERPROFILE=C:\Dokumente und Einstellungen\asrdic

VSEDEFLOGDIR=C:\Dokumente und Einstellungen\All Users\Anwendungsdaten\McAfee\DesktopProtection

windir=C:\WINDOWS

================  2 .cobolBuild)

<project name="LEM-U" default="cobolbuild" basedir="." xmlns:ac="antlib:net.sf.antcontrib">

   <taskdef name="cobol" classname="com.microfocus.ant.TaskCobol"/>

   <taskdef name="cobolclean" classname="com.microfocus.ant.TaskCobolClean"/>

   <taskdef name="cobollink" classname="com.microfocus.ant.TaskCobolLink"/>

   <typedef name="mffilelist" classname="com.microfocus.ant.TypeFileList"/>

   <typedef name="mfdirlist" classname="com.microfocus.ant.TypeDirectiveList"/>

   <typedef name="mfdestfilelist" classname="com.microfocus.ant.TypeDestinationFileList"/>

   <taskdef uri="antlib:net.sf.antcontrib" resource="net/sf/antcontrib/antlib.xml" classpath="lib/ant-contrib-1.0b3.jar"/>

   <property name="linkedfolder.CopyBook1" value="G:/Entwicklung/mfes/TPO/Batch/LEM/copy"/>

   <property name="linkedfolder.CopyBook2" value="G:/Entwicklung/mfes/TPO/Copys/cpy"/>

   <property name="linkedfolder.SourceFolder1" value="U:/G/Entwicklung/mfes/TPO/Batch/LEM"/>

   <!-- ****************************** -->

   <!-- * OS-specific initialisation * -->

   <!-- ****************************** -->

   <target name="os.init">

       <condition property="windows">

           <os family="windows"/>

       </condition>

       <condition property="unix">

           <os family="unix"/>

       </condition>

   </target>

   <target name="os.init.windows" if="windows">

       <property name="dllext" value=".dll"/>

       <property name="exeext" value=".exe"/>

       <property name="objext" value=".obj"/>

       <property name="equalsInDir" value="="/>

       <property name="pathVar.pS" value=";"/>

       <property name="shell" value="cmd"/>

       <property name="shell.ext" value=".bat"/>

       <property name="shell.arg" value="/c"/>

       <property name="script.header" value="@rem MS-DOS Batch File"/>

   </target>

   <target name="os.init.unix" if="unix">

       <property name="dllext" value=".so"/>

       <property name="exeext" value=""/>

       <property name="objext" value=".o"/>

       <property name="equalsInDir" value="="/>

       <property name="pathVar.pS" value=":"/>

       <property name="shell" value="sh"/>

       <property name="shell.ext" value=".sh"/>

       <property name="shell.arg" value="-c"/>

       <property name="script.header" value="#!/bin/sh"/>

   </target>

   <!-- ***************************** -->

   <!-- * COBOL compiler directives * -->

   <!-- ***************************** -->

   <!-- cobol_directive_set_1 -->

   <mfdirlist id="cobol_directive_set_1">

       <directive name="DIALECT" value="MF"/>

       <directive name="COPYEXT" value="cpy,cbl"/>

       <directives value="

OPT(1)

"/>

       <directive name="SOURCEFORMAT" value="fixed"/>

       <directive name="CHARSET" value="ASCII"/>

       <directive name="MAX-ERROR" value="100"/>

       <directive name="SOURCETABSTOP" value="4"/>

   </mfdirlist>

   <!-- ********************** -->

   <!-- * COBOL source files * -->

   <!-- ********************** -->

   <!-- cobol_file_set_1 -->

   <mffilelist id="cobol_file_set_1" srcdir="${basedir}" type="srcfile">

       <file name="LEM10BC0.cob" srcname="${pathVar.SRCFOLDER_SourceFolder1}/LEM10BC0.cob"/>

   </mffilelist>

   <!-- **************************** -->

   <!-- * COBOL copybook locations * -->

   <!-- **************************** -->

   <mffilelist id="cobol.copybook.locations">

       <path type="copybook" name="${LEM-U}"/>

       <path type="copybook" name="${pathVar.SRCFOLDER_SourceFolder1}"/>

       <path type="copybook" name="${pathVar.COPYBOOK_CopyBook1}"/>

       <path type="copybook" name="${pathVar.COPYBOOK_CopyBook2}"/>

   </mffilelist>

   <!-- **************************************** -->

   <!-- * COBOL Source Files and Directive Set * -->

   <!-- **************************************** -->

   <!-- dirset.Generic_Debug_Build -->

   <mfdirlist id="dirset.Generic_Debug_Build.U:\G\Entwicklung\mfes\TPO\Batch\LEM\LEM10BC0.cob" refid="cobol_directive_set_1"/>

   <mffilelist refid="cobol.copybook.locations"/>

   <target name="FileCompile.Generic_Debug_Build.U:\G\Entwicklung\mfes\TPO\Batch\LEM\LEM10BC0.cob" depends="init">

       <cobol desttype="gnt" destdir="${basedir}/DEBUG" forceCompile="${forceCompile}" is64bit="false" debug="true" threadedRts="true">

           <mffilelist refid="cobol.copybook.locations"/>

           <mfdirlist refid="dirset.Generic_Debug_Build.${filename}"/>

           <mffilelist srcdir="${basedir}" type="srcfile">

               <file name="${filename}"/>

           </mffilelist>

       </cobol>

   </target>

   <!-- **************** -->

   <!-- * Object files * -->

   <!-- **************** -->

   <!-- Default -->

   <mffilelist id="cobol.default.object.files" srcdir="${basedir}/${cfgtargetdir}" type="objfile">

       <file name="LEM10BC0${objext}"/>

   </mffilelist>

   <!-- ************************* -->

   <!-- * Configuration targets * -->

   <!-- ************************* -->

   <!-- cfg.Generic_Debug_Build -->

   <target name="cobol.cfg.Generic_Debug_Build" depends="init">

       <cobol desttype="gnt" destdir="${basedir}/DEBUG" forceCompile="${forceCompile}" is64bit="false" debug="true" threadedRts="true">

           <mffilelist refid="cobol.copybook.locations"/>

           <mfdirlist refid="cobol_directive_set_1"/>

           <mffilelist refid="cobol_file_set_1"/>

       </cobol>

   </target>

   <target name="Generic_Debug_Build.FileCompile" depends="init">

       <ac:for list="${filesList}" param="filename" keepgoing="true" trim="true">

           <sequential>

               <ac:if>

                   <not>

                       <isset property="isCancelled"/>

                   </not>

                   <then>

                       <ac:antcallback target="FileCompile.Generic_Debug_Build.@{filename}" inheritAll="true" return="isCancelled">

                           <param name="filename" value="@{filename}"/>

                       </ac:antcallback>

                   </then>

               </ac:if>

           </sequential>

       </ac:for>

   </target>

   <target name="clean.cfg.Generic_Debug_Build" depends="init">

       <cobolclean desttype="gnt" destdir="${basedir}/DEBUG" debug="true">

           <mffilelist refid="cobol_file_set_1"/>

       </cobolclean>

   </target>

   <target name="pre.build.cfg.Generic_Debug_Build" depends="init"/>

   <target name="post.build.cfg.Generic_Debug_Build" depends="init"/>

   <!-- ******************* -->

   <!-- * General targets * -->

   <!-- ******************* -->

   <target name="init.Generic_Debug_Build" if="isGeneric_Debug_Build">

       <property name="cfgtargetdir" value="DEBUG"/>

   </target>

   <target name="init" depends="os.init,os.init.windows,os.init.unix">

       <property environment="env"/>

       <property name="LEM-U" value="${basedir}"/>

       <property name="cfg" value="Generic_Debug_Build"/>

       <property name="cfgtarget" value="cfg.${cfg}"/>

       <property name="forceCompile" value="true"/>

       <condition property="isGeneric_Debug_Build">

           <equals arg1="${cfg}" arg2="Generic_Debug_Build"/>

       </condition>

       <property name="pathVar.ECLIPSE_HOME" value="${env.ECLIPSE_HOME}"/>

       <property name="pathVar.PARENT_LOC" value="${env.PARENT_LOC}"/>

       <property name="pathVar.WORKSPACE_LOC" value="${env.WORKSPACE_LOC}"/>

       <property name="pathVar.PROJECT_LOC" value="${env.PROJECT_LOC}"/>

       <property name="pathVar.SRCFOLDER_SourceFolder1" value="${env.SRCFOLDER_SourceFolder1}"/>

       <property name="pathVar.COPYBOOK_CopyBook2" value="${env.COPYBOOK_CopyBook2}"/>

       <property name="pathVar.COPYBOOK_CopyBook1" value="${env.COPYBOOK_CopyBook1}"/>

   </target>

   <target name="cobolbuild" depends="init,init.Generic_Debug_Build">

       <antcall target="pre.build.${cfgtarget}" inheritAll="true"/>

       <antcall target="cobol.${cfgtarget}" inheritAll="true"/>

       <antcall target="post.build.${cfgtarget}" inheritAll="true"/>

   </target>

   <target name="compileNoBms" depends="init,init.Generic_Debug_Build">

       <antcall target="${cfg}.FileCompile" inheritAll="true"/>

   </target>

   <target name="compile" depends="compileNoBms"/>

   <target name="clean" depends="init,init.Generic_Debug_Build">

       <antcall target="clean.${cfgtarget}" inheritAll="true"/>

   </target>

</project>

=================  3 .cobolProj)

<?xml version="1.0" encoding="UTF-8"?>

<project xsi:schemaLocation="" xmlns:xsi="www.w3.org/.../XMLSchema-instance" xsi:type="cobolProject" name="LEM-U" version="2.3">

  <settings xsi:type="projectSettingsContainer">

     <copybook-paths xsi:type="copybookPathsSettings">

        <path enabled="true" name="/LEM-U" type="mfpath"/>

        <path enabled="true" name="/LEM-U/SourceFolder1" type="mfpath"/>

        <path enabled="true" name="/LEM-U/CopyBook1" type="mfpath"/>

        <path enabled="true" name="/LEM-U/CopyBook2" type="mfpath"/>

     </copybook-paths>

     <build-precedence-paths xsi:type="buildPrecedenceSettings">

        <path enabled="true" name="/LEM-U" type="mfpath"/>

        <path enabled="true" name="/LEM-U/SourceFolder1" type="mfpath"/>

        <path enabled="true" name="/LEM-U/CopyBook1" type="mfpath"/>

        <path enabled="true" name="/LEM-U/CopyBook2" type="mfpath"/>

     </build-precedence-paths>

     <configurations default="Generic Debug Build" xsi:type="buildConfigurationsContainer">

        <configuration is64bit="false" createlbr="false" description="Generic Debug Build" platform="Windows" type="all_intgnt" xsi:type="buildConfiguration">

           <targetdir name="DEBUG"/>

           <application_configuration xsi:type="runtimeConfigurationSettings">

              <cobol_switches xsi:type="projectCobolSwitches"/>

              <rts_switches xsi:type="projectRtsSwitches"/>

              <tunables>

                 <tunable index="0" name="default_cancel_mode" value="1"/>

                 <tunable index="0" name="program_search_order" value="4"/>

                 <tunable index="0" name="arguments_are_initial" value="false"/>

                 <tunable index="0" name="command_line_accept" value="false"/>

                 <tunable index="0" name="sort_memory" value="0"/>

                 <tunable index="0" name="dynamic_memory_limit" value="2147483647"/>

                 <tunable index="0" name="memory_free_check_size" value="100"/>

                 <tunable index="0" name="memory_strategy" value="1"/>

                 <tunable index="0" name="ansi_input_mode" value="false"/>

                 <tunable index="0" name="screen_lines" value="25"/>

                 <tunable index="0" name="screen_cols" value="80"/>

                 <tunable index="0" name="current_year" value="0"/>

                 <tunable index="0" name="current_month" value="0"/>

                 <tunable index="0" name="current_day" value="0"/>

                 <tunable index="0" name="datewarp_dynamic" value="false"/>

                 <tunable index="0" name="current_hour" value="-1"/>

                 <tunable index="0" name="current_minute" value="-1"/>

                 <tunable index="0" name="current_second" value="-1"/>

                 <tunable index="0" name="timewarp_dynamic" value="false"/>

              </tunables>

           </application_configuration>

           <link_settings xsi:type="linkSettings">

              <additional_options value=""/>

              <rts_bind value="false"/>

              <custom_link_command value=""/>

              <debug value="false"/>

              <entry_point name=""/>

              <error_undefined_syms value="false"/>

              <application_type value="console"/>

              <include_cpp value="false"/>

              <additional_files/>

              <rcfile path=""/>

              <rts_type value="shared"/>

              <target path="New_Configuration.bin/LEM-U"/>

              <targettype type="exe"/>

              <threaded_rts value="true"/>

              <verbose value="false"/>

           </link_settings>

           <cobol_settings xsi:type="cobolSettings">

              <options>

                 <option name="SOURCEFORMAT" value="fixed"/>

                 <option name="CHARSET" value="ASCII"/>

                 <option name="DIALECT" value="MF"/>

                 <option id="additional" name="additional" value=" OPT(1)"/>

                 <option name="MAX-ERROR" value="100"/>

              </options>

              <debug value="true"/>

              <generate value="false"/>

              <retainDirectivesFile value="false"/>

              <genListFile value="false"/>

              <verbose value="false"/>

           </cobol_settings>

        </configuration>

     </configurations>

     <cobol_settings xsi:type="cobolSettings">

        <options>

           <option id="additional" name="additional" value=""/>

           <option name="SOURCEFORMAT" value="fixed"/>

           <option name="CHARSET" value="ASCII"/>

           <option name="DIALECT" value="MF"/>

           <option name="MAX-ERROR" value="100"/>

        </options>

        <debug value="true"/>

        <generate value="false"/>

        <retainDirectivesFile value="false"/>

        <genListFile value="false"/>

        <verbose value="false"/>

     </cobol_settings>

     <sql_settings enabled="false" type="OpenESQL" xsi:type="sqlSettings"/>

     <ims_settings xsi:type="additionalImsSettings">

        <options>

           <option id="generate_list_file" name="LIST" value="Listing/*.lst"/>

        </options>

        <verbose value="false"/>

        <generatedFileDir name=""/>

        <imsDatabaseDir name=""/>

     </ims_settings>

     <mfs_settings xsi:type="mfsSettings">

        <options>

           <option id="generate_list_file" name="LIST" value="Listing/*.lst"/>

        </options>

        <verbose value="false"/>

     </mfs_settings>

     <dbd_settings xsi:type="dbdSettings">

        <options>

           <option id="generate_list_file" name="LIST" value="Listing/*.lst"/>

        </options>

        <verbose value="false"/>

        <cleanDbdOutputFiles value="false"/>

     </dbd_settings>

     <psb_settings xsi:type="psbSettings">

        <options>

           <option id="generate_list_file" name="LIST" value="Listing/*.lst"/>

        </options>

        <verbose value="false"/>

        <cleanPsbOutputFiles value="false"/>

     </psb_settings>

     <bms_settings xsi:type="bmsSettings">

        <options>

           <option id="sdf" name="/IGNORE"/>

           <option id="map" name="/SYSPARM" value="MAP"/>

           <option id="decimalchar" name="/DP" value="."/>

           <option id="dsectname" name="" value=""/>

           <option id="dsect" name="/SYSPARM" value="DSECT"/>

           <option id="longmacros" name=""/>

           <option id="additional" name="" value=""/>

           <option id="mapname" name="" value=""/>

           <option id="align" name=""/>

           <option id="currencychar" name="/CS" value="$"/>

           <option id="sdfprefix" name="" value=""/>

           <option id="level" name="" value=""/>

        </options>

        <asmdir name=""/>

        <coboldir name=""/>

        <plidir name=""/>

        <targetdir name=""/>

        <verbose value="false"/>

     </bms_settings>

     <dependent-projects xsi:type="dependentProjectsSettings"/>

  </settings>

  <files xsi:type="projectFileStore">

     <filetype type="cobol" xsi:type="cobolFileContainer">

        <file compile="true" path="SourceFolder1/LEM10BC0.cob" xsi:type="cobolFile">

           <cobol_settings xsi:type="cobolSettings">

              <options>

                 <option id="additional" name="additional" value=""/>

                 <option name="SOURCEFORMAT" value="fixed"/>

                 <option name="CHARSET" value="ASCII"/>

                 <option name="DIALECT" value="MF"/>

                 <option name="MAX-ERROR" value="100"/>

              </options>

              <debug value="true"/>

              <generate value="true"/>

              <retainDirectivesFile value="false"/>

              <genListFile value="false"/>

              <verbose value="false"/>

           </cobol_settings>

        </file>

        <file compile="false" path="SourceFolder1/test.cob" xsi:type="cobolFile"/>

     </filetype>

     <filetype type="cobol.copybook" xsi:type="cobolFileContainer"/>

     <filetype type="bms" xsi:type="cobolFileContainer"/>

     <filetype xsi:type="cobolFileContainer"/>

     <filetype type="jcl" xsi:type="cobolFileContainer"/>

     <filetype type="dbd" xsi:type="cobolFileContainer"/>

     <filetype type="mfs" xsi:type="cobolFileContainer"/>

     <filetype type="psb" xsi:type="cobolFileContainer"/>

     <filetype xsi:type="cobolFileContainer"/>

  </files>

</project>

=====================  4 .project)

<?xml version="1.0" encoding="UTF-8"?>

<projectDescription>

<name>LEM-U</name>

<comment></comment>

<projects>

</projects>

<buildSpec>

<buildCommand>

<name>com.microfocus.eclipse.project.cobolBuilder</name>

<arguments>

</arguments>

</buildCommand>

</buildSpec>

<natures>

<nature>com.microfocus.eclipse.project.cobolNature</nature>

</natures>

<linkedResources>

<link>

<name>CopyBook1</name>

<type>2</type>

<locationURI>COPYBOOK_CopyBook1</locationURI>

</link>

<link>

<name>CopyBook2</name>

<type>2</type>

<locationURI>COPYBOOK_CopyBook2</locationURI>

</link>

<link>

<name>SourceFolder1</name>

<type>2</type>

<locationURI>SRCFOLDER_SourceFolder1</locationURI>

</link>

</linkedResources>

<variableList>

<variable>

<name>SRCFOLDER_SourceFolder1</name>

<value>file:/U:/G/Entwicklung/mfes/TPO/Batch/LEM</value>

</variable>

<variable>

<name>COPYBOOK_CopyBook1</name>

<value>file:/G:/Entwicklung/mfes/TPO/Batch/LEM/copy</value>

</variable>

<variable>

<name>COPYBOOK_CopyBook2</name>

<value>file:/G:/Entwicklung/mfes/TPO/Copys/cpy</value>

</variable>

</variableList>

</projectDescription>

=====================  5 cobol.dir)

& CONFIRM         & Ausgabe directives

DIALECT(ENTCOBOL)

CHARSET"ASCII"

& INITCALL"rtsora.so"   & für Linux

INITCALL"ORASQL8"

nowarning

copyext"cpy"

hostarithmetic

PERFORM-TYPE"OSVS"

signfixup

IDXFORMAT(8)

nolist

& LIST""

& LISTWIDTH"120"

and, since app was migrated:

6 migrationLog.txt)

COBOL Project LEM-U will build NetExpress target LEM10BC0.Gnt to All Int/Gnt Files

INFO: Obsolete directive or pseudovariable "WB3" has been removed from directives for the project LEM-U

INFO: Obsolete directive or pseudovariable "WB" has been removed from directives for the project LEM-U

INFO: Obsolete directive or pseudovariable "EDITOR(MF2)" has been removed from directives for the project LEM-U

INFO: Obsolete directive or pseudovariable "ENSUITE(3)" has been removed from directives for the project LEM-U

INFO: Obsolete directive or pseudovariable "COBIDY(%TARGETDIR)" has been removed from directives for the project LEM-U

INFO: Obsolete directive or pseudovariable "%FILENAME" has been removed from directives for the project LEM-U

INFO: Obsolete directive or pseudovariable "%FILENAME" has been removed from directives for the project LEM-U

** NetExpress Project directives were: %FILENAME COBIDY(%TARGETDIR) WB3 WB CSI ANIM EDITOR(MF2) ENSUITE(3)

Thanks,

Alex

0 Likes
Highlighted
Micro Focus Expert
Micro Focus Expert

RE: Error 179 - MFRUN.gnt cant be found

Jump to solution

So it looks like the project that you are trying to debug was imported from a Net Express project, is that correct?

I see that Oracle Pro*COBOL is also being used, is that correct?

Can we please confirm that the Visual COBOL product is installed and running correctly by removing your current application from the mix?

Please create a new native COBOL project that contains only the skeleton program1.cbl in it and compile and run it to see if it will debug correctly.

Add a display statement, build it and try to debug it.

That way we can concentrate on whether or not this is an issue with product installation or an issue with something specific to your project.

Thanks.

0 Likes
Highlighted
Absent Member.
Absent Member.

RE: Error 179 - MFRUN.gnt cant be found

Jump to solution

Chris,

in this case Pro* COBOL is irelevant, i've deleted directive and after new compile&run_debug i got same error.

Yes, project was imported from NetExpress 5.1, since it is the smallest project we have: there is only one .cbl program with >1000 lines of code.  

I'll make new VC project manualy, paste my code and let you know what is the outcome.

Alex

0 Likes
Highlighted
Absent Member.
Absent Member.

RE: Error 179 - MFRUN.gnt cant be found

Jump to solution

Chris,

manualy created project , if set to .exe build can be debuged, otherwise not (so far). We need .gnt, so i'll look further and let you know if i find solution.

Thank you again,

Alex

View solution in original post

0 Likes
Highlighted
Micro Focus Expert
Micro Focus Expert

RE: Error 179 - MFRUN.gnt cant be found

Jump to solution

Alex,

The error you are seeing occurs if the run.exe trigger program, which is used to run ints and gnts, does not initialise correctly. Is it possible that you have an older RUN.EXE on your system PATH ?

Here are a couple of things to try :

Create a simple int/gnt project and try debugging that. Do you get the same error ? If you do, it appears that there could be a problem with the installed product. If not, does your imported project contain a RUN.EXE from Net Express ?

Open a Visual COBOL command prompt and in the directory containing your int or gnt program (assuming it is called AlexS)

RUN AlexS

Does that run correctly or do you get the same error ?

If you can try those and post the results it may help narrow down the cause of the error.

View solution in original post

0 Likes
Highlighted
Absent Member.
Absent Member.

RE: Error 179 - MFRUN.gnt cant be found

Jump to solution

After vacation i started machine, tested again - and everything went just fine.

Thanks,

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.