[Migrated content. Thread originally posted on 04 January 2012]
Hello,The following compiler directive has to be set in order to enable the C$Century call (or some other RM/COBOL subroutine like C$DevEnv,...) to return a value:
RM "GIVING"
But If I use this compiler directive, the Visual Cobol subroutines doesn't work.
For exemple, the CBL_GET_PROGRAM_INFO subroutine doesn't work; when I use it in a program, it displais the next:
wsfuncion = 0000000000 status-code = 0538976288
wsfuncion = 0000000004 status-code = 0538976288
wsfuncion = 0000000006 status-code = 0538976288
wsfuncion = 0000000003 status-code = 0538976288
PROGRAM-ID: When I don't use the compiler directive RM "GIVING", the the CBL_GET_PROGRAM_INFO subroutine works correctly:
wsfuncion = 0000000000 status-code = 0000000000
wsfuncion = 0000000004 status-code = 0000000000
wsfuncion = 0000000006 status-code = 0000000000
wsfuncion = 0000000003 status-code = 0000000000
PROGRAM-ID: TESTPROGRAMID I need to use RM/COBOL subroutines and Visual Cobol subroutines in the same program. What can I do??
Thank you