T.R | Title | User | Personal Name | Date | Lines |
---|
952.1 | need help on VEST | HANDVC::STEVELIU | | Thu Feb 20 1997 05:24 | 11 |
|
I forgot to mention that I have tried VEST with
/float=d56_float
/optimize
and without these options and the same failure occurs.
please help.
|
952.2 | Please read AT LEAST the release notes | TALLIS::NELSON | It's not the years it's the mileage! | Thu Feb 20 1997 10:28 | 15 |
|
If you read the release notes, page 6, section 3.14.3, you'll see
that for certain cobol programs (notably those that exhibit this
problem), you need to link your cobol programs with
SYS$LIBRARY:COBRESTVA.OBJ
This will fix the problem. Note that this is true for any cobol
program which uses the IS INITIAL or CANCEL verbs.
Brian
|
952.3 | | CSC32::BLAYLOCK | If at first you doubt,doubt again. | Thu Feb 20 1997 18:15 | 6 |
|
Do you realize that there is a native COBOL compiler for Alpha
systems? CLT::COBOL is the notes file for more information.
Presuming of course you have access to sources ...
|
952.4 | fails after vesting | HANDVC::STEVELIU | | Thu Feb 20 1997 21:52 | 24 |
|
Re: .2
My VAX version runs fine without linking SYS$LIBRARY:COBRESTVA.OBJ.
The COBOL RTL version I used is :
image name: "COBRTL"
image file identification: "COBRTL V5.1-005"
link date/time: 9-MAR-1994 01:49:05.77
linker identification: "05-13"
It is the translated version of the program to Alpha that gives run error.
This program is taken from the VAX COBOL user manual chapter 3.
can someone try out the program and see why it fails after VEST
translation ? thanks.
-sl
|
952.5 | OBJ file for proper translation only. | CPEEDY::FLEURY | | Fri Feb 21 1997 08:34 | 12 |
| re: .-1
Linking in the .OBJ mentioned earlier will have NO effect on the VAX
version. The inclusion of the obj is REQUIRED for proper translation
of these programs. Without the obj, the message you are getting will
always occur.
Again, the inclusion of the COBRESTVA.OBJ module is for the
translation to work properly.
Dan
|
952.6 | Puzzle on INITIAL clause | HANDVC::STEVELIU | | Thu Feb 27 1997 23:03 | 9 |
|
Later I find out removing INITIAL from here, and recompile the VAX
image, the resulting translated image for Alpha will work :
>> PROGRAM-ID. TESTB INITIAL.
But why ? will there be any side effect with this change ?
sl.
|
952.7 | | TALLIS::wlfgng.amt.tay1.dec.com::nelson | It's not the years it's the mileage! | Fri Feb 28 1997 09:13 | 24 |
| > Later I find out removing INITIAL from here, and recompile the VAX
> image, the resulting translated image for Alpha will work :
> >> PROGRAM-ID. TESTB INITIAL.
> But why ? will there be any side effect with this change ?
I don't know COBOL (I did once, but that was eons ago), but as I stated in
my earlier note you needed the COBRESTVA object in your vax image when translating
COBOL programs that use certain phrases. We state that IS INITIAL is one of them,
is INITIAL a variant of this? I don't know. But if it is, and you take it out, then
you don't need to link in COBRESTVA anymore.
Sounds to me like what you really need to do is spend some quality time with
the VEST reference guide.
Brian
|
952.8 | | TALLIS::HERDEG | Mark Herdeg | Fri Feb 28 1997 14:41 | 4 |
| This is all an interesting exercise, I guess, but why not just use the Alpha
Cobol compiler?
-Mark
|