Endevor

  • 1.  LC option in QED

    Posted Jul 22, 2016 10:26 AM

    In QED, when we use 'LC' option for any cobol module, it will list down all the associated components information. Is there any way we can get this information into a file through any endevor report or any other job.



  • 2.  Re: LC option in QED
    Best Answer

    Broadcom Employee
    Posted Jul 22, 2016 11:57 AM

    Hi SumanR,

     

    Yes there are several ways to access this information - LC is the quick way to see a formatted list of all components in QuickEdit, LO, will show you the output components, LL (will just straight to the listing) and LI will take you to the list of input components.  All of these views are based on the "Browse Components" list (which you can also access in QuickEdit or Classic Endevor using the "BX" command.  And this option is available in batch using the PRINT ELEMENT SCL request with the OPTION COMponents (see: https://docops.ca.com/ca-endevor-SCM/18/en/scl-reference/process-element-actions-in-batch/print-statement/print-element-syntax).  This option of course will give you the "report style" version of the component information - but if you want the "structured" version to feed as input to another batch process you you should probably look at the API version of the call (see:https://docops.ca.com/ca-endevor-SCM/18/en/api-and-user-exits-reference/api-reference/api-function-calls/print-element-action) - or probably the easiest to parse, the CSV output format (see:https://docops.ca.com/ca-endevor-SCM/18/en/reporting/csv-reporting-utility#CSVReportingUtility-ListComponentsUsedbyElementFunction).

     

    Please let me know if you need sample JCL/Output for any of these reports. 
    Note - I'd also recommend having a look at the ACMQ facility - it's often overlooked because it's not access by an obvious menu option, but instead as a primary command (or from the user menu) but it allows you to build component, bill-of-materials, or where used reports in foreground or batch that you could then capture and bend to your needs.

     

    Perhaps if you explained a little more of your end goal, what do you hope to DO with the component data once it's retrieved - it maybe that there is already a canned report or automated action for that.  For example if you wanted to recompile all elements that use a particular copybook, just look for the AutoGen option instead!

     

    Regards,

     

    Eoin



  • 3.  Re: LC option in QED

    Posted Jul 25, 2016 09:39 AM

    Thanks Eoin. I am looking for the Program-Copybook linkage to ensure we are recompiling all programs when we change the copybook. Could you please let me know some reference links to know more about the 'Autogen' option. Thanks.



  • 4.  Re: LC option in QED

    Posted Jul 25, 2016 10:06 AM

    Hi Suman,

    Here is the link describing the autogen option that Eoin suggested:
    https://docops.ca.com/ca-endevor-SCM/18/en/administrating/autogen-action-option



  • 5.  Re: LC option in QED

    Posted Jul 26, 2016 08:16 AM

    I believe the short answer to your question is ACMQ. You can supply the copybook and it will automatically create the GENERATE SCL for all related COBOL programs. Just type "ACMQ" on your Endevor OPTION/COMMAND line or select it from your Endevor "USER" Menu.



  • 6.  Re: LC option in QED

    Posted Oct 12, 2016 10:29 AM

    Just seen this nugget of info. I tell people to use BX for components as this command is universal across QE and classic Endevor. Do you know if there's a reason why the LI/LO/LC aren't avaible in classic mode?



  • 7.  Re: LC option in QED

    Posted Oct 13, 2016 10:49 AM

    That seems like a better question to ask Development or the Product Manager...