Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using the MIGR compile option of the OS/VS COBOL compiler

Status
Not open for further replies.

cossbh

Programmer
Apr 12, 2001
3
US
I'm investigating a conversion of OS/VS Cobol code to IBM COBOL. The IBM COBOL Migration Guide mentions using the MIGR compiler option, and states that a complete description of the MIGR-flagged items is included in Appendix H of IBM VS COBOL for OS/VS. Does anyone have access to this guide or know where there is a copy of this guide online?

Thanks

Sonya Fox
 
Hi Sonya,

To what version of IBM COBOL are you converting? IBM has announced the withdrawal of support for COBOLII effective March 31, 2001, so I'd guess it's some flavor of their LE390/COBOL. Do you have a name & version number? If you do I can point you in the right direction.

Jack
 
We are looking to convert to from OS/VS COBOL to COBOL OS/390 V2R2. We've already assessed using CCCA, as well as COBOL Report Writer Precompiler (if needed).

We are aware of compiling using the IBM COBOL compiler with options CMPR2, FLAGMIG and NOCOMPILE, but what can't be tracked down is documentation showing exactly what the MIGR compiler option on the OS/VS COBOL compiler will give us.

Any help is definitely appreciated, as is any words of wisdom or warning with regards to a dialect conversion.

Sonya
 
Hi,

IBM has all the manuals on-line. Look at the book-manager. OS/VS compilers not. In the book cobol/370 for vs cobol and cobol II programmers by Harvey Bookman is good to help you with this job.

If you have to convert a lot and don't want to do it by hand, look at The do all the conversions.

There is a link to the IBM manuals at
Regards,

Crox
 
I have been searching in vain in all IBM Bookmanagers and Redbook sites I could find to the IBM VS COBOL for OS/VS. It doesn't look like any site carries a copy of this manual, and I'm assumming this is because IBM is not supporting the OS/VS COBOL compiler. Thats why I posted this message, in case anyone who reads it knows where I can find a copy.

Sonya
 
Hi Sonya,

As I understand it, MIGR is an option available to the VS/COBOL compiler and flags any functions used by the compiled program that have changed or are no longer used by the new VS/COBOL compiler.

I would guess this is irrelevant in your case, since these functions and others would be flagged as errors by the OS390 compiler and the code would be changed by you or your personnel.

The more insidious problem you face is those functions that are still supported by OS390 but produce different results. Luckily these are listed in the OS390 compiler documentation.

Hope this helps, Jack.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top