Work with Custom Job KEY SCREEN





  *PGMMOD                      Work with Custom Job            DD/MM/YY HH:MM:SS

  Custom Job Name  . . :   OOOOOOOOOO

  Description  . . . . .   IIIIIIIIIIIIIIIIIIIIIIIIIIIIII

  Batch or Interactive .   I

  Job Queue  . . . . . .   IIIIIIIIII
  Job Description  . . .   IIIIIIIIII

  Job Command  . . . . .   IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII
                           IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII









  F3=Exit   F12=Cancel







Introduction

This function allows you to add new records to a database file, and to change existing records on the file: one record at a time. The function may be used in either of two modes; '*ADD' mode and '*CHANGE' mode; in '*ADD' mode you may add new records; in '*CHANGE' mode you may change existing records. You may switch between the two modes by means of a function key. Key_screen To add a new database record, you must first enter the new 'key' fields that identify the record, then press ENTER. The function will check that the key doesn't already exist, and either prompt you for the new record details or tell you that it already exists. To update a database record, you must first enter the 'key' fields to identify the record you want. The function will then look for your record, and either display it, or tell you that it cannot find it. Note that if the function already knows the key of the record, it will automatically skip the key screen, and display the record directly.



Function Keys

F1=Help.

Display related help display. By positioning the cursor at a field on the display and pressing help, help narrative will be displayed for that field. By placing the cursor on the title for the display, help narrative related to the entire function will be displayed. Once the any help narrative is displayed you may then enlarge the display by using the F20 key or you may display expanded help narrative by using the F2 key.

F3=Exit.

Exit the current task. In most cases this will return you to a high level function without displaying all displays encountered in getting to this point.

F4=Prompt.

Display a list of values available to be used in the related field. Place your cursor on the field for which you would like to see a list and press the F4 key.

F5=Reset.

Refreshes the display. In most cases the display will be refreshed to the original values and any keyed information typed after the last enter key will be lost.

F9=Change mode.

Change program entry mode to change in order to display or update existing records.

HELP=Help.

Display related help display. By positioning the cursor at a field on the display and pressing help, help narrative will be displayed for that field. By placing the cursor on the title for the display, help narrative related to the entire function will be displayed. Once the any help narrative is displayed you may then enlarge the display by using the F20 key or you may display expanded help narrative by using the F2 key.



Variable Definitions




Function Keys

F1=Help.

Display related help display. By positioning the cursor at a field on the display and pressing help, help narrative will be displayed for that field. By placing the cursor on the title for the display, help narrative related to the entire function will be displayed. Once the any help narrative is displayed you may then enlarge the display by using the F20 key or you may display expanded help narrative by using the F2 key.

F3=Exit.

Exit the current task. In most cases this will return you to a high level function without displaying all displays encountered in getting to this point.

F4=Prompt.

Display a list of values available to be used in the related field. Place your cursor on the field for which you would like to see a list and press the F4 key.

F5=Reset.

Refreshes the display. In most cases the display will be refreshed to the original values and any keyed information typed after the last enter key will be lost.

F12=Cancel.

Return to previous display without performing any action.

F21=Key screen.

HELP=Help.

Display related help display. By positioning the cursor at a field on the display and pressing help, help narrative will be displayed for that field. By placing the cursor on the title for the display, help narrative related to the entire function will be displayed. Once the any help narrative is displayed you may then enlarge the display by using the F20 key or you may display expanded help narrative by using the F2 key.



Variable Definitions

Custom Job Name

Display only
A name to identify this job on the system.

Custom Job Name

Display only
A name to identify this job on the system.

Description

REQUIRED
Description of this job.

Batch or Interactive

REQUIRED
Indicates whether this job runs interactively or gets submitted to run in batch.
   B = Batch
   I = Interactive

Job Queue

OPTIONAL
If the job runs in batch, which job queue will it be submitted to.

Job Description

OPTIONAL
Job description for the system to use when running this job (e.g., ICBATCH, SOBATCH). Only for batch jobs.

Job Command

REQUIRED
The command to execute in order to run the job. If this is a batch job, do not include the SBMJOB portion of the command.