Dear Sir,
I was testing Server Express 5.1 and I get the following Error :
error(s) in assembling /var/tmp/cobAAAYmaCRb/%cob0.s when put cob64 -x tictac.cbl
All other command compile work fine.
TKS
PJM
Dear Sir,
I was testing Server Express 5.1 and I get the following Error :
error(s) in assembling /var/tmp/cobAAAYmaCRb/%cob0.s when put cob64 -x tictac.cbl
All other command compile work fine.
TKS
PJM
Dear Sir,
I was testing Server Express 5.1 and I get the following Error :
error(s) in assembling /var/tmp/cobAAAYmaCRb/%cob0.s when put cob64 -x tictac.cbl
All other command compile work fine.
TKS
PJM
More details....
Dear Sir,
I was testing Server Express 5.1 and I get the following Error :
error(s) in assembling /var/tmp/cobAAAYmaCRb/%cob0.s when put cob64 -x tictac.cbl
All other command compile work fine.
TKS
PJM
Hello Pedro:
Please show us the output of these commands:
as -V
cobmode
cob -vD -x tictac.cbl
as -V shows the version of the system assembler.
cobmode shows the current active mode for the COBOL system: 32 or 64
The -vD option will make cob more verbose and tell us what cob is doing behind the scenes.
Dear Sir,
I was testing Server Express 5.1 and I get the following Error :
error(s) in assembling /var/tmp/cobAAAYmaCRb/%cob0.s when put cob64 -x tictac.cbl
All other command compile work fine.
TKS
PJM
Dear Dan,
Following the result for your question :
as -V
as: not found
# cob -vD -x tictac.cbl
cob64 -C nolist -CC -KPIC -A -KPIC -N PIC -vD -x tictac.cbl
/opt/microfocus/cobol/bin/cobchecker64 tictac.cbl int("tictac.int") anim csi verbose nolist
* Micro Focus Server Express V5.1 revision 000 Compiler
* Copyright (C) Micro Focus IP Development Limited 1984-2012.
* Accepted - verbose
* Accepted - nolist
* Compiling tictac.cbl
* Total Messages: 0
* Data: 2400 Code: 2076
/opt/microfocus/cobol/bin/ncg64 tictac.int obj(tictac.o) verbose PIC
* Micro Focus Server Express V5.1.00 Code Generator
* Copyright (C) Micro Focus IP Development Limited 1984-2012.
* Accepted - verbose
* Accepted - PIC
* Generating tictac
* Data: 2192 Code: 3556 Literals: 344 Dynamic: 671744
Entry points defined in module: tictac.o
*TICTAC
tictac
as -K PIC -xarch=v9 -o /var/tmp/cobAAA4CaOJi/%cob0.o /var/tmp/cobAAA4CaOJi/%cob0.s
cob64: can not execute program "as".
Cannot execute system assembler "as". To resolve this, ensure that assembler
is installed, and that this location is on PATH, typically /usr/bin or
/usr/ccs/bin.
cob64: error(s) in assembling /var/tmp/cobAAA4CaOJi/%cob0.s
# cobmode
Effective Default Working Mode: 64 bit
Regrads,
Pedro Juan Montero Bernales
PJM Informatica Soluciones Globales
Av. Ricardo Lyon 2034 Oficina 603
Providencia- Santiago - Chile
( Telefono: ( 56-2) 2415-1583
È Móvil : ( 56-9) 7637-8488
e-mail : pjminformatica1@gmail.com
Dear Sir,
I was testing Server Express 5.1 and I get the following Error :
error(s) in assembling /var/tmp/cobAAAYmaCRb/%cob0.s when put cob64 -x tictac.cbl
All other command compile work fine.
TKS
PJM
Dera Dan,
Path were As is in our Sun Solaris :
/usr/lib/gnome-private/share/locale/as
/usr/ccs/bin/as
/usr/sfw/libexec/gcc/sparc-sun-solaris2.10/3.4.3/as
/usr/sfw/sparc-sun-solaris2.10/bin/as
/.SUNWnative/usr/bin/as
/.SUNWnative/usr/share/locale/as
Many Thaks,
PJM
Dear Sir,
I was testing Server Express 5.1 and I get the following Error :
error(s) in assembling /var/tmp/cobAAAYmaCRb/%cob0.s when put cob64 -x tictac.cbl
All other command compile work fine.
TKS
PJM
I recommend /usr/ccs/bin/as
Put /usr/ccs/bin early on PATH and try again to compile
Dear Sir,
I was testing Server Express 5.1 and I get the following Error :
error(s) in assembling /var/tmp/cobAAAYmaCRb/%cob0.s when put cob64 -x tictac.cbl
All other command compile work fine.
TKS
PJM
Dear Dan,
I Try to do this in any way and no work. Please see my profile maybe something is wrong...
MAIL=/usr/mail/${LOGNAME:?}
# variables de ambiente
COBDIR=/opt/microfocus/cobol
AS=usr/ccs/bin/as:$PATH
LD_LIBRARY_PATH=$COBDIR/lib:$LD_LIBRARY_PATH
PATH=$COBDIR/bin,/usr/ccs/bin/as:$PATH
export COBDIR LD_LIBRARY_PATH AS PATH
Dear Sir,
I was testing Server Express 5.1 and I get the following Error :
error(s) in assembling /var/tmp/cobAAAYmaCRb/%cob0.s when put cob64 -x tictac.cbl
All other command compile work fine.
TKS
PJM
Your PATH appears to have a "," in it instead of ":"
Dear Sir,
I was testing Server Express 5.1 and I get the following Error :
error(s) in assembling /var/tmp/cobAAAYmaCRb/%cob0.s when put cob64 -x tictac.cbl
All other command compile work fine.
TKS
PJM
Dear Chris,
I corrected it and give the same result...
MAIL=/usr/mail/${LOGNAME:?}
# variables de ambiente
COBDIR=/opt/microfocus/cobol
AS=usr/ccs/bin/as:$PATH
LD_LIBRARY_PATH=$COBDIR/lib:$LD_LIBRARY_PATH
PATH=/$COBDIR/bin:$PATH
export COBDIR LD_LIBRARY_PATH AS PATH
Dear Sir,
I was testing Server Express 5.1 and I get the following Error :
error(s) in assembling /var/tmp/cobAAAYmaCRb/%cob0.s when put cob64 -x tictac.cbl
All other command compile work fine.
TKS
PJM
Hello Pedro:
Do not set:
AS=usr/ccs/bin/as:$PATH
instead set:
PATH=/usr/ccs/bin:$PATH
that is, put /usr/ccs/bin early on PATH so the assembler "as" can be found.
Afterwords, verify that "as" can be found by entering:
type as
You could see a result like this:
as is /usr/ccs/bin/as
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.