Documentation >
MAC-PAC Reference and Help >
Technical Support >
Key Concepts and Procedures >
Operation Procedures >
End Off-line Processing
End Off-line Processing
The procedure to end off-line processing consists of checking for failed off-line transactions. The user may choose to change and back up the journal receiver at this time, as well as at the end of online processing. Otherwise, no further processing is required. The Recovery Management Menu is used to perform this step. The required user procedures are described below. These procedures are illustrated in Figure 8.
End Off-line Processing.
How to End Off-line Processing
Display Recovery
|
Step 1.
|
Select the Recovery Management option Management Menu on the System Processing Menu. The Recovery Management Menu is displayed. A sample of this screen appears in the End Online Processing section.
|
Check for Failed Off- Line
|
Step 2.
|
Select the Off-line option on the Transactions Recovery Management Menu. If no off- line transactions have failed, the Recovery Management Menu is redisplayed with the Option field blank. If any off-line transactions have failed, the Failed Off-line Transactions List screen is displayed. See the Recovery Management section of this manual for a description of this screen and for the necessary recovery procedures.
|
Note: Steps 3 and 4 are optional.
Change Journal Receiver
|
Step 3.
|
Select the Change Journal Receiver option on the Recovery Management Menu. The system automatically generates a new receiver.
|
Display Journal Attributes
|
Step 4.
|
Select the Display Journal Attributes option on the Recovery Management Menu. The attributes for the journal receivers are displayed. The system-assigned name of any receiver that is to be backed up should be noted.
|
Back Up Receiver
|
Step 5.
|
The journal receiver should be backed up whenever the journal receiver is changed. To back up a journal receiver, select the Back Up Receiver option on the Recovery Management Menu. The Journal Receiver Backup screen is displayed. A sample of this screen is found in the Recovery Management section of this manual. Enter the name of each journal receiver that is to be backed up and press the ENTER key. The Recovery Management Menu is redisplayed.
|
Return
|
Step 6.
|
Press F3-Exit to return to the System Processing Menu.
|
End Processing Off-Line
Each morning, before you begin the daily processing, you should run the End Processing Off-line option found on the Recovery Management Menu (*see the Daily Procedures Section of this manual). The End Processing Off-line option will search the system for failed transaction. These failed transactions will most likely be batch transactions.
When to Run End Processing Off-Line
Run the End Processing Off-Line program first thing in the morning before any online processing has started for the day. If someone has already logged on and has made database changes before the program is run, their changes could be backed out by this program. Nothing will be rolled back unless a problem is found; however, if a problem is found everything processed after that problem will be rolled back if you choose the recover option using F22-Cont Recovery. This includes all online database changes.
Off-line Processing
In order for failed batch jobs to appear on this screen, special processing is included with all batch programs that use the off-line processing program for recovery. At the beginning of the job, these programs that perform a manual journal entry to the journal receiver with a Send Journal Receiver command (SNDJRNE). The journal entry contains a begin stamp (BE) as well as an area stamp. The area stamp tells whether it is a manufacturing, distribution, or financial program. Upon successful completion of the job, the program performs another manual journal entry to the journal receiver, sending an end stamp (EN).
The off-line rollback program formats these begin and end stamps into a file and matches them. Any begin stamp without an end stamp signifies a failed off-line job. These failed jobs are candidates for recovery. If you choose to recover the failed job, the recovery process will roll back the journal changes between the begin stamp that was missing an end and the next begin stamp. Then, it will use the area stamp to roll back all changes in the same area that have occurred since the problem. For example, the first financial job fails and every subsequent job is successful. The effect of recovering the failed job will result in all posted financial jobs being rolled backed because they are based on incomplete data from the original posted job.
Priority Submits of Batch Jobs
MAC-PAC controls the submission of your batch jobs to make off-line recovery easier. All jobs that use the manual journal entry processing are submitted with higher job priorities so they will run at the end of your nightly job stream. Programs that do not perform a manual journal entry to the journal receiver (and therefore use commitment control) are submitted with lower job priorities so they will run at the beginning of your nightly job stream. By allowing jobs that use rollback for recovery to run last, you minimize the processing that needs to be rolled back should a failure occur. Submitting jobs with the correct job priorities will keep you from having to recover unnecessary jobs should a problem occur.
List of Batch Jobs Using End Off-Line Processing
Never run jobs using the manual journal entry processing during online hours. Doing so can cause hours of online work being rolled back if recovery is performed. Table 1 lists the batch jobs that use the manual journal entry processing as well as their job priority when submitted. Be sure your batch jobs run in a single threaded job queue to take advantage of these job priorities.
Note Reorganization programs are submitted with a job priority of 5. You will probably need to run them over the weekend when you can have full control of your journal receivers. When these programs perform their reorganize physical file member command (RGZPFM), they use a key file parameter (KEYFILE). This parameter changes the relative record number on the file it reorganizes. When this is changed, the journal receiver attached to that file becomes unusable and must be changed.
|
|
|
AP500C
|
Transaction File Purge
|
9
|
AR091C
|
Batch Invoice & DR/CR Post
|
9
|
AR310C
|
Aged Accounts Receivable Print
|
9
|
AR320C
|
Credit Exceptions Print
|
9
|
AR370C
|
Customer Statements Print
|
9
|
AR520C
|
General Ledger Distribution
|
9
|
AR770C
|
Data Base Audit/Purge
|
9
|
AR775C
|
Subsystem Purge
|
9
|
CF165CLP
|
Carrier Master Reorganization
|
5
|
CF640CLP
|
Carrier Master file Audit Trail
|
8
|
DE020CLP
|
Design Engineering File Reorganization
|
5
|
DE025CLP
|
Bundle Master Reorganization
|
5
|
DE120CLP2
|
Batch Product Structure Maintenance
|
7
|
EC020CLP
|
Rules Reorganization
|
5
|
EC040CLP
|
Matrix Reorganization
|
5
|
GA020CLP
|
Synchro Reorganization
|
5
|
GA022CLP
|
Synchro Reorganization
|
5
|
GA024CLP
|
Synchro Reorganization
|
5
|
GA026CLP
|
Synchro Reorganization
|
5
|
GL121C
|
Allocation Distribution
|
9
|
GL201C
|
General Ledger Post
|
9
|
GL230C
|
Adjustment Journal Post
|
9
|
GL251C
|
General Ledger Post
|
9
|
GL271C
|
Revaluation Post
|
9
|
GL811C
|
Budget Allocation Distribution
|
9
|
GL951C
|
History File Maintenance
|
9
|
IAPEREND
|
Inventory Accounting Period End Processing
|
9
|
ICAUDITRPT
|
Inventory Control Transaction Register
|
8
|
JC050CLP
|
Job Master File Purge
|
5
|
JC510CLP
|
Job Control Audit Trail
|
8
|
JT020CLP
|
JIT File Purge
|
5
|
JT500CLP
|
JIT Audit Trail
|
8
|
ME020CLP
|
Workcenter Reorganization
|
5
|
OP090CLP
|
Sales Order History Purge
|
5
|
PO020CLP
|
Purchasing Reorganization
|
5
|
PO260CLP
|
Purchase Orders Statistics Update
|
7
|
PO280CLP
|
Vendor Allocation
|
7
|
SA100CLP
|
Sales Statistics Post
|
7
|
TC020CLP
|
Transfer Control Reorganization
|
5
|
MAC-PAC programs using manual journal entry processing
These programs are to be run at the end of your nightly batch run.