Endevor

Expand all | Collapse all

Endevor user exit fails after recompile

Jump to Best Answer
  • 1.  Endevor user exit fails after recompile

    Posted 11-07-2014 06:10 AM

    We have a Cobol program related to exit point 2 in Endevor.

    I recently had to change the Cobol source and now the new exit module dumps when it is invoked.

    So we cannot use it in Endevor.

     

    I have put some 'DISPLAY' statements in it and this is what we get:

     

    DISPLAY AFTER P-INIT-NDVRXT2-1

    W-ZONE1-ENVIRONMENT : ":0 ":0

    W-ZONE1-TGT-STAGE : ":0 ":0

    W-ZONE1-STAGE-ID :

    W-ZONE1-TGT-SYSTEM : ":0

    W-ZONE1-SYSTEM : ":0

    W-ZONE1-TGT-SUBSYSTEM :

    W-ZONE1-SUBSYSTEM :

    W-ZONE1-TGT-TYPE : :

    W-ZONE1-TYPE : :

    W-ZONE1-ELEMENT :  :&: : :

    W-ZONE1-PROCESSOR-GROUP:

    W-ZONE1-SRC-FILE :

    CONTROL-BLOCK ::  :$ECB :   :TNG0198 TNYN :UPDATE

                                                                                   

      QN :::

    REQUEST ::I :$ENV  EI ::: :: 00

     

     

    When I do the same for the previous module, it looks as follows:

     

    DISPLAY AFTER P-INIT-NDVRXT2-1

    W-ZONE1-ENVIRONMENT : XDEV

    W-ZONE1-TGT-STAGE : XDEV

    W-ZONE1-STAGE-ID       : X

    W-ZONE1-TGT-SYSTEM : VET

    W-ZONE1-SYSTEM : VET

    W-ZONE1-TGT-SUBSYSTEM  : NK42

    W-ZONE1-SUBSYSTEM : NK42

    W-ZONE1-TGT-TYPE : CONFIG

    W-ZONE1-TYPE : CONFIG

    W-ZONE1-ELEMENT : BINDPARM

    W-ZONE1-PROCESSOR-GROUP: BINDPARM

    W-ZONE1-SRC-FILE :

    CONTROL-BLOCK ::  :$ECB :   :TNG0198 TNYN :UPDATE

                                                                                   

      QN :::

    REQUEST : U :$REQNDVRSUPPORT DEBUG DISPLAY GENEOL

    Y N    N NN BINDPARM

                                                                                   

          NN                                     

     

    The previous version of my exit is from April 2014.

     

    When I compare the new load module with the previous one, the only difference is the z/OS level (we had an upgrade in September 2014)

    The previous one was produced by 5695PMB01 AT LEVEL 01.13 and has PO Format 2.

    The new one was produced by 5695PMB01 AT LEVEL 02.01 and has PO Format 3

     

    Our Endevor version is B1500C

     

    Has anyone run into similar issues?



  • 2.  Re: Endevor user exit fails after recompile

    Posted 11-18-2014 12:07 PM

    Anyone able to help out Marc?

     

    MARC DROESBEKE wrote:

     

    We have a Cobol program related to exit point 2 in Endevor.

    I recently had to change the Cobol source and now the new exit module dumps when it is invoked.

    So we cannot use it in Endevor.

     

    I have put some 'DISPLAY' statements in it and this is what we get:

     

    DISPLAY AFTER P-INIT-NDVRXT2-1

    W-ZONE1-ENVIRONMENT : ":0 ":0

    W-ZONE1-TGT-STAGE : ":0 ":0

    W-ZONE1-STAGE-ID :

    W-ZONE1-TGT-SYSTEM : ":0

    W-ZONE1-SYSTEM : ":0

    W-ZONE1-TGT-SUBSYSTEM :

    W-ZONE1-SUBSYSTEM :

    W-ZONE1-TGT-TYPE : :

    W-ZONE1-TYPE : :

    W-ZONE1-ELEMENT :  :&: : :

    W-ZONE1-PROCESSOR-GROUP:

    W-ZONE1-SRC-FILE :

    CONTROL-BLOCK ::  :$ECB :   :TNG0198 TNYN :UPDATE

                                                                                  

      QN :::

    REQUEST ::I :$ENV  EI ::: :: 00

     

     

    When I do the same for the previous module, it looks as follows:

     

    DISPLAY AFTER P-INIT-NDVRXT2-1

    W-ZONE1-ENVIRONMENT : XDEV

    W-ZONE1-TGT-STAGE : XDEV

    W-ZONE1-STAGE-ID       : X

    W-ZONE1-TGT-SYSTEM : VET

    W-ZONE1-SYSTEM : VET

    W-ZONE1-TGT-SUBSYSTEM  : NK42

    W-ZONE1-SUBSYSTEM : NK42

    W-ZONE1-TGT-TYPE : CONFIG

    W-ZONE1-TYPE : CONFIG

    W-ZONE1-ELEMENT : BINDPARM

    W-ZONE1-PROCESSOR-GROUP: BINDPARM

    W-ZONE1-SRC-FILE :

    CONTROL-BLOCK ::  :$ECB :   :TNG0198 TNYN :UPDATE

                                                                                  

      QN :::

    REQUEST : U :$REQNDVRSUPPORT DEBUG DISPLAY GENEOL

    Y N    N NN BINDPARM

                                                                                  

          NN                                     

     

    The previous version of my exit is from April 2014.

     

    When I compare the new load module with the previous one, the only difference is the z/OS level (we had an upgrade in September 2014)

    The previous one was produced by 5695PMB01 AT LEVEL 01.13 and has PO Format 2.

    The new one was produced by 5695PMB01 AT LEVEL 02.01 and has PO Format 3

     

    Our Endevor version is B1500C

     

    Has anyone run into similar issues?



  • 3.  Re: Endevor user exit fails after recompile

    Posted 12-05-2014 10:37 AM

    We are planning to upgrade to r16 within a few weeks. Maybe then my problem will get solved....



  • 4.  Re: Endevor user exit fails after recompile

    Posted 11-19-2014 05:15 PM

    to rework the mentioned difference in PO formats you could try binder option 'COMPAT=PM2' (at invocation of the binder after cobol-compile) to get the same format as before... (referring to http://www-01.ibm.com/support/knowledgecenter/SSLTBW_2.1.0/com.ibm.zos.v2r1.ieab100/compat.htm )

    Let us know, if this works.

    Consider to contact Endevor technical support, if the format of the loadmodul is relevant. 



  • 5.  Re: Endevor user exit fails after recompile

    Posted 12-05-2014 10:25 AM

    Josef

    I managed to link it in the 'old' format, but this didn't solve the issue.



  • 6.  Re: Endevor user exit fails after recompile

    Posted 12-05-2014 11:08 AM

    Hi vitb.

     

    hmmm... then you have to search the relevant difference....

     

    Reading your post ... do I assume it correctly, that you can compile the unchanged exit under z/OS 2.1, and this is working fine?

    Then you could start at this source-Level and introduce your changes little step by little step. Your cobol-display-outputs (marked red in your original post) makes me think about a storage overlay or incorrect pointers; so especially verify your settings of pointers, addressing of the linkage sections, lengths of area's, maybe SSR-compile-option will give an indication ...

     

    Success!

    Josef

    btw.: Why not upgrade to Endevor r17. It's working fine at our site ...      



  • 7.  Re: Endevor user exit fails after recompile

    Posted 11-20-2014 03:31 PM

    What part of the code did you change?  If you recompile the previous version of the exit with the current compiler does it stil fail?  Have you captured the dump for analysis?  What abend code are you getting?



  • 8.  Re: Endevor user exit fails after recompile

    Posted 11-22-2014 04:45 PM


    You might want to double check that you are linking your new version properly.  The link must include inputs like these:

     

      INCLUDE SYSLIB(EPC1UEXT) *FRONT-END PROGRAM*

      ENTRY EPC1UEXT

      NAME C1UEXT02(R)



  • 9.  Re: Endevor user exit fails after recompile

    Posted 12-05-2014 10:35 AM

    Nothing was changed to my way of linking



  • 10.  Re: Endevor user exit fails after recompile

    Broadcom Employee
    Posted 01-02-2015 03:50 PM

    Hi vitb.as.architecture,

     

    Just wondering if your COBOL level changed?  You mentioned that you'd upgraded to Z/OS 2.01?  There are some differences, particularly with COBOL 5 restricting how you can mix-n-match versions in an enclave.  Is it possible that you've changed from COBOL 4 to COBOL 5 (or other versions recently) if so then I'd be tempted to start with the compiler and look for differences.  Do you by any chance have the old and new compiler listings - comparing these would be a great place to start.  If not, can I confirm that you've opened this as an issue with support?

     

    Thanks,

     

    Eoin



  • 11.  Re: Endevor user exit fails after recompile

    Broadcom Employee
    Posted 01-02-2015 03:54 PM

    Ooh! and I forgot to ask; what happens when you enable the exit trace (add //EN£TRXIT SYSOUT=*) and run a request in batch.

    (and/or does this problem only happen in F/G?, in whiceh case use the tso command TSO ALLOC F(EN$TRXIT) SYSOUT(X) REU and retry the request)

     

    Eoin



  • 12.  Re: Endevor user exit fails after recompile
    Best Answer

    Posted 01-19-2015 06:08 AM

    Hello

    My problem is solved now.

    It was indeed an issue with some missing link cards.

    Thanks for all tips.



  • 13.  Re: Endevor user exit fails after recompile

    Broadcom Employee
    Posted 01-24-2015 07:20 AM

    Thanks for letting us know the problem was resolved, and what caused it. 

    Cheers

    Eoin