Compiling Element with Enterprise Cobol 6 get this message: IGYOS4003-E Invalid option "RES" was found and discarded.
search cancel

Compiling Element with Enterprise Cobol 6 get this message: IGYOS4003-E Invalid option "RES" was found and discarded.

book

Article ID: 246628

calendar_today

Updated On:

Products

Endevor

Issue/Introduction

We just upgraded to Enterprise Cobol 6. We tested this by generating an element and we got this error:

IGYOS4003-E   Invalid option "RES" was found and discarded.         

Environment

Release : all

Component :

Cause

The compile options for this program have the RES option. As part of Enterprise COBOL 6. IBM removed some compile options. The option RES and NORES are a few of these removed options. 

Please review the IBM documentation on this for a full list:

https://www.ibm.com/docs/en/cobol-zos/6.2?topic=guide-enterprise-cobol-compiler-options  

Resolution

Remove the invalid compile option from your COBOL 6 processor.  

For example:

//COMP  EXEC PGM=IGYCRCTL,                                      
//       PARM=('F(W,E),APOST,&DATA,LIB,MAP,TRUNC(BIN),VBREF',      
//          'LIST,NOSEQ,BUF(24K),&DYNAM,&OPTB,&NOFDU,RENT,RES,X')

Change to:

//COMP  EXEC PGM=IGYCRCTL,                                      
//       PARM=('F(W,E),APOST,&DATA,LIB,MAP,TRUNC(BIN),VBREF',      
//          'LIST,NOSEQ,BUF(24K),&DYNAM,&OPTB,&NOFDU,RENT,X')