Hi,
I am working on a POC for evaluating the Micofocus Visual Cobol converting from RM COBOL.
While compiling the Program in Micro focus Visual Cobol environment I am getting the below error

I did change the below in the setting but didnt resolve the issue

Please advise how to proceed further
#VisualCOBOLforgot to add the error from the compilation
Here is the error message in the statement where FIRST Used . please see in the above screen print

forgot to add the error from the compilation
Here is the error message in the statement where FIRST Used . please see in the above screen print

The DIALECT"RM" directive only provides compatibility with a subset of RM COBOL. There are constructs such as FIRST/LAST in the START statement that are not supported. There is a list of some of the items that are not supported here: The FIRST/LAST do not appear on the list so the list is incomplete.
You can get the same functionality as START FIRST/:LAST by move high-values or low-values to the key and then doing a START < or START > respectively.
The DIALECT"RM" directive only provides compatibility with a subset of RM COBOL. There are constructs such as FIRST/LAST in the START statement that are not supported. There is a list of some of the items that are not supported here: The FIRST/LAST do not appear on the list so the list is incomplete.
You can get the same functionality as START FIRST/:LAST by move high-values or low-values to the key and then doing a START < or START > respectively.
Thanks Very much for your help.
The DIALECT"RM" directive only provides compatibility with a subset of RM COBOL. There are constructs such as FIRST/LAST in the START statement that are not supported. There is a list of some of the items that are not supported here: The FIRST/LAST do not appear on the list so the list is incomplete.
You can get the same functionality as START FIRST/:LAST by move high-values or low-values to the key and then doing a START < or START > respectively.
Hi Chris
I tried with your suggestion but getting the errors related to the reserved word and duplicate data field issue.
The same program i compiled in RM and is working fine
please advise how to proceed further

Hi Chris
I tried with your suggestion but getting the errors related to the reserved word and duplicate data field issue.
The same program i compiled in RM and is working fine
please advise how to proceed further

It looks like you have more than one data item in your program with the name TPM-KEY so you will have to use qualification. Try:
move low-values to TPM-KEY of TPM00MAS
The START statement needs to have a condition in it.
START TPM00MAS KEY > TPM-KEY
It looks like you have more than one data item in your program with the name TPM-KEY so you will have to use qualification. Try:
move low-values to TPM-KEY of TPM00MAS
The START statement needs to have a condition in it.
START TPM00MAS KEY > TPM-KEY
Thanks A Lot . It worked .