Need more info or you couldn't find what you were looking for, let us know by sending an email to: support@dancik.com.

Run Night Jobs - DP 4

Night jobs should be run after every business day. When requesting night jobs, you can specify the time night jobs should start. You can load night jobs during the day and they will start at the time you specify. Night Jobs are restricted to scheduling no later than 3:00 AM. Running night jobs after 3:00 AM can delay morning operations. If you specify a time after 3:00 AM, a message is displayed indicating your entry is not valid.

Steps to complete before running Night Jobs

Functions performed by Night Jobs

Verifying the System is Ready for Night Jobs

Night Jobs Parameter Screens

Backup Features in Night Jobs

Associated Files

Related FAQs

Note:  Night jobs can close out your system for an extended period. However, the System Wide Setting Back-up Option During Night Jobs allows your warehouse personnel to utilize all features on the Warehouse Menu starting approximately half way through Night Jobs. This reduces down time for warehouse night shifts by approximately 50%.

Complete the following steps before running night jobs:

1.  Ensure that no jobs are running from the system console. The system console is a specially designated terminal. It should be signed off before night jobs are run. The system console can be used to run night jobs, but you should first sign off and sign back on as the system operator without DODOPEN or DODOPEN2 in the user profile.

2.  You should note that when creating user profiles using the IBM supplied WRKUSRPRF command, you can assign a default initial program to each user. All Dancik International users should be assigned DODOPEN or DODOPEN2 in library US as their initial program except the system operator. The system operator should sign onto the system with a user ID that does not have any initial programs assigned. This ensures no files are opened while performing operational tasks.

3.  Ensure that no user jobs are running under the QCTL subsystem by invoking the WRKACTJOB command. Search for jobs that do not begin with a Q running under QCTL and end them. If you do not ever use the Dancik International software from the console, you will not see any jobs under QCTL that need to be cancelled.

4.  Never sign onto the console as a user or with a user profile containing DODOPEN or DODOPEN2 as the start-up program.

5.  Ensure the user profile running the night jobs has the proper system authorities, namely *JOBCTL or *IOSYSCFG, to run night jobs. If the user profile does not have *JOBCTL or *IOSYSCFG authority, night jobs is halted and a message is placed on QSYSOPR which is the message queue for night jobs.

Night jobs perform various important functions, but can be skipped (either accidentally or by design) without causing system problems. Night jobs officially delineate the end of a business day. In effect, not running night jobs keeps the current day open. For example, if you skip running night jobs on Monday, Tuesday’s night jobs handles Monday and Tuesday as a single day and processes them together. No data or functions are lost when night jobs is skipped. However, day-to-day statistics are more realistic when night jobs are run nightly.

Night jobs perform the following functions:

Verifying the System is Ready for Night Jobs

Use the WRKACTJOB command to check the status of jobs running on your system. The following illustration shows the various subsystems including QCTL.

DP_MENU_2.gif 

The above screen displays no non-system jobs under QCTL, and no jobs with errors. Therefore, it is appropriate to proceed with night jobs.

Night Jobs Parameter Screens

A series of parameter screens are displayed when the night jobs option is requested. The content of screens often depends on the answer to a questions on a previous screen.

Following is a sample of the Night Jobs Menu accessed via option 4 on the Data Processing menu (DP 4).

DP_MENU_3.gif 

Option 1

This option loads the night jobs immediately into the main job queue (QBATCH). Enter a “Y” to include automatic backup of all Dancik International’s system data files and EDI data files within the night jobs.

Option 2

Loads the nights jobs into the main job queue (QBATCH) at a scheduled time. Night jobs will only start on the scheduled time. Enter the time and date to begin loading night jobs.

Option 3

Displays the time night jobs is scheduled to start at the terminal where it was requested. The requesting terminal remains on that screen, and cannot be used until after night jobs runs. Night jobs are then loaded into the main job queue (QBATCH).Enter all six digits in HHMMSS (hour, minute, second) format. For example, enter 235959 to start night jobs one second before midnight.

Enter the date in MMDDYY format.

Backup Features in Night Jobs

Multiple backup options are provided by the backup prompt. The basic options require only that you specify what tape drive to perform the backup on. The basic backup options save all of the data used within any Dancik International applications. It includes all data, not just daily transactions.

To select a backup option:

1.  Select an night job run option.

2.  Follow the prompts to begin loading your night jobs.

3.  Regardless of the night jobs run option you are using, you will eventually see the following screen.

Image9.gif 

Associated Files

Abbreviated Night Jobs - DP 6

Running Morning Jobs - DP 5

Night Jobs Scheduler Maintenance - DP 7

System Wide Settings - Backup Options During NightJobs

Backing up the System

Related FAQs

Night Jobs

How can I check to see if night jobs have been submitted manually?

Can we run abbreviated night jobs while the other environment is logged in?

Balancing Cash Receipts From night jobs

How does the option SYS 110 to change item numbers work with night jobs?

Can my warehouse staff log in even during night jobs?

How to ensure that a test environment does not run their production EDI jobs during Night Jobs

Do warehouse reports have to wait for other jobs to run in QBATCH?