This panel displays the job control details, i.e. what should be executed in the batch program or job stream.
Options
Selection fields
- Program
- Displays the name of the batch program, or job stream, you are maintaining.
- User
- Displays the name of the user allowed to execute the batch program or job stream. If *ALL is displayed, it means that all users in the system are allowed to execute the batch program or job stream.
- Batch type
- Displays the code for the program you are maintaining. 1 means batch program, 2 means batch job stream and 3 means interactive job stream. All standard DC1 batch programs are defined as 1.
- Seq
- This column lists the sequence number.
- Keyword
- This column lists the keyword.
- Line
- This column lists the line number.
- Parameter
- This column lists the parameters for the keyword.
Work with job control, Details (ASTD02904)
On this panel you define what should be executed in the batch program or job stream, which means you define the statements in the program. You must enter a keyword and parameters for each line. What parameters to enter depends on the keyword.
Function keys
Verify command | Verify the command entered in the Parameter field. |
DC1 command list | Retrieve a list with all valid DC1 commands. |
Program parameters | Access the Program parameters panel, where you can retrieve Save Parameter definitions and get help with entering parameters for a DC1 command. From this panel you can also start the Save Parameter function. |
- Program
- Displays the name of the batch program, or job stream, you are maintaining.
- User
- Displays the name of the user allowed to execute the batch program or job stream. If *ALL is displayed, it means that all users in the system are allowed to execute the batch program or job stream.
- Batch type
- Displays the code for the program you are maintaining. 1 means batch program, 2 means batch job stream and 3 means interactive job stream. All standard DC1 batch programs are defined as 1.
- Keyword
- Enter the keyword. There are three different types of keywords:
Submit keywords:
DSPSBMJOB, HOLD, INQMSGRPY, JOB, JOBD, JOBPTY, JOBQ, LOG, LOGCLPGM, MSGQ, OUTPTY, OUTQ, PRTDEV, PRTTXT, SWS, USERCommand execution keywords:
EXCCMD, EXCBSBM, EXCCASBM, EXCBPGM, EXCAPGMSpecial keywords:
SECURED, AUTUSR, EXCJOB, EXCBPGMG, EXCAPGMG, DFTCOMP, INLMENU, INLLIBL, FREEPAR1-5The batch type for the program (displayed in the heading of this panel) controls which keywords are allowed. For each batch type, different keywords are allowed.
- Line number
- This field is optional, but if you want to insert a line between two existing lines, enter a line number.
- Parameter
- Enter the parameters for the keyword. The keyword controls which parameters to enter. If you entered a Command execution keyword in the Keyword field, and you enter an OS/400 command in this field, you can prompt to request assistance with entering the parameters for the command.
If you want to enter comments in the batch program or job stream, start with /*, write the text and complete the text with */.
Work with job control, Details, Copy (ASTD02905)
From this panel you can copy information from the line you are maintaining to another line.
- Program
- Displays the name of the batch program, or job stream, you are maintaining.
- User
- Displays the name of the user allowed to execute the batch program or job stream. If *ALL is displayed, it means that all users in the system are allowed to execute the batch program or job stream.
- Batch type
- Displays the code for the program you are maintaining. 1 means batch program, 2 means batch job stream and 3 means interactive job stream. All standard DC1 batch programs are defined as 1.
- Keyword
- Displays the keyword you selected to copy.
- Line
- Displays the line number you selected to copy.
- New keyword
- Enter the keyword to which you want to copy the parameters you entered in the Parameter field.
- New line number
- This field is optional, but if you want to copy the information to a certain line, enter the line number here.
Work with job control, Details, Deletion (ASTD02908)
Work with job control, Details, Program parameters (ASTD02911)
From this panel you can retrieve Save Parameters previously saved in a batch program, start the Save Parameter function, and display the window containing parameter definitions available for changes.
The Save Parameter function is a program you activate when you want to save the local data area for a DC1 batch program. The program name is ASGC037 and the program could also be connected to any of the function keys F13 – F23 in order to activate the Save Parameter function from a DC1 application program.
Function keys
Saved parameters list | Display the window containing all Save Parameter definitions created for the program entered in the Program field. |
Parameter definition list | Display the window containing the Parameter definitions available for the program entered in the Program field. |
Save parameter | Start the Save Parameter function for the program you entered in the Program field. The initial panel for the program will then be displayed and you can complete the fields on the panel as usual. When you click OK on the last panel, the Save parameter panel will be displayed. When you complete that panel, you will return to this panel and you can click Saved parameters list to retrieve the Save parameter definition you just created. |
- Entry parameter
- Displays the entry parameters in the program, if any. In the DC1 application there is only one program with entry parameters at the moment; the Backup program (ASGC032). Displays the entry parameters in the program, if any. If you enter ASGC032 in the Program field and click Parameter definition list to retrieve the parameters for that program, the windows with the parameter definitions will be displayed. If you then select one of the parameters in the window, the parameter string will be transferred to the Parameter field on this panel, displayed as:
EXCASWPGM PGM(ASGC032) PARM(Y) DTA(‘&& &&& ‘)In addition, all parameter definitions for the program will be displayed in the middle section on the panel, together with the parameter length, displayed as:
Entry parameter Length Back up Y/N 1 Device 10 Reorganise files Y/N 1 Create save file Y/N 1 Start time 6 Now you can complete the DTA key value with all parameters. The "&" character corresponds to the first position in the parameter length. To complete the parameters with the following values:
Entry parameter Entry Back up Y Device TAP01 Reorganise files N Create save file N Start time 01:00:00 complete the parameter string as follows:
EXCASWPGM PGM(ASGC032) PARM(Y) DTA(‘YTAP01 NN01000 0′)
- Len
- Displays the length of the entry parameters in the program, if any. In the DC1 application there is only one program with entry parameters at the moment; the Backup program (ASGC032). Refer to the Panel help for the Entry parameter field above.
- User
- This field is mandatory if you want to retrieve a Save Parameter list (click Saved parameters list). The system keeps track of the user activating the Save Parameter function, which means that the window retrieved when you click that function key only contains Save Parameters created by the user entered in this field.
- Parameter
- When you press one of the available function keys and select a record in the window displayed for that function key, the system automatically retrieves all parameters for that function key. When the parameters are retrieved, click OK once again to transfer the parameters to the previous panel.