FDL S

Precise definition of a set of jobs.

Arguments
setname script args
Description
Collect all jobs created in the body of the procedure in the specified set. The S procedure can be nested. If the setname at one level begins with a '+' sign or if it has no colons (':'), the full name of the set is the concatenation of the name of the set at the previous level, separated with a colon ':'. If the name contains colons, it is considered to be a complete set name.
As of 2014.*, it is allowed for sets to contain other sets. Because of this, nested S procedures now attach the subset to the superset.
Note: Job I/O nodes are not placed in the set.
Synopsis
S set_namebody
Example
S "MySet" {
    J vw cp aa bb
    J vw cp bb cc
}

S "ThisIsAnEmptySet" {}

S "lev1" {
   S "lev2a" {
      ### Jobs here are attached to the set "lev1:lev2a"
      ### The set "lev1:lev2a" is also attached to set "lev1"
   }
   S "lev2b" {
      ### Jobs here are attached to the set "lev1:lev2b"
      ### The set "lev1:lev2b" is also attached to set "lev1".
   }
} -gui_label "Add a label to the set lev1"