Brightside

 View Only
  • 1.  bright endevor create commands option

    Posted Jan 24, 2020 02:59 PM
    If I'm using this command :
    bright endevor create package 0680682X191122A --fd W0682.CNTLIB.@NPACK --fm '$5DATX02' --endevor-profile brightsidetest --endevor-location-profile ENVTEST2 -d test

    I'm able to create a package , but the problem that for every single element I need to create one package for it .

    So if I m looking at documentation , I saw a command as :

    bright endevor create --help-examples  

    - Create package from local file with endevor profile set up:

    $ zowe endevor create packageName -d "package description" --ff localfile.txt -i ENDEVOR

    So my question is what is the format of : localfile.txt ?   , I try to look for how to use it from the brightside documentation but I didn't find anything.

    Thanks for your help .


    Hoa Huynh


  • 2.  RE: bright endevor create commands option

    Broadcom Employee
    Posted Jan 30, 2020 05:08 AM
    Dear Hoa,
    I will review this with SE and will get back soon.
    regards
    Thomas


  • 3.  RE: bright endevor create commands option

    Broadcom Employee
    Posted Jan 30, 2020 05:16 AM
    https://ca-broadcom.wolkenservicedesk.com/external/article?articleId=143917


  • 4.  RE: bright endevor create commands option
    Best Answer

    Broadcom Employee
    Posted Jan 30, 2020 11:17 AM
    Hello Hoa, 

    The file contains the SCL statement(s) defining the actions the package should perform - see the example Thomas provided. The SCL statements can be found in SCL reference here, in the most typical use case of a promotion package the action you want to use is MOVE. Please note that when used in a package the element name cannot be wildcarded (each element to be moved must be explicitly named in its own MOVE statement). 

    http://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-mainframe-software/devops/ca-endevor-software-change-manager/18-0/scl-reference/process-element-actions-in-batch.html

    Hope this helps, 
    Michal





  • 5.  RE: bright endevor create commands option

    Broadcom Employee
    Posted Jan 30, 2020 11:18 AM

    Hello Hoa, 

    The file contains the SCL statements defining the element actions to be executed by the package. See the link from Thomas for an example. The full reference can be found here:

    http://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-mainframe-software/devops/ca-endevor-software-change-manager/18-0/scl-reference/process-element-actions-in-batch.html

    In the typical use case of packages used for moving elements up a lifecycle you want to use the move action

    http://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-mainframe-software/devops/ca-endevor-software-change-manager/18-0/scl-reference/process-element-actions-in-batch/move-statement.html

    Please note that element name cannot be wildcarded when used in package SCL, meaning that each element you want to include needs to have it's own MOVE statement.

    Hope this helps, 
    Michal Vasak
    Endevor team