 |
Software > Software Development >
|
 |
 |
 |
Action required for users of COBOL on z/OS
|
| | | Abstract | The COBOL SEARCH ALL statement behaves differently after you apply the PTFs for Language Environment(LE) APAR PQ95214 or install z/OS 1.7 or later.
PTFs for Language Environment and Enterprise COBOL for z/OS Version 3.4 are now available that:
1. Restore compatible behavior for SEARCH ALL statements in programs compiled with Enterprise COBOL for z/OS 3.3 or earlier releases of IBM COBOL.
2. Limit the new behavior for SEARCH ALL to programs compiled with Enterprise COBOL for z/OS Version 3.4 or later.
New diagnostics and documentation updates are provided to aid in the migration to Enterprise COBOL for z/OS Version 3.4. ACTION IS REQUIRED IF ANY OF THE FOLLOWING APPLIES TO YOU: - If you have COBOL programs containing SEARCH ALL statements and have applied either PTF UK04867, UK04868, or UK04869 for Language Environment APAR PQ95214, perform the actions outlined in item 1 below.
- If you have COBOL programs containing SEARCH ALL statements and you are running Language Environment for z/OS 1.7, perform the actions outlined in item 1 below.
- If you are using the Enterprise COBOL for z/OS Version 3.4 compiler, perform the actions outlined in item 1 and item 2 below.
- If you are planning on migrating to the Enterprise COBOL for z/OS Version 3.4 compiler, perform the actions outlined in item 3 below.
| | | | | | Content | - If you have COBOL programs containing SEARCH ALL statements AND have installed PTF UK04867, UK04868, or UK04869 for Language Environment APAR PQ95214
OR
If you have COBOL programs containing SEARCH ALL statements AND you are running Language Environment for z/OS 1.7:
You must apply the Language Environment PTF that applies to the version of z/OS that you are using as specified below: * Note: There is no fix for APAR PK15432 for LE zOS Version 1.8 because the related code is included in the LE zOS Version 1.8 Base.
Applying the appropriate PTF restores the previous behavior of the SEARCH ALL statement for existing applications that were compiled with earlier releases of COBOL prior to Enterprise COBOL for z/OS Version 3.4 and provides the modified behavior only for programs compiled with Version 3.4 or later. Top of page - If you are running Enterprise COBOL for z/OS Version 3.4, apply the appropriate Language Environment PTF specified in item 1, and also apply the following PTF for Enterprise COBOL for z/OS Version 3.4:
NOTE: It is recommended that COBOL programs be recompiled if they contain SEARCH ALL statements and were originally compiled with Enterprise COBOL for z/OS Version 3.4 prior to installing the PTF for APAR PK16765. Without a recompile, error checking and generation of diagnostics for potential SEARCH ALL migration considerations are not available.
To fully correct SEARCH ALL behavior, you must apply the applicable Language Environment PTF as specified in item 1, and you must recompile your applications with an Enterprise COBOL for z/OS Version 3.4 compiler that has been updated with the PTF for APAR PK16765. Top of page
- If you are planning to migrate to the Enterprise COBOL for z/OS Version 3.4 compiler:
- Refer to Chapter 19 in the updated Enterprise COBOL for z/OS Migration Guide GC27-1409-04 at http://www.ibm.com/software/awdtools/cobol/zos/library/ for complete information about the actions required for migration.
- Install Enterprise COBOL for z/OS Version 3.4 in a data set separate from your production compiler.
- Install the PTF for APAR PK16765 as specified in item 2.
- Use the new diagnostic capabilities of Enterprise COBOL for z/OS Version 3.4 that are described in the Enterprise COBOL for z/OS Version 3.4 Migration Guide to identify and move your existing COBOL programs that are impacted by the updated behavior of SEARCH ALL in Version 3.4.
Top of page
| | | | | | | | | Cross Reference information | | Segment | Product | Component | Platform | Version | Edition | | Software Development | COBOL for OS/390 & VM | | OS/390, z/OS | 1.2, 2.1, 2.2, 1.1.1, 2.1.2, 2.1.1 | |
| | |
 |
| IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml. |
 |
 |
 |
| Please take a moment to complete this form to help us better serve you. |
 |
 |
 |
|
|
|
 |
 |
| Product categories: |
 |
| | Software |  |
| | Software Development |  |
| | Traditional Progamming Language & Compilers |  |
| | COBOL for OS/390 & VM |  |
 |
| Operating system(s): |
| |
z/OS
|
 |
| Software version: |
| |
3.3, 3.4
|
 |
| Reference #: |
| |
1234541
|
 |
| IBM Group: |
| | Software Group |
 |
| Modified date: |
| | 2007-05-07 |
 |
|