COBOL Compile Error



In an attempt to draw more attention to an error, let me copy a comment here.  If you have any ideas on what ps_rookie should do, please comment here.

I suggested taking the dash out of the compile directory, and he said that did not make a difference.

Below is the comment:

Hi DE,

I am trying to Install COBOL for my HCM 9.0 Installation. I have downloaded and installaed the Net Express Cobol Comipler and now I am doing the exact same steps as you have discussed above. I am getting the Object Compiling Error. Pasted below.

ASCII Cobol Compilations Proceeding
Creating Directory C:\TEMP\COBOL-COMBILE
Logging progress to file C:\TEMP\COBOL-COMBILE\CBLBLD.LOG
COBOL compiler found in “C:\Program Files\Micro Focus\Net Express 5.1\Base”
Target directory (C:\PS_HOME\CBLBINA) exists and is writable

Copying source files …

Building the COBOL targets …

File(s) that failed to compile or link:
.
Compile error for AVPACCTL.obj
Compile error for AVPCAE.obj
Compile error for AVPGCLUB.obj
Compile error for CCPMNTPD.obj
Compile error for EGPCSRVC.obj
Compile error for EGPUDTGN.obj
Compile error for FAP00SLD.obj
Compile error for FAPAUTHP.obj
Compile error for FAPBUDMV.obj
Compile error for FAPCLICR.obj
Compile error for FAPCLIOR.obj
Compile error for FAPCLOCX.obj
Compile error for FAPCLOOR.obj
Compile error for FAPCMPR1.obj
Compile error for FAPCNAS9.obj
Compile error for FAPCOR00.obj
Compile error for FAPDISBP.obj
Compile error for FAPDLINB.obj
Compile error for FAPDLOCH.obj
Compile error for FAPDLODB.obj
Compile error for FAPDLOOR.obj
Compile error for FAPEQPAR.obj
Compile error for FAPEQRUN.obj
Compile error for FAPINAS5.obj
Compile error for FAPINAS6.obj
Compile error for FAPINAS7.obj
Compile error for FAPINSS2.obj
Compile error for FAPLBOG1.obj
Compile error for FAPLCAD1.obj
Compile error for FAPLCIA4.obj
Compile error for FAPLCOA4.obj
Compile error for FAPLCOX4.obj
Compile error for FAPLDAD1.obj
Compile error for FAPLDAD2.obj
Compile error for FAPLDOA4.obj
Compile error for FAPLDPN2.obj
Compile error for FAPLORG0.obj
Compile error for FAPPIDA0.obj
Compile error for FAPPKASN.obj
Compile error for FAPPKCTL.obj
Compile error for FAPPKENG.obj
Compile error for FAPPKPST.obj
Compile error for FAPPLBL0.obj
Compile error for FAPPLINB.obj
Compile error for FAPPLODB.obj
Compile error for FAPPLOOR.obj
Compile error for FAPSAR00.obj
Compile error for FAPTALRT.obj
Compile error for FAPTRMU1.obj
Compile error for FAPUPTGT.obj
Compile error for FGPACCRL.obj
Compile error for GPPDPDM5.obj
Compile error for GPPSERVC.obj
Compile error for GPPUERND.obj
Compile error for GPPUSYPN.obj
Compile error for GPPUTAKE.obj
Compile error for PAPCABAL.obj
Compile error for PAPCAERN.obj
Compile error for PAPCOPTF.obj
Compile error for PAPCRCTL.obj
Compile error for PAPCRSQL.obj
Compile error for PAPCSRVC.obj
Compile error for PAPCSSEC.obj
Compile error for PAPPCERN.obj
Compile error for PAPPCHRS.obj
Compile error for PAPPEXPT.obj
Compile error for PAPPPYMT.obj
Compile error for PAPPRSQL.obj
Compile error for PAPUALTL.obj
Compile error for PAPUDTGN.obj
Compile error for PAPUPROJ.obj
Compile error for PIPCMPAR.obj
Compile error for PIPMPORT.obj
Compile error for PIPSPRCS.obj
Compile error for PIPUTLTY.obj
Compile error for PSPBAELG.obj
Compile error for PSPBAELT.obj
Compile error for PSPBAENR.obj
Compile error for PSPBAOPT.obj
Compile error for PSPBASCH.obj
Compile error for PSPBATBL.obj
Compile error for PSPCNTAX.obj
Compile error for PSPCOBRA.obj
Compile error for PSPCPCAL.obj
Compile error for PSPEARRY.obj
Compile error for PSPECALC.obj
Compile error for PSPENANN.obj
Compile error for PSPENNHT.obj
Compile error for PSPFCEXT.obj
Compile error for PSPGCALC.obj
Compile error for PSPGPROR.obj
Compile error for PSPLDTL2.obj
Compile error for PSPMFLSA.obj
Compile error for PSPPARRY.obj
Compile error for PSPPFDED.obj
Compile error for PSPPFDST.obj
Compile error for PSPPFUND.obj
Compile error for PSPPTFND.obj
Compile error for PSPPYNET.obj
Compile error for PSPRPERY.obj
Compile error for PSPTCALC.obj
Compile error for PSPUSTAX.obj
Compile error for PTPSQLGS.obj
Compile error for SFP1098P.obj
Compile error for SFPAPLPY.obj
Compile error for SFPAPPFE.obj
Compile error for SFPAYROG.obj
Compile error for SFPBICOR.obj
Compile error for SFPBILGE.obj
Compile error for SFPCHECS.obj
Compile error for SFPCLCAN.obj
Compile error for SFPCRHST.obj
Compile error for SFPFEADJ.obj
Compile error for SFPFECAL.obj
Compile error for SFPGLINT.obj
Compile error for SFPLATFE.obj
Compile error for SFPLNADJ.obj
Compile error for SFPORGPY.obj
Compile error for SFPORGSH.obj
Compile error for SFPQKORG.obj
Compile error for SFPQKPST.obj
Compile error for SFPQPOST.obj
Compile error for SFPREFND.obj
Compile error for SFPSTDNT.obj
Compile error for SFPTPRCL.obj
Compile error for SRPCAGRP.obj
Compile error for SRPCAPRG.obj
Compile error for SRPCARPE.obj
Compile error for SRPCARQ1.obj
Compile error for SRPCARQL.obj
Compile error for SRPCARQM.obj
Compile error for SRPCAXR2.obj
Compile error for SRPCBART.obj
Compile error for SRPCCARS.obj
Compile error for SRPCCART.obj
Compile error for SRPCCONS.obj
Compile error for SRPCENVB.obj
Compile error for SRPCENVR.obj
Compile error for SRPCEPRD.obj
Compile error for SRPCEPST.obj
Compile error for SRPCERPT.obj
Compile error for SRPCTEXT.obj
The error list is in C:\TEMP\COBOL-COMBILE\ERROR.LIS
.
Aborting this process !!! EXEs/GNTs/INTs are not going to be copied/replaced…
.
Please fix the errors and rerun this batch file !!!!!!!
.

C:\Temp\COBOL-COMBILE>

When I check the Error.lis file, I find the same entries there.

Could you please inform, as to why am I getting this error?


Share

4 Comments

  1. ps_rookie says:

    Thanks DE.
    Another update, rather FYI…

    I am trying to do this on my Stand alone machine. So the Micro Focus Net Express 5.1 that I using is the 30 day trial version. This has the limit of lines of code per COBOL Runtime. I think its 2000 or 2200 lines of code max. My Hunch is, could it be a licensing issue?

    Secondly, aftr running the CBLBLD.BAT I found all these EXEs/GNTs/INTs sitting in the Temp/CCOBOL folder that I created. I manually copied them to \CBLBINA. And then I tried to run a sample cobol process but it didnt help. I cross checked to see if my Process Scheduler is running, and it is.

    So I am still stuck… any pointers?

  2. Praj says:

    One thing that I had trouble with was the installation location of NetExpress. I changed the default installation to C:\NetExpress to prevent any spaces in the path. This was for Microfocus 5.0 so it may not be an issue with 5.1 but just something that caused me issues. You’ll need to change your %COBROOT% variable accordingly if you do change the installation location.

    I’ve managed to compile all the COBOLs for HCM 9.0. However as I noted, I used NetExpress 5.0.

    I issued the following command for the compile. Note that I added the following path to my PATH system variable: %PS_HOME%\src\cbl\win32.

    cblbld C: \temp

  3. ps_rookie says:

    Thanks Praj,
    I tried your solution, I even tried using the Net Express 5.0 but I am still stuck up at the same problem.
    One question from you. Are you using a paid version of the Net Express?

    Because I have a hunch at the solution…. I am guessing most of the above .obj files cant compile because of the source file 2200 lines of code restriction….

    i was under the impression that net Express 5.1 and 5.0 (University edition) are free of cost. But I wasn’t sure of the 2200 code line limit…

    Is there any way to get over this problem?

    Thanks
    p.s. Did you compile using CBLBLD or CBLMAKE? I tried both, but could not get all the files to work.

  4. PS_rookie says:

    Finally I got it to work.
    The problems I was facing was because of the 2000 lines code limit. Thats because i had downloaded the net Express from Micro Focus website which was obviously a trial/shareware version.

    Later I uninstalled it and downloaded it from oracle.edelivery.com. I also downloaded a installation guide that had the step by step procedures to get it installed. Now, this install is also a 30 day trial version.

    But since I am going to compile the cobol runtimes only once 9for my sandbox installation), I dont really need to worry because I already have the exe’s in the first run.

    Thanks for your help Praj.

Leave a comment