Skip to main content
Solved

How do i add the jobid for a report generated in commvault

  • July 8, 2021
  • 4 replies
  • 295 views

Forum|alt.badge.img+8

if I’m not wrong, the reports in feature release 11.21 the reports were generated with name alongwith the jobid, in 11.22 it again changed back to just the name that we provide.

 

Is there a way to append the jobid of the report alongwith the reportname (Report custom name) that we provide

Best answer by Vinudass

Hi, 

 

Please follow below steps to add job id to custom name in report files.

 

https://documentation.commvault.com/11.22/expert/58179_report_selection_output.html

Report Custom Name

Enter a name for the report. You can also include the current date and job ID using macros:

  • To include the date, enter the following macro: cvdate

  • To include the report job ID, enter the following macro: cvjobid

4 replies

Forum|alt.badge.img+1
  • Vaulter
  • Answer
  • July 8, 2021

Hi, 

 

Please follow below steps to add job id to custom name in report files.

 

https://documentation.commvault.com/11.22/expert/58179_report_selection_output.html

Report Custom Name

Enter a name for the report. You can also include the current date and job ID using macros:

  • To include the date, enter the following macro: cvdate

  • To include the report job ID, enter the following macro: cvjobid


Forum|alt.badge.img+8
  • Author
  • Novice
  • July 8, 2021

Hi, 

 

Please follow below steps to add job id to custom name in report files.

 

https://documentation.commvault.com/11.22/expert/58179_report_selection_output.html

Report Custom Name

Enter a name for the report. You can also include the current date and job ID using macros:

  • To include the date, enter the following macro: cvdate

  • To include the report job ID, enter the following macro: cvjobid

Thanks for the quick response:)


Forum|alt.badge.img+8
  • Author
  • Novice
  • September 14, 2022

can we customize this macro ? change the dateformat for this?

currently its yyyy-mm-dd-hh-mm-ss

I would like to get it as mm-dd-yyyy


Mike Struening
Vaulter
Forum|alt.badge.img+22

@alligator , I’m not seeing this as an option.  I would suggest contacting support and asking for a CMR for this to be added (and they might have a workaround in the meantime).