View previous topic :: View next topic
|
Author |
Message |
Ronald Boon
New User
Joined: 16 Mar 2011 Posts: 1 Location: netherlands
|
|
|
|
We want to migrate to the current version of PLI (installed base + 11 million loc) . The old version is running in a compatibility mode already. We would like to switch to ""full function mode"" at the same time. Is there any experience to be able to anticipate on certain consequences? |
|
Back to top |
|
|
prino
Senior Member
Joined: 07 Feb 2009 Posts: 1306 Location: Vilnius, Lithuania
|
|
|
|
Enterprise PL/I is a lot stricter with regards to iffy code that worked in older versions, it's not impossible that you get rather a lot more warnings.
One of the better ways to handle migration is to change your compile JCL to use both compilers and copy the 4.1 listing the default-named listing if 4.1 throws up anything of severity >= 8.
Once 4.1 is standard, start tightening the screws using things like:
Code: |
rules(noevendec nogoto(strict));
rules(noglobaldo nolaxbif nolaxctl nolaxdcl nolaxdef);
rules(nolaxentry nolaxif nolaxinout nolaxlink);
rules(nolaxmargins(xnumeric) nolaxpunc laxqual laxscale);
rules(nolaxsemi nolaxstg nolaxstrz nomulticlose nopadding);
rules(noprocendonly nostop nounref); |
and
Code: |
maxgen(2048);
maxnest(block(4) do(4) if(4)); |
and
Code: |
deprecate(builtin(date)) |
|
|
Back to top |
|
|
|