Related topics
On this panel you can add job parameters in the batch jobs for DC1 Manufacturing, DC1 Project and DC1 Time. (For a description of the parameters of each job, click the applicable Related topic.)
A job entry is identified by a unique CL-program name and a version number.
Each job entry contains job parameters (default selection parameters), job attributes (job name, job queue, out queue etc.) and the name of the selection panel program used when submitting a job.
- Cl-Program
- Enter the Cl program identification. This program must exist in the User’s library list.
- Version
- Enter the Cl program version. This version field is used for creating different parameter setups for one cl program.
- Description
- Enter the Cl program description.
- Parameter 1 – 27
- The job parameters are used as default parameters when submitting the job.
In jobs where date (YYMMDD), period (YYMM) or week (YYWW) are included as parameters these may be calculated using a formula. Depending on the parameter position the following can be defined in the formula:
Parameter position | Definition |
---|---|
1 - 5 | Enter 'UDATE' indicating that the parameter will be used for a date. |
6 - 6 | Enter '+' to calculate forwards, or '-' to calculate backwards. |
7 - 9 | Enter figures between 000 and 999 indicating the number of days to be calculated forwards or backwards. |
10 - 10 | Enter one of the following codes: 'F' - Takes the first date in month of the calculated date. 'L' - Takes the last date in month of the calculated date. 'X' - Takes the exact date. |
11 - 11 | Enter one of the following codes indicating the format of the date: 'D' - Date (YYMMDD) 'M' - Month (YYMM) 'W' - Week (YYWW) 'P' - Period (YYMM). |
The following examples illustrate the formulas used for the calculation of dates. Note: The figures in Parameter position 7 - 9 must be adjusted to today's date. In the examples today's date is 120204.
Formula | Date | Comment |
---|---|---|
UDATE+000XD | 120204 | Use this formula to calculate today's date. |
UDATE+000FD | 120201 | Use this formula to calculate the first date of the current month. |
UDATE+000LD | 120228 | Use this formula to calculate the last date of the current month. |
UDATE-028FD | 120101 | Use this formula to calculate the first date of the previous month. |
UDATE-030LD | 120131 | Use this formula to calculate the last date of the previous month. |
UDATE+028FD | 120301 | Use this formula to calculate the first date of the following month. |
UDATE+028LD | 120331 | Use this formula to calculate the last date of the following month. |
UDATE+000XP | 1202 | Use this formula to calculate the current month. |
UDATE+028XP | 1203 | Use this formula to calculate the next month. |
UDATE-028XP | 1201 | Use this formula to calculate the previous month. |
UDATE+000XW | 1205 | Use this formula to calculate the current week. |
UDATE+030XW | 1209 | Use this formula to calculate the week in 30 day's time. |