About the command to update the Last Access Date.

book

Article ID: 53306

calendar_today

Updated On:

Products

CA Panvalet

Issue/Introduction

Panvalet has many commands. Which command updates the Last Access Date?

 

Environment

Release:
Component: C21E

Resolution

Each command is as follows according to the utility.

UPDT ---- Updates the Last Access Date.
NUPDT --- Does not update the Last Access Date.
* ------- Can not specify the PARM='OPEN=INP'.
PAN#1
+==========================================================================+
| PAN#1                                                                    |
+----------------+-------+----------------+-------+----------------+-------+
|   ++ACCESS     | NUPDT |   ++EJECT      | NUPDT | * ++R          | See #1|
| * ++ADD        | UPDT  |   ++EXEC       | NUPDT | * ++RENAME     | UPDT  |
| * ++ALLOCATE   | UPDT  | * ++FORMAT     | UPDT  | * ++RESEQ      | UPDT  |
| * ++ATTACH     | UPDT  | * ++I          | See #1|   ++SELECT     | UPDT  |
| * ++C          | See #1|   ++ID         | NUPDT | * ++STATUS     | UPDT  |
| * ++COMMENT    | UPDT  |   ++INCLUDE    | See #1| * ++UNLOCK     | UPDT  |
|   ++CONTROL    | NUPDT |   ++INSERT     | See #1| * ++UPDATE     | UPDT  |
| * ++COPY       | UPDT  | * ++LEVEL      | UPDT  | * ++USER       | UPDT  |
| * ++D          | See #1| * ++LOCK       | UPDT  |   ++USING      | NUPDT |
| * ++DETACH     | UPDT  |   ++OPTION     | NUPDT |   ++WRITE      | UPDT  |
+----------------+-------+----------------+-------+----------------+-------+

#1 You can not use the command with only itself.

 
+==========================================================================+
| PAN#2                                                                    |
+----------------+-------+----------------+-------+----------------+-------+
|   ++ATTRIBUTE  | NUPDT | * ++LOCK       | UPDT  | * ++TRANSFER   | NUPDT |
| * ++AUDIT      | NUPDT | * ++OPTION     | NUPDT |     (LIB-LIB)  |       |
| * ++BYPASS     | NUPDT |   ++PRINT      | NUPDT |   ++TRANSFER   | NUPDT |
| * ++CONTROL    | NUPDT | * ++REPLACE    | See #2|     (PROT)     |       |
| * ++DELETE     | ----- | * ++RESTORE    | See #2| * ++UNLOCK     | UPDT  |
| * ++DUMP       | NUPDT |   ++USING      | NUPDT | * ++UPGRADE    | NUPDT |
+----------------+-------+----------------+-------+----------------+-------+

#2 When you specify optional parameters on the RESTORE or REPLACE command, the Date of Last Access is updated to the date the RESTORE or REPLACE occurs.
When you do not specify any optional parameters on the RESTORE or REPLACE command, the Date of Last Access remains as it was when the member was put onto the Panvalet protection file.

+==========================================================================+
| PAN#3                                                                    |
+----------------+-------+----------------+-------+----------------+-------+
|   ++DSN        | NUPDT | * ++REP        | NUPDT |                |       |
+----------------+-------+----------------+-------+----------------+-------+
 
+==========================================================================+
| PAN#4                                                                    |
+----------------+-------+----------------+-------+----------------+-------+
| * ++CLEAR      | NUPDT | * ++SUPPRESS   | NUPDT |                |       |
+----------------+-------+----------------+-------+----------------+-------+
 
+==========================================================================+
| PAN#6                                                                    |
+----------------+-------+----------------+-------+----------------+-------+
|  ++ANALYSIS    | NUPDT |                |       |                |       |
+----------------+-------+----------------+-------+----------------+-------+
 
+==========================================================================+
| PAN#7                                                                    |
+----------------+-------+----------------+-------+----------------+-------+
|  ++CROSSREF    | NUPDT |                |       |                |       |
+----------------+-------+----------------+-------+----------------+-------+
 
+==========================================================================+
| PAN#8                                                                    |
+----------------+-------+----------------+-------+----------------+-------+
|  ++CONTROL     | NUPDT | * ++REP        | UPDT  |  ++SCAN        | NUPDT |
+----------------+-------+----------------+-------+----------------+-------+
 
                                                                     - END -