Gen COBOL 6.x compile step fails using option TEST(SOURCE)
search cancel

Gen COBOL 6.x compile step fails using option TEST(SOURCE)

book

Article ID: 247991

calendar_today

Updated On:

Products

Gen - Host Encyclopedia

Issue/Introduction

Background Installation or Foreground installation of Gen 8.6 model will fail when it is compiled with IBM Enterprise COBOL for z/OS Version 6.3.0 P220314 with the compiler option TEST(SOURCE)

Compilation errors will be seen in the SYSPRINT output of the Background installation job.  Here is an example:

1PP 5655-EC6 IBM Enterprise COBOL for z/OS  6.3.0 P220314       CBLNAM01  Date xx/xx/xxxx  Time xx:xx:xx   Page    xx                
        Message code   Message text                                                                                                  
                                                                                                                                     
         IGYDS1000-E   A "IDENTIFICATION DIVISION" header was not found in this program.  It was assumed present.                    
                                                                                                                                     
         IGYDS1003-E   A "PROGRAM-ID" paragraph was not found.  Program-name "CBLNAM01" was assumed.                                
                                                                                                                                     
         IGYDS0139-W   Diagnostic messages were issued during processing of compiler options.  These messages are located at the beginning of the listing.                                                                                                                                                                                                                         
         IGYSC1428-W   The "TEST(DWARF)" option was specified but the compiler return code was 8 or greater.  The "NOTEST" option will be in effect.                                                                                                                                                                                                                                 
         IGYSC1082-E   A period was required.  A period was assumed before "END OF PROGRAM".    

Environment

Release : 8.6

Resolution

Apply the fix from IBM APAR PH48095. Please refer to the following link for more details:

PH48095: COMPILER IGNORES THE ALTERNATE DDNAME LIST AND ONLY READS SOURCE FROM THE SYSIN DD WHEN THE TEST COMPILER OPTION IS USED

 

Additional Information

According to IBM, the problem was introduced with the application of the following PTFs:  

V6.2 December, 2021 PTF UI78471
V6.3 November, 2021 PTF UI78163