Job stream

File definition syntax:

schedule [[folder/]workstation#][folder/]jobstreamname
    # comment
    [validfrom date]
    [timezone|tz tzname]
    [descriptiontext”]
    [draft]
      [isservice
       servicename service_name
       servicedescription service_description
       servicetags "|service_tag|service_tag|"
       servicevariables "{var: \"value\"}"
]
    [vartable [folder/]table_name]
    [freedays [folder/]calendarname [-sa] [-su]]
    [on [runcycle name
       [validfrom date] [validto date]
       [descriptiontext”]
       [vartable [folder/]table_name]]
      {date|day|[folder/]calendar|request|”icalendar[folder/]|runcyclegroup} [,...]
       [fdignore|fdnext|fdprev]
       [({at time [+n day[s]] |
       schedtime time [+n day[s]]}
       [until | jsuntil time [+n day[s]] [onuntil action]]
       [every rate {everyendtime time[+n day[s]]}
       [deadline time [+n day[s]]])]]
    [,...]]

    [except [runcycle name]
          [validfrom date] [validto date]
          [descriptiontext”]
          {date|day|[folder/]calendar|request|”icalendar[folder/]|runcyclegroup} [,...]
          [fdignore|fdnext|fdprev]  
          [{(at time [+n day[s]])] |
          (schedtime time [+n day[s]])}]
    [,...]
    [startcond filecreated | filemodified [folder/]workstation_name#file_name
          user username
          interval seconds
          [(alias startcond_jobname
          rerun batch outfile outputfilename
          params "filemonitor additional parameters")] |
   startcond job [folder/]workstation_name#[folder/]job_name
          outcond joboutputcondition
          interval seconds
          [(alias startcond_jobname rerun)]]  
    [{at time [timezone|tz tzname] [+n day[s]] |
    schedtime time [timezone|tz tzname] [+n day[s]]}]
    [until | jsuntil time [timezone|tz tzname] [+n day[s]] [onuntil action]]
    [deadline time [timezone|tz tzname] [+n day[s]]]
    [carryforward]
    [matching {previous|sameday|relative from [+ | -] time to [+ | -] time|
      from time [+ | -n day[s]] to time [+ n day[s]] [,...]}]
    [follows {[netagent::][workstation#]jobstreamname[.jobname |
      @] [previous|
      sameday|relative from [+|-] time to [+|-] time|
      from time [+|-n day[s]] to time [+|-n day[s]]
    ][if <condition> [| <condition>...]]
       } ] [,...]] [...]
   [join condition_name [number | numconditions | all] of  
      description "..."]
      .....
      endjoin

         [keysched]
    [limit joblimit]
    [needs { [n] [[folder/]workstation#][folder/]resourcename } [,...] ] [...]
    [opens { [[folder/]workstation#]"filename" [ (qualifier) ] [,...] }]  [...]
    [priority number | hi | go]
    [prompt {[folder/]promptname|"[:|!]text"} [,...] ] [...]
    [onoverlap {parallel|enqueue|donotstart}]
   :
job-statement
    # comment
job_name [job_alias]
[outcond joboutputcondition interval seconds]

    [{at time [timezone|tz tzname] [+n day[s]] |
    schedtime time [timezone|tz tzname] [+n day[s]]}][,...]
    [until time [timezone|tz tzname] [+n day[s]] [onuntil action]
    [deadline time [timezone|tz tzname] [+n day[s]] [onlate action] ]
    [maxdur time | percentage % onmaxdur action]
    [mindur time | percentage % onmindur action]
    [every rate]
    [follows {[netagent::][workstation#]jobstreamname{.jobname @} [previous|
      sameday|relative from [+|-] time to [+|-] time |
      from time [+|-n day[s]] to time [+|-n day[s]]
       ]} ][if <condition> [| <condition>...]] [,...]] [...]
    [join condition_name [number | numconditions | all] of  
      description "..."]
       .....
      endjoin

         [confirmed]
    [critical]
    [keyjob]
    [needs { [n] [[folder/]workstation#][folder/]resourcename } [,...] ] [...]
    [opens { [[folder/]workstation#]"filename" [ (qualifier) ] [,...] }]  [...]
    [priority number | hi | go]
    [prompt {[folder/]promptname|"[:|!]text"} [,...] ] [...]
    [nop]
    [statistictype custom]
  
[job-statement...]
end