|
6 | 6 | // |
7 | 7 | // The source code contained herein is licensed under the IBM Public License |
8 | 8 | // Version 1.0, which has been approved by the Open Source Initiative. |
9 | | -// Copyright (C) 1997-2001 International Business Machines Corporation and |
| 9 | +// Copyright (C) 1997-2002 International Business Machines Corporation and |
10 | 10 | // others. All rights reserved. |
11 | 11 | // |
12 | 12 | /////////////////////////////////////////////////////////////////////////////// |
|
54 | 54 | public class Job |
55 | 55 | implements Serializable |
56 | 56 | { |
57 | | - private static final String copyright = "Copyright (C) 1997-2001 International Business Machines Corporation and others."; |
| 57 | + private static final String copyright = "Copyright (C) 1997-2002 International Business Machines Corporation and others."; |
58 | 58 |
|
59 | 59 |
|
60 | 60 |
|
@@ -6372,6 +6372,31 @@ public void loadInformation() |
6372 | 6372 | // Need to load an attribute from each format. |
6373 | 6373 | try |
6374 | 6374 | { |
| 6375 | + // @F0A - begin |
| 6376 | + // Clear all values. |
| 6377 | + values_.clear(); |
| 6378 | + |
| 6379 | + // Reset all of the important information |
| 6380 | + if (internalJobID_.equals("")) |
| 6381 | + { |
| 6382 | + setValueInternal(INTERNAL_JOB_ID, null); |
| 6383 | + setValueInternal(JOB_NAME, name_); |
| 6384 | + setValueInternal(USER_NAME, user_); |
| 6385 | + setValueInternal(JOB_NUMBER, number_); |
| 6386 | + } |
| 6387 | + else |
| 6388 | + { |
| 6389 | + setValueInternal(INTERNAL_JOB_ID, internalJobID_); |
| 6390 | + setValueInternal(JOB_NAME, null); |
| 6391 | + setValueInternal(USER_NAME, null); |
| 6392 | + setValueInternal(JOB_NUMBER, null); |
| 6393 | + } |
| 6394 | + setValueInternal(JOB_STATUS, status_); |
| 6395 | + setValueInternal(JOB_TYPE, type_); |
| 6396 | + setValueInternal(JOB_SUBTYPE, subtype_); |
| 6397 | + // @F0A - end |
| 6398 | + |
| 6399 | + // Retrieve all values. |
6375 | 6400 | retrieve(THREAD_COUNT); // 150 |
6376 | 6401 | retrieve(CURRENT_SYSTEM_POOL_ID); // 200 |
6377 | 6402 | retrieve(JOB_DATE); // 300 |
|
0 commit comments