|
VMS Help DUMP, Examples *Conan The Librarian |
1.$ DUMP TEST.DAT
Dump of file DISK0:[MOORE]TEST.DAT;1 on 14-DEC-2001 15:43:26.08
File ID (3134,818,2) End of file block 1 / Allocated 3
Virtual block number 1 (00000001), 512 (0200) bytes
706D6173 20612073 69207369 68540033 3.This is a samp 000000
73752065 62206F74 20656C69 6620656C le file to be us 000010
61786520 504D5544 2061206E 69206465 ed in a DUMP exa 000020
00000000 00000000 0000002E 656C706D mple............ 000030
00000000 00000000 00000000 00000000 ................ 000040
00000000 00000000 00000000 00000000 ................ 000050
00000000 00000000 00000000 00000000 ................ 000060
.
.
.
00000000 00000000 00000000 00000000 ................ 0001E0
00000000 00000000 00000000 00000000 ................ 0001F0
The DUMP command displays the contents of TEST.DAT both in
hexadecimal longword format and in ASCII beginning with the
first block in the file.
2.$ DUMP TEST.DAT/OCTAL/BYTE
Dump of file DISK0:[SCHELL]TEST.DAT;1 on 14-DEC-2001 15:45:33.58
File ID (74931,2,1) End of file block 1 / Allocated 3
Virtual block number 1 (00000001), 512 (0200) bytes
151 040 163 151 150 124 000 063 3.This i 000000
160 155 141 163 040 141 040 163 s a samp 000010
040 145 154 151 146 040 145 154 le file 000020
163 165 040 145 142 040 157 164 to be us 000030
040 141 040 156 151 040 144 145 ed in a 000040
141 170 145 040 120 115 125 104 DUMP exa 000050
377 377 000 056 145 154 160 155 mple.... 000060
000 000 000 000 000 000 000 000 ........ 000070
000 000 000 000 000 000 000 000 ........ 000100
000 000 000 000 000 000 000 000 ........ 000110
.
.
.
000 000 000 000 000 000 000 000 ........ 000760
000 000 000 000 000 000 000 000 ........ 000770
The DUMP command displays the image of the file TEST.DAT,
formatted both in octal bytes and in ASCII characters beginning
with the first block.
3.$ DUMP NODE3::DISK2:[STATISTICS]RUN1.DAT
This command line dumps the file RUN1.DAT that is located at
remote node NODE3. The default DUMP format will be used.
4.$ DUMP/HEADER/BLOCK=COUNT=0 SYS$SYSTEM:DATASHARE.EXE
Dump of file SYS$SYSTEM:DATASHARE.EXE on 12-NOV-2001 16:06:46.75
File ID (16706,59,0) End of file block 410 / Allocated 411
File Header
Header area
Identification area offset: 40
Map area offset: 100
Access control area offset: 255
Reserved area offset: 255
Extension segment number: 0
Structure level and version: 2, 1
File identification: (16706,59,0)
Extension file identification: (0,0,0)
VAX RMS attributes
Record type: Fixed
File organization: Sequential
Record attributes: <none specified>
Record size: 512
Highest block: 411
End of file block: 410
End of file byte: 414
Bucket size: 0
Fixed control area size: 0
Maximum record size: 512
Default extension size: 0
Global buffer count: 0
Directory version limit: 0
File characteristics: Contiguous best try
Caching attribute: Writethrough
Map area words in use: 3
Access mode: 0
File owner UIC: [1,4]
File protection: S:RWED, O:RWED, G:RE, W:
Back link file identification: (7149,80,0)
Journal control flags: <none specified>
Active recovery units: None
Highest block written: 411
Client attributes: None
Identification area
File name: DATASHARE.EXE
Revision number: 1
Creation date: 12-AUG-2001 14:06:49.84
Revision date: 12-AUG-2001 14:06:53.20
Expiration date: <none specified>
Backup date: <none specified>
Map area
Retrieval pointers
Count: 411 LBN: 1297155
Checksum: 30710
In this example, the DUMP command dumps the file header of the
specified file. Because this file is recorded on Files-11 ODS-2
9660 media, the file header is displayed in a Files-11 File
Header format. Imbedded on the Files-11 Header is a VAX RMS
attributes block.
5.$ DUMP/HEADER/BLOCK=COUNT=0 DISK$GRIPS_2:[000000]AAREADME.TXT;
Dump of file DISK$GRIPS_2:[000000]AAREADME.TXT;1 on 15-DEC-2001
10:07:29.70
File ID (4,6,0) End of file block 29 / Allocated 29
ISO 9660 File Header
Length of Directory Record: 48
Extended Attribute Length: 1
Location of Extent (LSB/MSB): 312/312
Data Length of File Section (LSB/MSB): 14640/14640
Recording Date and Time 10-DEC-2001 16:22:30 GMT(0)
File Flags RECORD, PROTECTION
Interleave File Unit size: 0
Interleave Gap size: 0
Volume Sequence # of extent (LSB/MSB): 1/1
File Identifier Field Length: 14
File Identifier: AAREADME.TXT;1
System Use
5458542E 454D4441 45524141 0E010000 01000018 001E1610 100B5930 39000000
...90Y..............AAREADME.TXT 000000
00313B
;1.............................. 000020
Extended Attribute record
Owner Identification (LSB/MSB): 7/7
Group Identification (LSB/MSB): 246/246
Access permission for classes of users S:R, O:R, G:RE, W:RE
File Creation Date/Time: 5-OCT-2001 14:17:49.29 GMT(0)
File Modification Date/Time: 6-NOV-2001 16:22:30.96 GMT(0)
File Expiration Date/Time: 00-00-0000 00:00:00.00 GMT(0)
File Effective Date/Time: 00-00-0000 00:00:00.00 GMT(0)
Record Format Fixed
Record Attributes CRLF
Record Length (LSB/MSB): 80/80
System Identifier:
System Use
Extended Attribute Version: 1
Escape Sequence record length: 0
Application Use Length (LSB/MSB): 0/0
Application Use
VAX RMS attributes
Record type: Fixed
File organization: Sequential
Record attributes: Implied carriage control
Record size: 80
Highest block: 29
End of file block: 29
End of file byte: 304
Bucket size: 0
Fixed control area size: 0
Maximum record size: 80
Default extension size: 0
Global buffer count: 0
Directory version limit: 0
The DUMP/HEADER command dumps the file header of the specified
file. Because this file is recorded on ISO 9660 media, the file
header is displayed in the format of an ISO 9660 File Header
and, since this file contains an optional ISO 9660 Extended
Attribute Record (XAR), it is also displayed. Finally, as with
all DUMP/HEADER requests, VAX RMS attributes are displayed.
|
|