This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

compile on runtime 12.14 objetc version 11

Hello, I have a question I have an ERP that must support client with runtime in the RM / COBOL version 8 object level 11 but we want to compile with version 12.14 we are reviewing the manual and it tells us that to generate the objects z = 11 but at the moment compiling the LST is telling us that the version of the object is 9, you can guide me with this issue

RM/COBOL (Version 12.14) for 32-Bit Windows 06/30/2021 18:07:32 Page 3
Source file: UCVE1081.FUE Options: E L Q R Z=11

Program Summary Statistics UCVE1081


Read only size: 181508 (X"0002C504") bytes
Read/write size: 134802 (X"00020E92") bytes
Overlayable segment size: 0 (X"00000000") bytes

Total generated object size: 316310 (X"0004D396") bytes

Maximum EXTERNAL size: 166 (X"000000A6") bytes
Total EXTERNAL size: 3074 (X"00000C02") bytes

Source program used 8253 (1%) of 840000 available identifiers (T1C limit).
Source program used 36902 (0%) of 8400000 available user-defined word space (T2B limit).

Maximum compilation memory used was 924K bytes (0 presses and 0 increases required).

Source indicators (columns 17-19 of source listing):
+n+ Source was copied from copy file at copy nesting level n (level 0 indicator is suppressed).
>n< Source was inserted by REPLACE, REPLACING or DATE-COMPILED.
[n] Source is a COPY statement, which is logically replaced by copied library text.

Errors: 0, Warnings: 0, Lines: 42959 for program UCVE1081.

Object version level: 9

Options in effect:
C - C=2 Suppress replaced lines in listing (default)
E - Errors only listing
L - Listing file "S:\FUENTES\UNO.85E\UCVE1081.LST"
Q - Quick execution (suppress debugging line number code generation)
R - Resequence (listing only, as editing aid)
Z - Z object version restriction = 11

Tags:

  • 0

    The Z=11 option specifies the highest object version level that is allowed for the program and ensures compatibility with that version. In your case, you can use features supported by every object version up to and including object version 11, which is RM/COBOL version 8. It does not actually set the object version level to the specifie value -- that is determined by the features your COBOL program uses.  In your case, this COBOL program only uses features that were available in object version level 9 (RM/COBOL 7.5), so that information is what is reported in the listing. 

    If your program were to use features in object version level 12-15 (the current level), and you specify Z=11, you would get an error.

    The main reason to specify the object version level at all is if you might be distributing your program to your customers who have older runtime systems than you are using to develop, and it sounds like this is the case.

    If you run the Z=11 program with the 12.14 runtime, it will run exactly the same as under the v8 runtime.

    Check out Appendix H in the RM/COBOL User's guide -- it will tell you exactly what features were added with each object version level.

  • 0 in reply to 

    Hello, thank you very much you are absolutely right I implemented some general routines in all the programs with runtime 8 syntax and now it shows me the object in the correct version and sorry for the delay in responding