Re: Setting A Hex Value in COBOL
- From: CG <Carl.Gehr.ButNoSPAMStuff@xxxxxxxxx>
- Date: Wed, 30 May 2007 19:39:44 -0400
William M. Klein wrote:
The bottom-line answer to your original question is that
Yes, the VS COBOL II compiler (what I think you mean by "MVS COBOL II) compiler supports hex-literals.
HOWEVER, only if you are using the NOCMPR2 compiler option. It looks like you have an "old" OS/VS COBOL program that may have been recompiled with VS COBOL II. You will need to check what compiler options were used (in 1994) and which version of the compiler was used.
FYI,
The information is online. For example, check out:
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/igyl1101/1.1.1.11
The real question in this case is not what compiler was used to compile it in 1994 [although that could imply some other changes to the source], but what compiler do you have now that will be used to compile the changed program? And, please be very specific and accurate about the name, version/release of the compiler. Bill's referenced document is the COBOL II manual.
Carl
.
- Follow-Ups:
- References:
- Setting A Hex Value in COBOL
- From: gary
- Re: Setting A Hex Value in COBOL
- From:
- Re: Setting A Hex Value in COBOL
- From: gary
- Re: Setting A Hex Value in COBOL
- From: William M. Klein
- Setting A Hex Value in COBOL
- Prev by Date: Re: Setting A Hex Value in COBOL
- Next by Date: Re: Basic structure COBOL
- Previous by thread: Re: Setting A Hex Value in COBOL
- Next by thread: Re: Setting A Hex Value in COBOL
- Index(es):
Relevant Pages
|