Endevor

 View Only
  • 1.  Extract BX / Output Information

    Posted Dec 05, 2014 02:29 PM

    I would like to be able to extract output infomation from Endevor for all elements.  This information is available when using the BX option beside an element.  Is there a way to do this?

     

    Thanks,

     

    Jeff



  • 2.  Re: Extract BX / Output Information

    Posted Dec 08, 2014 10:14 AM

    Can anyone help out Jeff here?



  • 3.  Re: Extract BX / Output Information

    Posted Dec 08, 2014 10:21 AM

    Batch Print element PX Print Component Information: SET STOPRC 16 .                                    PRINT ELEMENT *                                      FROM ENVIRONMENT 'envname' SYSTEM * SUBSYSTEM *      TYPE 'type' STAGE P                              OPTIONS EXPLODE NOSEARCH                        .  Output goes to C1PRINT                                            



  • 4.  Re: Extract BX / Output Information

    Posted Dec 08, 2014 11:04 AM

    Hello.  Thanks for the reply, but this did not work.

     

    The sysout from my job reported: C1G0323W  ELEMENT IS NOT REFERENCED IN ACMQ

    We are currently running v15.1. and ACMQ is active.

     

    From what I read in the manual about the EXPLODE option it only prints the input component information.  What I am looking for is the output information.

     

    Here is a portion of the BX information for a sample element that I am trying to extract:

     

    ---------------------------  OUTPUT COMPONENTS  -------------------------------

                                                                                  

                                                                                  

    STEP: LINK     DD=SYSLMOD  VOL=AKP942 DSN=PKAGM.KEGCM.HOLD.LOAD               

                                                                                  

                MEMBER     VV.LL  DATE   TIME  SYSTEM   SUBSYS   ELEMENT    TYPE  

    +0100      KEGPSB20   01.00 27NOV14 16:46 KAGMKEG  X        KEGPSB20   EZPB 



  • 5.  Re: Extract BX / Output Information

    Posted Dec 08, 2014 11:26 AM

    You can run this SCL:-

     

    LIST ELEMENT 'C1DEFLTS'                               

      FROM ENVIRONMENT 'PROD' SYSTEM 'ENDEVOR' SUBSYSTEM 'LIVE' 

        TYPE 'ASMB' STAGE P                               

      OPTIONS NOSEARCH                                    

      BUILD WITH COMPONENT                                

      WHERE OUTPUT COMPONENT DOES NOT CONTAIN 'XXXXXXXXXXX'    

     

    but the input and output components are all there together.

     

    I wonder if you have a great enhancement suggestion for the PX command to have an output component option.



  • 6.  Re: Extract BX / Output Information

    Posted Dec 08, 2014 12:18 PM

    Hello.

    Not sure if I am doing something wrong, but when I try running this SCL, this is what I get (no output information)

    ********************************* Top of Data *************************

                                                                          

    SET FROM ENVIRONMENT 'KAGMTEST' SYSTEM 'KAGMKEG ' SUBSYSTEM 'X       '

             TYPE 'EZPB    ' STAGE NUMBER 2 .                             

         &&ACTION ELEMENT  'KEGPSB20  '   VERSION 01   LEVEL 00  .        

    ******************************** Bottom of Data ***********************

     

     

    Here is the SCL I ran:

    LIST ELEMENT 'KEGPSB20'                                    

      FROM ENVIRONMENT 'KAGMTEST' SYSTEM 'KAGMKEG' SUBSYSTEM 'X'

        TYPE 'EZPB' STAGE H                                    

      TO DSNAME 'TZN3D6.$KAGMKEG.LIST'                        

      OPTIONS NOSEARCH                                         

      BUILD WITH COMPONENT                                    

      WHERE OUTPUT COMPONENT DOES NOT CONTAIN 'XXXXXXXXXXX'   



  • 7.  Re: Extract BX / Output Information

    Posted Dec 08, 2014 12:22 PM

    I tried the same SCL for another member that I knew had input components, and I got a listing of the inputs, but no outputs...

     

     

     

     

    ********************************* Top of Data **********************************

                                                                                   

    SET FROM ENVIRONMENT 'KAGMPROD' SYSTEM 'KAGMKEG ' SUBSYSTEM 'X       '         

             TYPE 'C3PB    ' STAGE NUMBER 2 .                                      

         &&ACTION ELEMENT  'KEGPSB07  '   VERSION 01   LEVEL 00  .                 

                                                                                   

    SET FROM DSNAME 'SYS1.CEE.SCEELKED                           ' .               

    *    &&ACTION ELEMENT  'CEEARLU   '   .                         NON NDVR LOCATN

    *    &&ACTION ELEMENT  'CEEBETBL  '   .                         NON NDVR LOCATN

    *    &&ACTION ELEMENT  'CEEBINT   '   .                         NON NDVR LOCATN

    *    &&ACTION ELEMENT  'CEEBLLST  '   .                         NON NDVR LOCATN

    *    &&ACTION ELEMENT  'CEEBPUBT  '   .                         NON NDVR LOCATN

    *    &&ACTION ELEMENT  'CEEBTRM   '   .                         NON NDVR LOCATN

    *    &&ACTION ELEMENT  'CEEINT    '   .                         NON NDVR LOCATN

    *    &&ACTION ELEMENT  'CEESG005  '   .                         NON NDVR LOCATN

    *    &&ACTION ELEMENT  'CEESTART  '   .                         NON NDVR LOCATN

    *    &&ACTION ELEMENT  'IGZCBSO   '   .                         NON NDVR LOCATN

    ******************************** Bottom of Data ********************************



  • 8.  Re: Extract BX / Output Information
    Best Answer

    Posted Dec 08, 2014 12:43 PM

    This is what I use to print CL information. I just ran a test, and the OUTPUT section is included in my report. If you try the same and still get no OUTPUT section, there is probably some other factor like there are no outputs or there is no component list, etc.

     

    //C1BM3000 EXEC PGM=NDVRC1,PARM=C1BM3000

    ...

    //BSTIPT01 DD *

    SET STOPRC 16 .

    PRINT ELEMENT 'XXXXXXXX'

    FROM ENV 'PRD' SYSTEM 'XXXXX' SUBSYSTEM '*'

    TYPE 'CBL' STAGE 'P'

    OPTIONS

    BROWSE COMPONENTS

    .

    /*



  • 9.  Re: Extract BX / Output Information

    Posted Dec 08, 2014 01:06 PM

    That produced the BX information I was looking for.

    Thank you very much!

     

    Now all I have to do is write a program to strip out the portion I want.

    Thanks again.



  • 10.  Re: Extract BX / Output Information

    Posted Dec 08, 2014 12:50 PM

    Dana is 100% correct.

     

    I ran the same SCL a few minutes ago to get the output section of the component list.

     

    I still think there is an enhancement opportunity worth raising on the ideation.

     

    Stuart
    P.S. Sorry for the wrong steer earlier.



  • 11.  Re: Extract BX / Output Information

    Posted Dec 08, 2014 01:14 PM

    Thank you to everyone for your input.

    It was great to have all of the suggestions.  While not all of them did what I was looking for, they did teach me a few new things which is always a good thing.

     

    I also agree, this would be a great enhancement opportunity.