[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference dssdev::fmsnotes

Title: VAX FMS Notes
Notice:See note 675.* for info on FMS V2.4
Moderator:DRAGN::BOURQUARD
Created:Tue Feb 04 1986
Last Modified:Wed May 21 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:1211
Total number of notes:4308

1211.0. "Terminator code values differ between VAX and Alpha" by SNOC01::63620::GRAHAM (Russell GRAHAM) Fri May 16 1997 04:07

Hi,

I have a customer who has migrated from OVMS VAX to OVMS Alpha, using FMS,
COBOL, CDD, RDB.
Both the FMS ECO's have been applied to the Alpha
eg. CSCPAT_0435010.A;1  FMSECO02024.A;1

They have moved the code over, done the compiles, links, etc and most things
work.

One issue they have is:
The linker on AXP complained of undefined symbols for FDV$K_FT_ATB, etc.
So, the codes used in the program were defined in the COBOL source files.
(values taken from FDVDEF.LIB) and it linked ok without the previous errors.

At runtime some unexpected values are returned eg.
On the VAX the value received back where a TAB (FDV$FT_ATB) was expected was 3,
on the AXP the value is 1003.
On the VAX the value received back for a PREV FIELD  was 12
on the AXP the value is 56.

In some of the other cases the expected value is returned.
An exhaustive test of all codes used has not been done yet.

The customer used DEBUG to determine the value being returned.
They use both VT terminals and PC emulators. The same problem exists on both.
They have tried setting the VT to VT200, VT300, etc and the problem on the Alpha
does not change.
They do a test on the VAX, which works, then using the same VT, connect to the
Alpha, reproduce the test, which exhibits the above behaviour.

Does this sound possible.
I can't see that this is a new bug.

Any ideas on what is being done incorrectly or any misunderstandings that
could cause this behaviour?

Thanks,
Russell Graham
NSIS, Sydney
@SNO
T.RTitleUserPersonal
Name
DateLines
1211.1Terminator code values differ between VAX and AlphaGALVIA::JLANEWed May 21 1997 09:5616
Hi Russell,

All the symbols for FMS are defined in the FDVDEF.LIB file for COBOL. These are
included in the COBOL code by using the following statement:

COPY "FMS$EXAMPLES:FDVDEF.LIB"

therefore if FDV$K_FT_ATB is defined within this FEVDEF.LIS, as it should, with 
a value of 3, then the linker should pick it up.

This file should have the same values for VAX and AXP.

I would suspect that wrong FDVDEF.LIB file is being used in the code.

Regards,
John.