ESP dSeries Workload Automation

 View Only
  • 1.  Can list of applications or events be extracted as text

    Posted Nov 18, 2022 01:58 PM
    Hello,

    We sometimes get requests from our application support groups asking for a list of their dSeries applications or events.  While the list of these is easy to pull up based on our naming convention, we tend to end up doing screen shots to get them that information.  Ideally we'd like to be able to provide that information as a text file which would allow them to more easily copy and paste the names when the contact us for changes.

    Is there any way to extract the list of events or applications in a text format?

    Thanks,
    Donna Domovic


  • 2.  RE: Can list of applications or events be extracted as text

    Broadcom Employee
    Posted Nov 21, 2022 06:54 AM
    Hi,

    jobmap cli command should be helpful here. It gives information at job level as well. The output can be saved in a text file.
    You can filter out what you want to display based on the DISPLAYFIELDS and NODISPLAYFIELDS options below.

    -> help jobmap
    Usage:
    JOBMAP EVENTS("events") [JOBS("jobs")] [SCHEDULECRITERIA("schedulecriteria")] [DISPLAYFIELDS("displayfields")] [NODISPLAYFIELDS("nodisplayfields")]

    Display jobmap information including the last run of a job.
    Example:
    jobmap events("SCHEDMASTER.VERIFY")
    jobmap events("*")
    jobmap events("SCHEDMASTER.VERIFY") jobs("WIN*")
    jobmap events("SCHEDMASTER.VERIFY") schedulecriteria("friday")
    jobmap events("SCHEDMASTER.VERIFY") DisplayFields("SUCC,PRED")
    jobmap events("SCHEDMASTER.VERIFY") NoDisplayFields("SUCC")

    events <string>
    The Event name. If not specified, all Events details are listed. Wildcard characters are permitted. * represents any string of zero or more characters. ? represents any single character.
    Sequence of characters matching regular expression "[\p{L}\p{N}@$_\.\*\?]*".

    jobs <string>
    The job name(s). If not specified, all jobs details are listed. Wildcard characters are permitted. * represents any string of zero or more characters. ? represents any single character.
    Sequence of characters matching regular expression "[\p{L}\p{N}@$_\.\*\?]*".

    schedulecriteria <string>
    The schedule statement.

    displayfields <string>
    A comma separated field list to display in the output.

    nodisplayfields <string>
    A comma separated field list to skip in the output.

    Hope it helps!
    Ravi Kiran


  • 3.  RE: Can list of applications or events be extracted as text

    Broadcom Employee
    Posted Nov 21, 2022 08:47 AM
    Hi,
    In addition to job JOBMAP, you can also use LISTEVENT in CLI just to see all your events.  Type HELP LISTEVENT to get more details.

    HTH,
    Nitin Pande

    ------------------------------
    Support
    Broadcom
    Toronto
    ------------------------------



  • 4.  RE: Can list of applications or events be extracted as text

    Posted Nov 21, 2022 09:51 PM
    Ravi and Nitin,

    Thanks for the quick response.  We'll play around with the 2 options you suggested.  

    One follow up question on the JOBMAP option.  In the example, I see you list SUCC,PRED and fields. 

    Is there some place where I can find a list the various field names that can be used in that parameter or other places field names are listed?

    Thanks,
    Donna Domovic


  • 5.  RE: Can list of applications or events be extracted as text

    Broadcom Employee
    Posted Nov 22, 2022 10:31 AM
    Hi Donna,
    Please see this link for all Jobmap keywords.  Here is the link for Jobmap documentation for your reference as well.

    HTH,
    Nitin Pande
    Broadcom

    ------------------------------
    Support
    Broadcom
    Toronto
    ------------------------------



  • 6.  RE: Can list of applications or events be extracted as text

    Posted 11 days ago

    JOBMAP EVENTS("events") [JOBS("jobs")] [SCHEDULECRITERIA("schedulecriteria")]

    do you have documentation that describes all the schedulecriteria syntax with examples?

    thanks!




  • 7.  RE: Can list of applications or events be extracted as text

    Broadcom Employee
    Posted 11 days ago

    Here is the doc link for JOBMAP for all the keywords that are supported.  See here for examples.



    ------------------------------
    Support
    Broadcom
    Toronto
    ------------------------------