#### Publishing a report set to the versioning system immediately

If you want to publish the report set CustomerAnalysis.cls that uses the catalog /SampleReports/SampleReports.cat to the versioning system immediately, the URL used for this task is as below:

- To RST

      http://localhost:8888/jrserver?jrs.cmd=jrs.submit_schedule
      &jrs.catalog=%2fSampleReports%2fSampleReports.cat
      &jrs.task_class=jet.server.schedule.jrtasks.PublishRptTask
      &jrs.launch_type=0&jrs.param$P_StartDate=01/01/2006
      &jrs.param$p_EndDate=12/31/2007&jrs.uid=admin
      &jrs.to_version=true&jrs.to_version_rst=true
      &jrs.report=CustomerAnalysis.cls

- To PDF

      http://localhost:8888/jinfonet/submitSchedPage.jsp
      ?jrs.cmd=jrs.submit_schedule&jrs.catalog=%2fSampleReports%2fSampleReports.cat
      &jrs.task_class=jet.server.schedule.jrtasks.PublishRptTask
      &jrs.launch_type=0&jrs.param$P_StartDate=01/01/2006
      &jrs.param$p_EndDate=12/31/2007&jrs.uid=admin
      &jrs.to_version_pdf=true&jrs.to_version=true
      &jrs.report=CustomerAnalysis.cls

Note: If you want to publish report sets to other formats, you can refer to the examples above, but you will need to modify the parameter jrs.to_version_pdf=true to suit the particular format that your report set will be published to. For example, if you want to publish the report set to Excel, you will need to change the parameter to jrs.to_version_excel=true.