[Migrated content. Thread originally posted on 21 December 2011]
Hello,I have more problems with the migrating to VisualCobol of RMCOBOL programs... I wanted to know if there is some kind of solution for these problems, or if it will be corrected in future VisualCobol versions
1)In some programs RM / COBOL, we use the word PROGRAM-ID to know the name of the current program ..
IDENTIFICATION DIVISION.
PROGRAM-ID. BASE0006.
...
PROCEDURE DIVISION.
PROGRAMA SECTION.
PROGRAMA-INI.
...
DISPLAY "PROGRAM NAME: ", PROGRAM-ID.But in Visual Cobol it gives the error "invalid operand"...
2) In Visual Cobol this line of code doesn't work
... (WENTRADA(1:1) IS LIKE CASE-INSENSITIVE “S”).. We have to change it with
... ((WENTRADA(1:1) = “S”) OR (WENTRADA(1:1) = “s”))..Is there another option that does not force me to modify the code?
3)The next RM/Cobol rutines doesn't work with Visual Cobol:
C$GetSysInfo
C$WRUIs there any way to get the information you give us back these routines?
Will it be available in future VisualCobol versions?
Thanks in advance