Highlighted
Absent Member.
Absent Member.
547 views

Are Microfocus Cobol 2.2 source programs for DOS COBOL 85 compliant?

Hi,

 

Are Microfocus Cobol 2.2 source programs for DOS COBOL 85 compliant?

 

Regards

Suresj

Tags (1)
0 Likes
3 Replies
Highlighted
Micro Focus Expert
Micro Focus Expert

RE: Are Microfocus Cobol 2.2 source programs for DOS COBOL 85 compliant?

Hi Suresj,

I don't really understand the question here.
Are they compliant with what exactly?

What do you mean by DOS COBOL 85?

If you are looking for compliance with a particular COBOL vender or platform then you should compile with the DIALECT directive for that platform. This will cause it to flag non-compliant language constructs.

Thanks
0 Likes
Highlighted
Absent Member.
Absent Member.

RE: Are Microfocus Cobol 2.2 source programs for DOS COBOL 85 compliant?

Thanks Chris. I meant to say, Microfocus Cobol 2.2 for (DOS version). I would like to know if COBOL programs written for Microfocus COBOL 2.2 for DOS Version, would be COBOL 85 standards compliant.

I am not at all COBOL developer, but i am supporting an internal query.
0 Likes
Highlighted
Micro Focus Expert
Micro Focus Expert

RE: Are Microfocus Cobol 2.2 source programs for DOS COBOL 85 compliant?

Programs written with Visual COBOL or any Micro Focus product can be compliant to the ANSI-85 COBOL standard by using the compiler directive: DIALECT"ANS85" .
This would ensure that language features outside of this dialect would be flagged as errors or warnings.

The default setting is DIALECT"MF" which allows for all Micro Focus COBOL language extensions to be used.
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.