1. Home
  2. /
  3. Panel Help
  4. /
  5. Cross Application
  6. /
  7. Add job parameter (SYS074B)

Add job parameter (SYS074B)

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 positionDefinition
1 - 5Enter 'UDATE' indicating that the parameter will be used for a date.
6 - 6Enter '+' to calculate forwards, or '-' to calculate backwards.
7 - 9Enter figures between 000 and 999 indicating the number of days to be calculated forwards or backwards.
10 - 10Enter 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 - 11Enter 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.

FormulaDateComment
UDATE+000XD120204Use this formula to calculate today's date.
UDATE+000FD120201Use this formula to calculate the first date of the current month.
UDATE+000LD120228Use this formula to calculate the last date of the current month.
UDATE-028FD120101Use this formula to calculate the first date of the previous month.
UDATE-030LD120131Use this formula to calculate the last date of the previous month.
UDATE+028FD120301Use this formula to calculate the first date of the following month.
UDATE+028LD120331Use this formula to calculate the last date of the following month.
UDATE+000XP1202Use this formula to calculate the current month.
UDATE+028XP1203Use this formula to calculate the next month.
UDATE-028XP1201Use this formula to calculate the previous month.
UDATE+000XW1205Use this formula to calculate the current week.
UDATE+030XW1209Use this formula to calculate the week in 30 day's time.