Hi I'm doing migration from Server Express 5.1 to Visual Cobol 7.0
the current Server Expression 5.1 is running on Redhat Linux 6, with some SQLs compiled Oracle 12c
and the new Visual Cobol 7.0 is running on Redhat Linux 8, with some SQLs compiled Oracle 19c
Now I'm comparing the results between current result and new.
Here's the issue. there's a data [39.5] in the Oracle, It's [NUMBER(7,3)]
and In the COBOL, It's like
EXEC SQL
DECLARE CURAD0011 CURSOR FOR
SELECT cc1 FROM TT1; --->(this cc1 is [39.5] defined by [NUMBER(7,3)])
OPEN CURAD0011
FETCH CURAD0011
INTO : VAR1
END-EXEC
This [VAR1] is defined by [PIC S9(4)V9(3) COMP-3]
Here's the problem:
as the result of Server Express, VAR1 set from [39.5] to [40]
but the result of Visual Cobol, VAR1 set from [39.5] to [39.5] ( not changed )
Could you please help me to solve this ?
I don't know whether is a Compatibility Issue or
I have to add any compile command while compiling SQL (I'm using Pro*COBOL Preprocessor)
Thanks
Issue About Visual Cobol Migration
Sign up
Already have an account? Login
Welcome to the Rocket Forum!
Please log in or register:
Employee Login | Registration Member Login | RegistrationEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.




