AnsweredAssumed Answered

What wrong in COBOL 4.2 compiler options for IDMS-DC program?

Question asked by TimoTMaenpaa on Aug 10, 2016
Latest reply on Aug 11, 2016 by TimoTMaenpaa

Hi,

I have problem when runnit DC-Cobol program that have compiled and linked with cobol 4.2.

IDMS version is 18.0.

I get error COBOL-BAD COMPILER/OPTION/ when I try to run under DC.

 

Here data from compile and link steps

Compiler:

1PP 5655-S71 IBM Enterprise COBOL for z/OS  4.2.0                         Date 08/10/2016  Time 12:11:16   Page     1

0Invocation parameters:

  C,X,LIB,OPT,MAP,APOST,LIST,RENT,DATA(31),FLAG(I,E),NOSEQ,LIB,LC(84),TRUNC(BIN)

 

         IGYOS4020-W   The "OFFSET" option was discarded due to option conflict resolution.  The "LIST" option from compiler

                       invocation parameter took precedence.

 

0Options in effect:

  NOADATA

    ADV

    APOST

    ARITH(COMPAT)

  NOAWO

  NOBLOCK0

    BUFSIZE(4096)

  NOCICS

    CODEPAGE(1140)

    COMPILE

  NOCURRENCY

    DATA(31)

  NODATEPROC

  NODBCS

  NODECK

  NODIAGTRUNC

  NODLL

  NODUMP

    DYNAM

  NOEXIT

  NOEXPORTALL

    FASTSRT

    FLAG(I,E)

  NOFLAGMIG4

  NOFLAGSTD

    INTDATE(LILIAN)

    LANGUAGE(EN)

    LIB

    LINECOUNT(84)

    LIST

    MAP

  NOMDECK

  NONAME

    NSYMBOL(DBCS)

  NONUMBER

    NUMPROC(NOPFD)

    OBJECT

  NOOFFSET

    OPTIMIZE(STD)

    OUTDD(SYSOUT)

    PGMNAME(COMPAT)

    RENT

    RMODE(AUTO)

  NOSEQUENCE

    SIZE(MAX)

    SOURCE

    SPACE(1)

  NOSQL

    SQLCCSID

  NOSSRANGE

  NOTERM

  NOTEST

  NOTHREAD

    TRUNC(BIN)

  NOVBREF

  NOWORD

    XMLPARSE(XMLSS)

    XREF(FULL)

    YEARWINDOW(1900)

    ZWB

 

 

Link:

1z/OS V2 R1 BINDER     12:11:41 WEDNESDAY AUGUST 10, 2016

BATCH EMULATOR  JOB(TXMCOBDC) STEP(LKED    ) PGM= IEWL

IEW2278I B352 INVOCATION PARAMETERS - XREF,LET,NCAL,LIST,MAP,RENT

IEW2322I 1220  1     MODE RMODE(ANY),AMODE(31)

IEW2454W 9203 SYMBOL IGZCBSO UNRESOLVED.  NO AUTOCALL (NCAL) SPECIFIED.

IEW2454W 9203 SYMBOL CEESTART UNRESOLVED.  NO AUTOCALL (NCAL) SPECIFIED.

IEW2454W 9203 SYMBOL CEEBETBL UNRESOLVED.  NO AUTOCALL (NCAL) SPECIFIED.

IEW2454W 9203 SYMBOL CEELOCT UNRESOLVED.  NO AUTOCALL (NCAL) SPECIFIED.

IEW2454W 9203 SYMBOL CEESG005 UNRESOLVED.  NO AUTOCALL (NCAL) SPECIFIED.

 

1                         *** M O D U L E  M A P ***

 

---------------

CLASS  B_TEXT            LENGTH =     7DAC  ATTRIBUTES = CAT,   LOAD, RMODE=ANY

                          OFFSET =        0 IN SEGMENT 001     ALIGN = DBLWORD

---------------

 

  SECTION    CLASS                                      ------- SOURCE --------

   OFFSET   OFFSET  NAME                TYPE    LENGTH  DDNAME   SEQ  MEMBER

 

                 0  O108101Z           CSECT      7DAC  SYSLIN    01  **NULL**

1          ***  DATA SET SUMMARY  ***

 

DDNAME    CONCAT   FILE IDENTIFICATION

 

SYSLIN      01     SYS16223.T121116.RA000.TXMCOBDC.OBJSET.H03

1          *** SYMBOL REFERENCES NOT ASSOCIATED WITH ANY ADCON ***

 

TYPE   SCOPE   NAME

 

  ER      L     CEESG005

 

           *** E N D  O F  M O D U L E  M A P ***

 

 

1                                       C R O S S - R E F E R E N C E  T A B L E

                                        _________________________________________

 

TEXT CLASS = B_TEXT

 

---------------  R E F E R E N C E  --------------------------  T A R G E T  -------------------------------------------

   CLASS                            ELEMENT       !                                            ELEMENT                  !

   OFFSET SECT/PART(ABBREV)          OFFSET  TYPE ! SYMBOL(ABBREV)   SECTION (ABBREV)           OFFSET CLASS NAME       !

                                                  !                                                                     !

       50 O108101Z                       50 V-CON ! IGZCBSO          ÅUNRESOLVED                                        !

       BA O108101Z                       BA V-CON ! CEESTART         ÅUNRESOLVED                                        !

       DA O108101Z                       DA V-CON ! CEESTART         ÅUNRESOLVED                                        !

       DE O108101Z                       DE V-CON ! CEEBETBL         ÅUNRESOLVED                                        !

      134 O108101Z                      134 V-CON ! CEELOCT          ÅUNRESOLVED                                        !

                                        *** E N D  O F  C R O S S  R E F E R E N C E ***

 

 

 

                                 *** O P E R A T I O N   S U M M A R Y   R E P O R T ***

 

1PROCESSING OPTIONS:

 

    ALIASES             NO

    ALIGN2              NO

    AMODE                31

    CALL                NO

    CASE                UPPER

    COMPAT              UNSPECIFIED

    COMPRESS            AUTO

    DCBS                NO

    DYNAM               NO

    EXTATTR             UNSPECIFIED

    EXITS:              NONE

    FILL                NONE

    GID                 UNSPECIFIED

    HOBSET              NO

    INFO                NO

    LET                 08

    LINECT              060

    LIST                SUMMARY

    LISTPRIV            NO

    LONGPARM            NO

    MAP                 YES

    MAXBLK              032760

    MODMAP              NO

    MSGLEVEL            00

    OVLY                NO

    PRINT               YES

    RES                 NO

    REUSABILITY         REENTRANT

    RMODE               ANY,INITIAL

    SIGN                NO

    STORENX             NOREPLACE

    STRIPCL             NO

    STRIPSEC            NO

    SYMTRACE

    TERM                NO

    TRAP                ON

    UID                 UNSPECIFIED

    UPCASE              NO

    WKSPACE             000000K,000000K

    XCAL                NO

    XREF                YES

    ***END OF OPTIONS***

 

 

 

 

1SAVE OPERATION SUMMARY:

 

    MEMBER NAME         O108101Z

    LOAD LIBRARY        TES10.OBJLIB.LOAD

    PROGRAM TYPE        LOAD MODULE

    VOLUME SERIAL       LSBSB4

    MAX BLOCK           23476

    DISPOSITION         REPLACED

    TIME OF SAVE        12.11.18  AUG 10, 2016

 

 

1SAVE MODULE ATTRIBUTES:

 

    AC                  000

    AMODE                31

    COMPRESSION         NONE

    DC                  NO

    EDITABLE            YES

    EXCEEDS 16MB        NO

    EXECUTABLE          YES

    LONGPARM            NO

    MIGRATABLE          YES

    OL                  NO

    OVLY                NO

    PACK,PRIME          NO,NO

    PAGE ALIGN          NO

    REFR                NO

    RENT                YES

    REUS                YES

    RMODE               ANY

    SCTR                NO

    SIGN                NO

    SSI

    SYM GENERATED       NO

    TEST                NO

    XPLINK              NO

    MODULE SIZE (HEX)   00007DB0

 

 

1 ENTRY POINT AND ALIAS SUMMARY:

 

  NAME:            ENTRY TYPE AMODE C_OFFSET CLASS NAME        STATUS

 

  O108101Z          MAIN_EP      31 00000000 B_TEXT

 

                          *** E N D   O F   O P E R A T I O N   S U M M A R Y   R E P O R T ***

 

 

 

 

1z/OS V2 R1 BINDER     12:11:41 WEDNESDAY AUGUST 10, 2016

BATCH EMULATOR  JOB(TXMCOBDC) STEP(LKED    ) PGM= IEWL

IEW2008I 0F03 PROCESSING COMPLETED.  RETURN CODE =  4.

 

 

 

1----------------------

MESSAGE SUMMARY REPORT

----------------------

  TERMINAL MESSAGES      (SEVERITY = 16)

  NONE

 

  SEVERE MESSAGES        (SEVERITY = 12)

  NONE

 

  ERROR MESSAGES         (SEVERITY = 08)

  NONE

 

  WARNING MESSAGES       (SEVERITY = 04)

  2454

 

  INFORMATIONAL MESSAGES (SEVERITY = 00)

  2008  2278  2322

 

 

  **** END OF MESSAGE SUMMARY REPORT ****

 

 

 

 

Link2:

 

 

1z/OS V2 R1 BINDER     12:11:41 WEDNESDAY AUGUST 10, 2016

BATCH EMULATOR  JOB(TXMCOBDC) STEP(LKED2   ) PGM= IEWL

IEW2278I B352 INVOCATION PARAMETERS - XREF,LET,LIST,MAP,RENT,XCAL

IEW2322I 1220  1     MODE RMODE(ANY),AMODE(31)

IEW2322I 1220  2     INCLUDE SYSLIB(O108101Z)

IEW2322I 1220  3     INCLUDE SYSLIB(MQSEHLID)

IEW2650I 5102 MODULE ENTRY NOT PROVIDED.  ENTRY DEFAULTS TO SECTION O108101Z.

IEW2609W 5104 SECTION MQSEHLIA USABILITY ATTRIBUTE OF NON-REUSABLE CONFLICTS WITH REQUESTED USABILITY OF REENTRANT.

IEW2609W 5104 SECTION MQSEHLI USABILITY ATTRIBUTE OF NON-REUSABLE CONFLICTS WITH REQUESTED USABILITY OF REENTRANT.

IEW2609W 5104 SECTION MQSEHLIR USABILITY ATTRIBUTE OF NON-REUSABLE CONFLICTS WITH REQUESTED USABILITY OF REENTRANT.

IEW2609W 5104 SECTION IDCSACON USABILITY ATTRIBUTE OF NON-REUSABLE CONFLICTS WITH REQUESTED USABILITY OF REENTRANT.

 

1                         *** M O D U L E  M A P ***

 

---------------

CLASS  B_TEXT            LENGTH =     8DB2  ATTRIBUTES = CAT,   LOAD, RMODE=ANY

                          OFFSET =        0 IN SEGMENT 001     ALIGN = DBLWORD

---------------

 

  SECTION    CLASS                                      ------- SOURCE --------

   OFFSET   OFFSET  NAME                TYPE    LENGTH  DDNAME   SEQ  MEMBER

 

                 0  O108101Z           CSECT      7DAC  SYSLIB    01  O108101Z

 

              7DB0  MQSEHLIA           CSECT        30  SYSLIB    08  MQSEHLID

 

              7DE0  MQSEHLI            CSECT        D8  SYSLIB    08  MQSEHLID

        0     7DE0     MQBACK             LABEL

       10     7DF0     MQCLOSE            LABEL

       20     7E00     MQCMIT             LABEL

       30     7E10     MQCONN             LABEL

       40     7E20     MQDISC             LABEL

       50     7E30     MQGET              LABEL

       60     7E40     MQINQ              LABEL

       70     7E50     MQOPEN             LABEL

       80     7E60     MQPUT              LABEL

       90     7E70     MQPUT1             LABEL

       A0     7E80     MQSET              LABEL

       B0     7E90     MQCONNEX           LABEL

       C0     7EA0     MQDISCEX           LABEL

 

              7EB8  MQSEHLIR           CSECT       2A8  SYSLIB    08  MQSEHLID

 

              8160  IDCSACON           CSECT        10  SYSLIB    08  MQSEHLID

 

              8170  CEESG005        *  CSECT        18  SYSLIB    07  CEESG005

 

              8188  CEELOCT         *  CSECT        14  SYSLIB    07  CEELOCT

 

              81A0  IGZCBSO         *  CSECT       580  SYSLIB    07  IGZCBSO

 

              8720  CEEBETBL        *  CSECT        28  SYSLIB    07  CEEBETBL

 

              8748  CEESTART        *  CSECT        B0  SYSLIB    07  CEESTART

 

              87F8  CEEBPUBT        *  CSECT        70  SYSLIB    07  CEEBPUBT

 

              8868  CEEBTRM         *  CSECT        A4  SYSLIB    07  CEEBTRM

 

              8910  CEEBLLST        *  CSECT        5C  SYSLIB    07  CEEBLLST

       10     8920     CEELLIST           LABEL

 

              8970  CEEBINT         *  CSECT         8  SYSLIB    07  CEEBINT

 

              8978  CEEARLU         *  CSECT        B8  SYSLIB    07  CEEARLU

 

              8A30  CEEBPIRA        *  CSECT       2A0  SYSLIB    07  CEEINT

        0     8A30     CEEINT             LABEL

        0     8A30     CEEBPIRB           LABEL

        0     8A30     CEEBPIRC           LABEL

 

              8CD0  CEECPYRT        *  CSECT        E2  SYSLIB    07  CEEINT

1          ***  DATA SET SUMMARY  ***

 

DDNAME    CONCAT   FILE IDENTIFICATION

 

SYSLIB      01     TES10.OBJLIB.LOAD

SYSLIB      07     CEE.SCEELKED

SYSLIB      08     CAIDMS.VEGASOFT.LOADLIB

1          *** SYMBOL REFERENCES NOT ASSOCIATED WITH ANY ADCON ***

 

TYPE   SCOPE   NAME

 

 

           *** E N D  O F  M O D U L E  M A P ***

 

 

1                                       C R O S S - R E F E R E N C E  T A B L E

                                        _________________________________________

 

TEXT CLASS = B_TEXT

 

---------------  R E F E R E N C E  --------------------------  T A R G E T  -------------------------------------------

   CLASS                            ELEMENT       !                                            ELEMENT                  !

   OFFSET SECT/PART(ABBREV)          OFFSET  TYPE ! SYMBOL(ABBREV)   SECTION (ABBREV)           OFFSET CLASS NAME       !

                                                  !                                                                     !

       50 O108101Z                       50 V-CON ! IGZCBSO          IGZCBSO                         0 B_TEXT           !

       BA O108101Z                       BA V-CON ! CEESTART         CEESTART                        0 B_TEXT           !

       DA O108101Z                       DA V-CON ! CEESTART         CEESTART                        0 B_TEXT           !

       DE O108101Z                       DE V-CON ! CEEBETBL         CEEBETBL                        0 B_TEXT           !

      134 O108101Z                      134 V-CON ! CEELOCT          CEELOCT                         0 B_TEXT           !

     7DD8 MQSEHLIA                       28 V-CON ! MQSEHLIR         MQSEHLIR                        0 B_TEXT           !

     7DDC MQSEHLIA                       2C V-CON ! IDCSACON         IDCSACON                        0 B_TEXT           !

     7EB0 MQSEHLI                        D0 V-CON ! MQSEHLIR         MQSEHLIR                        0 B_TEXT           !

     8110 MQSEHLIR                      258 V-CON ! IDCSACON         IDCSACON                        0 B_TEXT           !

     8114 MQSEHLIR                      25C V-CON ! MQSEHLIX         ÅUNRESOLVED(W)                                     !

     8698 IGZCBSO                       4F8 V-CON ! IGZEOPT          ÅUNRESOLVED(W)                                     !

     869C IGZCBSO                       4FC V-CON ! IGZETUN          ÅUNRESOLVED(W)                                     !

     86A0 IGZCBSO                       500 V-CON ! CEEINT           CEEBPIRA                        0 B_TEXT           !

     86A4 IGZCBSO                       504 V-CON ! CEEARLU          CEEARLU                         0 B_TEXT           !

     8724 CEEBETBL                        4 V-CON ! CEEBXITA         ÅUNRESOLVED(W)                                     !

     8728 CEEBETBL                        8 V-CON ! CEEBINT          CEEBINT                         0 B_TEXT           !

     872C CEEBETBL                        C V-CON ! CEEBLLST         CEEBLLST                        0 B_TEXT           !

     8730 CEEBETBL                       10 V-CON ! CEEUOPT          ÅUNRESOLVED(W)                                     !

     8734 CEEBETBL                       14 V-CON ! CEEBTRM          CEEBTRM                         0 B_TEXT           !

     873C CEEBETBL                       1C V-CON ! CEEBPUBT         CEEBPUBT                        0 B_TEXT           !

     8740 CEEBETBL                       20 V-CON ! IEWBLIT          ÅUNRESOLVED(W)                                     !

     87A4 CEESTART                       5C A-CON ! CEEMAIN          ÅUNRESOLVED(W)                                     !

     87B4 CEESTART                       6C C-LEN !                  ÅNON-RELOCATABLE                  B_PRV            !

     87E0 CEESTART                       98 A-CON ! CEEFMAIN         ÅUNRESOLVED(W)                                     !

     87EC CEESTART                       A4 A-CON ! CEEBETBL         CEEBETBL                        0 B_TEXT           !

     87F0 CEESTART                       A8 A-CON ! CEEROOTA         ÅUNRESOLVED(W)                                     !

     87F4 CEESTART                       AC A-CON ! CEEROOTD         ÅUNRESOLVED(W)                                     !

     88D4 CEEBTRM                        6C A-CON ! CEEBPUBT         CEEBPUBT                        0 B_TEXT           !

     8920 CEEBLLST                       10 A-CON ! CEESG000         ÅUNRESOLVED(W)                                     !

     8924 CEEBLLST                       14 A-CON ! CEESG001         ÅUNRESOLVED(W)                                     !

     8928 CEEBLLST                       18 A-CON ! CEESG002         ÅUNRESOLVED(W)                                     !

     892C CEEBLLST                       1C A-CON ! CEESG003         ÅUNRESOLVED(W)                                     !

     8930 CEEBLLST                       20 A-CON ! CEESG004         ÅUNRESOLVED(W)                                     !

     8934 CEEBLLST                       24 A-CON ! CEESG005         CEESG005                        0 B_TEXT           !

     8938 CEEBLLST                       28 A-CON ! CEESG006         ÅUNRESOLVED(W)                                     !

     893C CEEBLLST                       2C A-CON ! CEESG007         ÅUNRESOLVED(W)                                     !

     8940 CEEBLLST                       30 A-CON ! CEESG008         ÅUNRESOLVED(W)                                     !

     8944 CEEBLLST                       34 A-CON ! CEESG009         ÅUNRESOLVED(W)                                     !

     8948 CEEBLLST                       38 A-CON ! CEESG010         ÅUNRESOLVED(W)                                     !

     894C CEEBLLST                       3C A-CON ! CEESG011         ÅUNRESOLVED(W)                                     !

     8950 CEEBLLST                       40 A-CON ! CEESG012         ÅUNRESOLVED(W)                                     !

     8954 CEEBLLST                       44 A-CON ! CEESG013         ÅUNRESOLVED(W)                                     !

     8958 CEEBLLST                       48 A-CON ! CEESG014         ÅUNRESOLVED(W)                                     !

     895C CEEBLLST                       4C A-CON ! CEESG015         ÅUNRESOLVED(W)                                     !

     8960 CEEBLLST                       50 A-CON ! CEESG016         ÅUNRESOLVED(W)                                     !

     8C60 CEEBPIRA                      230 A-CON ! CEEBPUBT         CEEBPUBT                        0 B_TEXT           !

                                        *** E N D  O F  C R O S S  R E F E R E N C E ***

 

 

 

                                 *** O P E R A T I O N   S U M M A R Y   R E P O R T ***

1

1PROCESSING OPTIONS:

 

    ALIASES             NO

    ALIGN2              NO

    AMODE                31

    CALL                YES

    CASE                UPPER

    COMPAT              UNSPECIFIED

    COMPRESS            AUTO

    DCBS                NO

    DYNAM               NO

    EXTATTR             UNSPECIFIED

    EXITS:              NONE

    FILL                NONE

    GID                 UNSPECIFIED

    HOBSET              NO

    INFO                NO

    LET                 08

    LINECT              060

    LIST                SUMMARY

    LISTPRIV            NO

    LONGPARM            NO

    MAP                 YES

    MAXBLK              032760

    MODMAP              NO

    MSGLEVEL            00

    OVLY                NO

    PRINT               YES

    RES                 NO

    REUSABILITY         REENTRANT

    RMODE               ANY,INITIAL

    SIGN                NO

    STORENX             NOREPLACE

    STRIPCL             NO

    STRIPSEC            NO

    SYMTRACE

    TERM                NO

    TRAP                ON

    UID                 UNSPECIFIED

    UPCASE              NO

    WKSPACE             000000K,000000K

    XCAL                YES

    XREF                YES

    ***END OF OPTIONS***

 

 

 

 

1SAVE OPERATION SUMMARY:

 

    MEMBER NAME         O108101Z

    LOAD LIBRARY        TES10.EDCLIB.LOAD

    PROGRAM TYPE        LOAD MODULE

    VOLUME SERIAL       LSBSB6

    MAX BLOCK           23476

    DISPOSITION         REPLACED

    TIME OF SAVE        12.11.18  AUG 10, 2016

 

 

1SAVE MODULE ATTRIBUTES:

 

    AC                  000

    AMODE                31

    COMPRESSION         NONE

    DC                  NO

    EDITABLE            YES

    EXCEEDS 16MB        NO

    EXECUTABLE          YES

    LONGPARM            NO

    MIGRATABLE          YES

    OL                  NO

    OVLY                NO

    PACK,PRIME          NO,NO

    PAGE ALIGN          NO

    REFR                NO

    RENT                YES

    REUS                YES

    RMODE               ANY

    SCTR                NO

    SIGN                NO

    SSI

    SYM GENERATED       NO

    TEST                NO

    XPLINK              NO

    MODULE SIZE (HEX)   00008DB8

 

 

1 ENTRY POINT AND ALIAS SUMMARY:

 

  NAME:            ENTRY TYPE AMODE C_OFFSET CLASS NAME        STATUS

 

  O108101Z          MAIN_EP      31 00000000 B_TEXT

 

                          *** E N D   O F   O P E R A T I O N   S U M M A R Y   R E P O R T ***

 

 

 

 

1z/OS V2 R1 BINDER     12:11:41 WEDNESDAY AUGUST 10, 2016

BATCH EMULATOR  JOB(TXMCOBDC) STEP(LKED2   ) PGM= IEWL

IEW2008I 0F03 PROCESSING COMPLETED.  RETURN CODE =  4.

 

 

 

1----------------------

MESSAGE SUMMARY REPORT

----------------------

  TERMINAL MESSAGES      (SEVERITY = 16)

  NONE

 

  SEVERE MESSAGES        (SEVERITY = 12)

  NONE

 

  ERROR MESSAGES         (SEVERITY = 08)

  NONE

 

  WARNING MESSAGES       (SEVERITY = 04)

  2609

 

  INFORMATIONAL MESSAGES (SEVERITY = 00)

  2008  2278  2322  2650

 

 

  **** END OF MESSAGE SUMMARY REPORT ****

 

Does anybody know what's wrong?

 

BR Timo Mäenpää

Timo Mäenpää | Software engineering

eFennia, CGI

email: timo.t.maenpaa@cgi.com

Outcomes