Re: rm cobol procedure error 204



Thanks for the help. I will try that.

Linda

Frederico Fonseca wrote:
Top posting corrected.
On 30 Aug 2006 10:19:37 -0700, lbaker@xxxxxxxxxxx wrote:

Frederico Fonseca wrote:
On 30 Aug 2006 05:55:42 -0700, lbaker@xxxxxxxxxxx wrote:

I am using the Flexgen cobol generator on a Unix computer. I have a
program that I want to run overnight in a batch file. I have RM Cobol
and I thought I could just type "runcobol programname.cob" at the
prompt and it would work. But I am getting Cobol procedure error 204.
This error seems to be that it can't find all the subprograms or
something else that it needs to run.

Can anyone tell me what else I need to do to get this to run? A path
statement? A parameter in the runcobol command? Thanks.
Indeed it is a PATH that you need.

Before running the program you will need to set variable RUNPATH to
the list of directories containing the programs and eventually the
filenames you will be processing.
e.g. RUNPATH=/usr/progs/myproglib1:/usr/progs/myproglib2

How you set the variable depends on the shell used.

If you are going to run this on the background you should probably set
a shell script to set both the RUNPATH and TERM variables correctly.



Frederico Fonseca
ema il: frederico_fonseca at syssoft-int.com
Thanks for the response. I thought it was something like that, but I
guess I can not figure out what path to use or I am not using the
correct command. We have AIX 4.2. I have a PATH= statement in the
.profile that I tried using. I typed:

PATH=/usr/bin:/etc:/usr/sbin:/usr/ucb:$HOME/bin:/usr/bin/X11:/sbin:/flextmp/fg4:
/flextmp/fg4/fg4bin:.

export PATH

and then tried it again with the same error. I have used some other
ones also. I will keep looking for the correct path information. Is
there a file in the flexgen or rm cobol directories that would have the
correct path? Thanks.

Its not the PATH variable you need to set, but the RUNPATH. Check your
users guide for more information.
PATH is for executables
RUNPATH is RM/COBOL specific and tells the runtime where to find COBOL
objects or FILES

You should also read Flexgen documentation, as I am pretty sure they
will state you need to add their library to the command line using the
"-l" option.



Frederico Fonseca
ema il: frederico_fonseca at syssoft-int.com

.



Relevant Pages

  • Re: rm cobol procedure error 204
    ... But I am getting Cobol procedure error 204. ... A parameter in the runcobol command? ... a shell script to set both the RUNPATH and TERM variables correctly. ...
    (comp.lang.cobol)
  • Re: rm cobol procedure error 204
    ... But I am getting Cobol procedure error 204. ... A parameter in the runcobol command? ... Before running the program you will need to set variable RUNPATH to ... I will keep looking for the correct path information. ...
    (comp.lang.cobol)
  • Re: rm cobol procedure error 204
    ... But I am getting Cobol procedure error 204. ... A parameter in the runcobol command? ... Before running the program you will need to set variable RUNPATH to ... a shell script to set both the RUNPATH and TERM variables correctly. ...
    (comp.lang.cobol)
  • Re: rm cobol procedure error 204
    ... I will keep looking for the correct path information. ... I have RM Cobol ... Before running the program you will need to set variable RUNPATH to ... a shell script to set both the RUNPATH and TERM variables correctly. ...
    (comp.lang.cobol)
  • Ryan-MacFarland COBOL
    ... Have the opcodes used by RM Cobol ever been doccumented enough that ... one could write a runcobol for various Unix machines? ...
    (comp.lang.cobol)