IBM Support

Why is my compilation failing? I didn't change the code or the SCLM language definition. It used to compile without errors.

Question & Answer


Question

I have a COBOL program which I build in SCLM. Now, when I compile it, there is an error on every line of code. Some of the messages are:

 IGYDS0002-E   A character other than "*", "D", "/" or "-" was found in column 7.
                                                                                 
               Same message on line:      2      3      4      5      7      8   
                                                                                 
 IGYDS0027-S   Non-COBOL character(s) were found starting with "&" in column 8.  
                                                                                 
 IGYDS0001-W   A blank was missing before character "." in column 23.  

Answer

Check to see if the member is packed. Edit the member, and type PROFILE on the command line. Look for PACK ON in the profile lines. If pack is on, type PACK OFF, save the member and rebuild it. Packed data is not supported for COBOL compiles.

This can happen both within and outside of SCLM. It can also happen with other languages, such as assembler. In assembler, you can get messages like this:

 ** ASMA003E Undeclared variable symbol; default=0, null, or type=U -
 ** ASMA141E Bad character in operation code - F....dcsectà.esr      

  


[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSBLLD","label":"ISPF for z\/OS"},"Platform":[{"code":"PF035","label":"z\/OS"}],"Component":"","Version":"","Line of Business":{"code":"","label":""}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSCVRUA","label":"SCLM for z\/OS"},"Platform":[{"code":"PF035","label":"z\/OS"}],"Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
26 March 2019

UID

dwa1498660