MTC V49 PDF
MTC V49 PDF
MTC V49 PDF
COPY
Contents
Chapter 1 Introduction to Diplomat COPY ...............................................................................................................1
1.1 Description.......................................................................................................................................................1
1.2 Hardware and Software Requirements ............................................................................................................1
1.2.1 Computer System ......................................................................................................................................1
1.2.2 Supported Tape Devices and Tape Drivers ..............................................................................................1
1.2.3 Plotting .....................................................................................................................................................2
1.2.4 Online Help...............................................................................................................................................2
1.2.5 Assumed Knowledge .................................................................................................................................2
1.3 Licensing .........................................................................................................................................................2
1.4 Environment Variables ....................................................................................................................................3
1.5 Site File............................................................................................................................................................3
1.6 Other DPTS Programs running under Windows..............................................................................................3
1.7 Update History.................................................................................................................................................4
1.7.1 Version 4.9 April 2005..............................................................................................................................4
1.7.2 Version 4.8 April 2004..............................................................................................................................4
1.7.3 Version 4.7 September 2003 .....................................................................................................................4
1.7.4 Version 4.6 October 2002 .........................................................................................................................5
1.7.5 Version 4.5 February 2002 .......................................................................................................................5
1.7.6 Version 4.4 July 2001 ...............................................................................................................................5
1.7.7 Version 4.2 December 2000......................................................................................................................5
1.8 Program Activation Methods...........................................................................................................................6
Chapter 2 User Guide ................................................................................................................................................7
2.1 Start-Up screen ................................................................................................................................................7
2.2 HOW TO READ A TAPE...............................................................................................................................7
2.2.1 Purpose of Reading...................................................................................................................................7
2.2.2 Associated Commands/Online Help .........................................................................................................7
2.2.3 Showing the Available Tape Devices........................................................................................................8
2.2.4 Assigning the Input Tape Device ..............................................................................................................8
2.2.5 The READ command.................................................................................................................................9
2.2.6 REWIND/UNLOAD/RELEASE commands...............................................................................................9
2.2.7 Controlling LISTING frequency .............................................................................................................10
2.2.8 Log file output.........................................................................................................................................10
2.3 HOW TO COPY A TAPE .............................................................................................................................10
2.3.1 Purpose of Copying ................................................................................................................................10
2.3.2 Associated Commands ............................................................................................................................10
2.3.3 Showing Available Tape Devices............................................................................................................11
2.3.4 Assigning the Output Tape Device..........................................................................................................11
2.3.5 The COPY command...............................................................................................................................11
2.3.6 REWIND/UNLOAD/RELEASE commands.............................................................................................12
2.3.7 Controlling LISTING frequency .............................................................................................................12
2.3.8 Log file output.........................................................................................................................................12
2.3.9 Reading back the Output Tape................................................................................................................12
2.4 HOW TO DUMP A TAPE ............................................................................................................................13
2.4.1 Purpose of Dumping ...............................................................................................................................13
2.4.2 Assigning the Input Tape ........................................................................................................................13
2.4.3 Showing Dump Parameter Settings ........................................................................................................13
2.4.4 The DUMP command .............................................................................................................................13
2.4.5 Limiting the Dump Quantity ...................................................................................................................13
2.4.6 Dumping to an Output File .....................................................................................................................14
2.4.7 Changing the Character Code................................................................................................................14
2.4.8 Interrupting the Dump ............................................................................................................................14
-i-
- ii -
3.5.12 Spoffset..................................................................................................................................................35
3.5.13 Terminator ............................................................................................................................................35
3.5.14 Translate ...............................................................................................................................................36
3.5.15 Zero.......................................................................................................................................................36
3.6 Command Category - Info .............................................................................................................................36
3.6.1 Directory.................................................................................................................................................36
3.6.2 Help ........................................................................................................................................................37
3.6.3 Show........................................................................................................................................................37
3.7 Command Category - Others .........................................................................................................................38
3.7.1 Exit..........................................................................................................................................................38
3.7.2 Jobinfo ....................................................................................................................................................38
3.7.3 System .....................................................................................................................................................38
3.7.4 Test .........................................................................................................................................................38
3.7.5 Text .........................................................................................................................................................39
3.8 Command Category - TAR............................................................................................................................39
3.8.1 Tarlist......................................................................................................................................................39
3.8.2 Tarinp .....................................................................................................................................................40
3.8.3 Tarout .....................................................................................................................................................40
3.8.4 Tarextract ...............................................................................................................................................41
Chapter 4 Miscellaneous Topics..............................................................................................................................42
4.1 File Versioning ..............................................................................................................................................42
Appendix A Disk-file Encapsulation Formats.........................................................................................................43
A.1 Disk-file Encapsulation Formats...................................................................................................................43
A.1.1 ARC........................................................................................................................................................43
A.1.2 TIF .........................................................................................................................................................43
A.1.3 MTD.......................................................................................................................................................43
A.1.4 BIN.........................................................................................................................................................43
A.1.5 SGY ........................................................................................................................................................43
A.1.6 TXT ........................................................................................................................................................44
Appendix B Tape Device Characteristics ................................................................................................................45
Appendix C Tape Device Management...................................................................................................................46
C.1 Displaying the Available Tape Devices ........................................................................................................46
C.2 Making a Tape Drive Available ....................................................................................................................46
C.3 DPTS_MEM Memory Allocator...................................................................................................................47
Appendix D AUXILIARY FILES...........................................................................................................................48
D.1 Index Files ....................................................................................................................................................48
D.2 Runlist Files ..................................................................................................................................................49
D.2.1 SELECT Program - Generating Runlist Files for SP Selection .............................................................50
Appendix E DIALOG BOX REFERENCE.............................................................................................................51
E.1 General Parameters Dialog............................................................................................................................51
E.2 INDEXCOPY, BACKUPCOPY, BACKUPREAD Settings Dialog.............................................................52
E.3 DUMP Parameters Dialog.............................................................................................................................53
E.4 RODE Parameter Dialog ...............................................................................................................................54
E.5 CHECKREAD Trace Header Definition Dialog...........................................................................................55
E.6 BATCHCOPY Dialog...................................................................................................................................57
E.7 SEGY to SEGY Settings Dialog ...................................................................................................................60
E.8 SEGD to SEGD Settings Dialog ...................................................................................................................64
E.9 Input Disk File Specification Dialog.............................................................................................................66
E.10 Output Disk File Specification Dialog ........................................................................................................66
E.11 BATCHCOPY Plotting Parameters Dialog.................................................................................................67
E.12 XVU-Parameter Dialog...............................................................................................................................69
E.13 TAREXTRACT Dialog...............................................................................................................................71
- iii -
1.1 Description
DIPLOMAT COPY is a flexible copying program suitable for small or large-scale projects. It handles a variety of
devices and media types - ancient and modern - commonly found in the geophysical exploration industry such as 9track, 21-track, 7-track and cartridges. It can be used to reduce data volumes by concatenating to higher density
media. Seismic record lengths (i.e. long) are fully supported.
Data can be recovered successfully from badly recorded or deteriorating media. Auditing can be performed to assess
the condition of media. Hexadecimal dumps can be produced to allow detailed examination down to the bit level for
format analysis. Comparison checks can be made to verify copies.
Index files suitable for loading into a database or spreadsheet can be produced describing media content. The
original record structure as on tape is preserved during copying. File encapsulation can be performed to facilitate
disk file interchange. Record encapsulation can be performed to optimise media capacity.
Cartridge stackers are supported to minimise operator workload and achieve maximum throughput. Copying can be
driven from batch lists although this is not a requirement. Transcription speed is limited only by the hardware.
Plotting of SEGY and SEGD formats is optionally performed for online QC.
A rich variety of support functions and parameters is available to tailor the program to the particular needs of the
user, project and data.
-1-
It is generally a simple matter for DPTS to incorporate new devices by writing a specific tape driver for that device.
Available DPTS tape drivers are listed below:
Note that the driver names above are for Windows 2000 and Windows XP. For Windows NT Version 4 the driver
names do not have the "_V5" suffix.
1.2.3 Plotting
For the plotting features of the Diplomat COPY program to work, the DPTS program XVU.EXE must be present in
the directory pointed at by the DPTS_EXE environment variable. XVU is run by Diplomat COPY as a detached
process to handle any plotting.
1.3 Licensing
All major DPTS software products require a licence. Products can be licensed in three ways: by Ethernet card, by
USB hardware key, or by parallel port hardware key. There are two components to this licence: the CPU Licence
Key file and the Product Licence Key file. The CPU Licence Key file covers all DPTS software products running on
one system and is called "DPTSREG.LIC". The Product Licence Key file covers a single product and is called
"product.KEY" for Ethernet licences, "product_USB.KEY" for USB licences or "product_PAR.KEY" for parallel
-2-
where "F" is the disk drive letter. Note that the trailing "\" is important, and note that these variables are not search
paths.
-3-
extracting files, curves and depth ranges. Reads DLIS, LIS, BIT, LAS, etc. Writes DLIS, LIS, LAS and
SEGY.
WELLMAN - Well-Log Automatic digitising program. Vectorises raster images.
UKLIST - Navigation Format Utility program. Lists, converts UKOOA and SEGP.
MAPLOT - Navigation Plotting program.
REGLIC3 - DPTS Licence Key registration program.
SHOWETH - Network interface card network address display program.
DPTSCHK - Checks DPTS environment parameters and setup.
PURGE - Deletes all but highest numbered version of a file.
SELECT - Allows generation of runlists using a SP selection list and DPTS index files.
DPMUTIL - DPTS Production Monitoring system utility program.
New SEGY settings parameter: "Confirm no. of data and aux traces"
New RODE parameters: "Ignore checksum bit" and "Full diagnostic"
More sophisticated wildcard specification for TAROUT. Allows you to select files from sub-directories.
Preserves full file spec in TAR file.
Implemented new "select by area using mid-point" SEGY Selection settings parameter.
Implemented new "select by area using specified locations" SEGY Selection settings parameter.
SEGY settings parameter "Relaxed check" now does not check data and aux counts.
New XVU - now annotates Shotpoint numbers.
New "One to Many" BATCHCOPY tape ratio parameter. Allows you to copy from high density media to
low density media, preserving SEGY headers, etc.
New TAREXTRACT command
Disk file names specified on the command line can now contain spaces, when surrounded by double
quotes.
New option on SEGY settings dialog: "SEGY Header retention tape frequency". This allows you to keep
every nth header which would otherwise be dropped if compatible. Allows you to limit the size of the files
on an output.
Implemented SEGY selection by SEL_FILE for SEGY.
Implemented SEGY selection by area - using a polygon rather than xmin/xmax/ymin/ymax.
Implemented DPTS Production Monitoring system
-4-
New "Drop" command added to mimic the functionality of the existing "Drop duplicate blocks" option in
the General Parameters dialog.
New "Test" command. Allows write-tests to be performed for media capacity checking.
Old "Media" command has been removed
New Batchcopy SEGY settings:
Drop reel headers if compatible - Relaxed check
Defer writing last partial ensemble - Ask
Batchcopy dialog - new option: "Rewind output on restart"
New Dump parameters: "Frequency" and "Frequency scope". Allows dumping of every nth tape block.
General Parameters dialog - "Checkread" button replaces "Job" button. Allows modification of Checkread
parameters.
New field recognised in tapelist import file called "SEL_FILE" for specifying file (record) ranges to copy.
When plotting to a disk file, plot-windows are not retained.
Various minor bug fixes
-5-
-6-
The "Enter new directory" prompt allows you to override the current default directory location. Any files generated
by the program will be located in the selected directory. A check is made to ensure that the chosen directory already
exists.
The "Enter log file name" prompt allows you to specify a name for the log file. The log file will contain a record of
all commands entered and any informational output produced by the program. In common with other DPTS
programs, any files generated by DIPLOMAT COPY support File Versioning. This is a safety feature that
eliminates accidentally overwriting a file. If you try to create a file that already exists, DIPLOMAT COPY will
rename the existing file by appending a version number to the filename. In the example above, it can be seen that the
file name "SCRATCH.MTCOPY" already exists. For safety, the default to the prompt is "V", so that a new version
of the file is created.
-7-
INPUT
LISTING
READ
REWIND
UNLOAD
RELEASE
IDOFFSET
ctrl/c
Note that all command names and any keywords used to qualify the commands can be abbreviated, so long as their
meaning is not ambiguous. For clarity, commands are not abbreviated in this documentation. These are described in
more detail in the online help facility and in the Command Reference. To obtain online help for the LISTING
command, enter "HELP LISTING". To obtain a list of available commands simply enter HELP. To obtain help on
any command enter "HELP" followed by the command of interest.
Addr
WORM
TAPE
TAPE
TAPE
TAPE
TAPE
DISK
CD
A100
A200
A201
A400
A500
A600
B000
B500
Devnam Onl
Tape0
Tape1
Tape2
Tape3
Y
Y
Y
Y
N
Y
Y
Y
Vendor
Product
Rev.
Inquiry Header
YAMAHA
STK
STK
EXABYTE
HP
EXABYTE
QUANTUM
TOSHIBA
CDR100
4280
4280
EXB-850085QANXRC
HP35470A
EXB-85058SQANXR1
FIREBALL1080S
CD-ROM XM-5301TA
1.10
2730
2730
06X0
1009
0781
1Q09
1895
04
01
01
01
01
01
00
05
80
80
80
80
80
80
00
80
02
02
02
02
02
02
02
02
02
02
02
02
02
02
02
02
27
33
33
65
23
65
7D
5B
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
18
18
10
18
10
18
98
This shows all the available SCSI devices on your system, which includes magnetic disks, CD's, and tapes. See
Tape Device Management in the Appendix for more information on these devices, and how to connect new ones.
We are interested only in tape devices, those with "TAPE" in the "Type" column. The "Onl" column (Online) must
be "Y" for the device to be available for use. If the device you require is not online, see Tape Device Management
in the Appendix for further information on how to make it available. The "Vendor" and "Product" columns describe
the device.
To obtain a hardcopy listing enter the following:
Command: SHOW DEVICES LOGFILE
Note that the device address is prefixed with "MK". Once you have entered this command a series of questions is
asked to obtain the tape device characteristics. These characteristics differ between device types, the questions asked
for an EXABYTE are different to those asked for an IBM 3590. A full list of possible questions is described in Tape
Device Characteristics in the Appendix. Normally, you can default all these questions, however, you must ensure
that the "Blocksize" characteristic is set to zero, at present.
-8-
This will cause the tape to be read until two consecutive file marks are encountered. (DEOF stands for "doubleEOF" - double end-of-file mark.). To interrupt the READ operation before it has finished, press the CTRL/C key
combination. Pressing CTRL/C will cause you to be asked whether you wish to continue or abort. The length of
each tape block is displayed as the read progresses. An example display, with CTRL/C pressed after 10 blocks, is as
follows:
Command: READ TO DEOF
Length =
3200 ID = C340F140 (
Length =
400 ID = 000003EB (
Length =
6508 ID = 00000001 (
Length =
6508 ID = 00000002 (
Length =
6508 ID = 00000003 (
Length =
6508 ID = 00000004 (
Length =
6508 ID = 00000005 (
Length =
6508 ID = 00000006 (
Length =
6508 ID = 00000007 (
Length =
6508 ID = 00000008 (
Operation terminated by operator
Data successfully transferred = (
Transfer total 55664 bytes, 0.05 Mb,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
0,
10,
0.0001 Gb
1)
2)
3)
4), Parity
5)
6)
7)
8)
9)
10)
10)
"Operation terminated by operator" indicates that the operation was interrupted by CTRL/C. "Data successfully
transferred" shows the final counter total. "Transfer total" shows the quantity of data read expressed in bytes, Megabytes, and Giga-bytes, respectively. Note that a parity error occurred on block number 4, indicated by "Parity" in the
display listing.
If you do not want to read to the DEOF, but just want to read a number of tape blocks, then other forms of the
READ command are:
Command: READ 12
Command: READ 12 BLOCKS
Command: READ 50 FILES
The first two forms will read 12 tape blocks and then stop. The third will read until 50 EOF marks have been
encountered before stopping. Click READ command for more information.
-9-
Command: REWIND
DIPLOMAT COPY will wait for the tape to rewind before giving control back to you unless you specify the
"NOWAIT" command qualifier:
Command: REWIND NOWAIT
The input tape drive remains assigned to DIPLOMAT COPY after this command. Use the "UNLOAD" command
(which is similar to the "REWIND" command) to physically dismount or eject the media from the drive. After an
"UNLOAD" command the drive has to be re-assigned before use. The "RELEASE" command is similar to the
"UNLOAD" command in that the drive is de-assigned, but differs in that the tape is not rewound to BOT and the
media is not ejected. Click REWIND command, or UNLOAD command, or RELEASE command for more
information.
- 10 -
COPY
REWIND
UNLOAD
RELEASE
Note that the device address is prefixed with "MK". The tape media must be present and ready before issuing the
OUTPUT command. Once you have entered this command a series of questions is asked to obtain the tape device
characteristics. These characteristics differ between device types, the questions asked for an EXABYTE are
different to those asked for an IBM 3590. A full list of possible questions is described in Tape Device
Characteristics in the Appendix. Normally, you can default all these questions, however, you must ensure that the
"Blocksize" characteristic is set to zero, at present.
This will cause the input tape to be read and the output tape to be written until two consecutive file marks are
encountered. (DEOF stands for "double-EOF" - double end-of-file mark.) To interrupt the COPY operation before it
has finished, press the CTRL/C key combination. Pressing CTRL/C will cause you to be asked whether you wish to
continue or abort. Like the READ command, the length of each tape block read is displayed as the copy progresses.
When a DEOF has been copied, you will see the following message:
"Reversing output by one block"
This has the effect of leaving the output tape positioned between 2 EOF marks. If you have finished with the output
tape, the output tape is correctly terminated by the DEOF, and it can be unloaded. If you have not finished and wish
to concatenate more data onto it, then the output tape is correctly positioned for this also. When you start another
copying operation the 2nd EOF mark will be overwritten.
Command: COPY TO DEOF
Length =
3200
Length =
400
Length =
6508
Length =
6508
Length =
6508
Length =
6508
Length =
6508
Length =
6508
Length =
6508
Length =
6508
End-of-File
End-of-File
ID
ID
ID
ID
ID
ID
ID
ID
ID
ID
=
=
=
=
=
=
=
=
=
=
C340F140
000003EB
00000001
00000002
00000003
00000004
00000005
00000006
00000007
00000008
(
(
(
(
(
(
(
(
(
(
(
(
- 11 -
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
2,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
1,
1)
2)
3)
4), Parity
5)
6)
7)
8)
9)
10)
11) (55664 bytes)
12) (0 bytes)
12)
Note that whenever an EOF mark is encountered, the total number of bytes within the file is displayed.
If you do not want to copy to the DEOF, but just want to copy a number of tape blocks, then other forms of the
COPY command are:
Command: COPY 12
Command: COPY 12 BLOCKS
Command: COPY 50 FILES
The first two forms will copy 12 tape blocks and then stop. The third will copy until 50 EOF marks have been
encountered before stopping.
To rewind both the input tape and the output tape enter the REWIND command as follows:
Command: REWIND INPUT OUTPUT
If you don't want to wait for the rewind to complete, specify the "NOWAIT" command qualifier as follows:
Command: REWIND NOWAIT INPUT OUTPUT
The UNLOAD and RELEASE commands operate in a similar fashion to the REWIND command. Click REWIND
command, or UNLOAD command, or RELEASE command for more information.
The first will read and list 10 blocks from the OUTPUT tape. The second will read from the OUTPUT tape until a
DEOF is encountered.
- 12 -
C@q@QVB@UdTBEYz@ppqpps@@
YEES@UdTBEYz@ppp
Alternatively, you could use the DUMP SIZE parameter to limit the size of all subsequent dump operations:
Command: DUMP SIZE 40
Command: DUMP 10
- 13 -
All dump output will be written to the "filename.dmp" file, and not to the screen or to the log file. Details of each
tape block will be listed to the screen and log file in a similar way to the listing produced by the READ command. If
the filename extension is omitted, the default is "DMP".
If you know that the data doesn't contain any character data or if you are not interested in it, you could turn off the
character code translation to save space, as follows:
Command: DUMP CHARACTER NONE
Length =
3200 ID = C340F140 (
1,
1,
1)
0 C340 F140 D1D6 C240 D5E4 D4C2 C5D9 7A40 F0F0 F1F0 F0F3 4040 D9C5 C5D3
28 40D5 E4D4 C2C5 D97A 40F0 F0F0
^
------------------------------------------------------------|
^
---------------------|
|
^
|
|
|
+--- byte offset
+---- hexadecimal disp
+- character translation
In the example above, the 1st byte of the tape block is at offset 0 and contains "C3" in hexadecimal. The 2nd byte is
at offset 1 and contains "40". The 25th byte is at offset 24 and contains "D9".
- 14 -
INPUT MKA200
DUMP SIZE 40
DUMP OUTPUT FILE.DMP
DUMP 10
UNLOAD NOWAIT INPUT
The above tapelist will copy input tape INP1 to output reel 101, INP2 to 102, INP3 to 103, and INP4 to 104. Index
files will be created for outputs 101, 102, 103 and 104.
- 15 -
The above tapelist will copy all 4 input tapes (INP1, INP2, INP3, and INP4) to output reel 101. One index file for
reel 101 will be created. If the format is SEGY, the SEGY reel header will be retained for LINE2.
The OPREEL column in the above tapelist will be ignored and you will be prompted for the initial output reel
number. If you specify 201 as the initial output reel number and, depending on the capacity you've specified, INP1
might be copied to 3 output reels numbered 201, 202, and 203. INP2 might be copied to 3 output reels numbered
204, 205, and 206. Similarly for INP3 and INP4. Index files will be created for each output produced.
- 16 -
For SEGY you can also specify "global" selection (which applies to all tapes in the tapelist, regardless of line) by
using the BATCHCOPY SEGY SETTINGS "Selection Settings" parameter button. You can select by Area
(specifying a polygon), or by FFID, CHAN, INLINE, and/or XLINE number. If selecting by Area, the X and Y
coordinates must be present in each SEGY trace header.
The problem in selecting from multi-line input tapes is the fact that the starting position of each line on the input
tape is not generally known. If the multi-line input tape was generated by a prior BATCHCOPY M-1 operation, then
the position of the lines will be known as this would have been recorded in the index file. Such index files can be
imported as tapelists. The position of each line is defined by the file sequence numbers on the multi-line input tape.
Record numbers and shotpoint numbers are generally not reliable as they might not be unique.
For SEGY, the count of each ensemble of traces from the start of the tape is the file sequence number. The first
ensemble is implicitly file sequence number 1, the second ensemble is file sequence number 2, and so on. This
numbering continues across SEGY reel headers. It is important, therefore, to identify the position of the ensemble
number correctly in the trace header. For field data this is typically in bytes 9-12. For stack data this is typically in
bytes 21-24.
For SEGD, the count of SEGD files from the start of the tape is the file sequence number. A SEGD file is bounded
by a SEGD record header and an EOF mark.
Note that the input TAPEID is the same for a single output OPREEL. Note that you can only restart a whole output,
you cannot append to an output.
- 17 -
Command
Function
Function
Function
Control
Assign
Parameter
Reel,
Parameter
Info
Others
TAR
For more information on the COPY command, for example, enter "HELP COPY". For information on all
commands, enter "HELP *". This information will be written to the logfile as well as to the screen.
BACKUPCOPY
Before issuing this command, ensure that no devices have been allocated and that any listing options, etc. have been
set. This command executes in a loop until finished, interrupted, or until an error occurs. Initially, it prompts you for
more parameters. It allocates the input and output drive, copies to DEOF, unloads the input and output, waits for the
- 18 -
next input and output tapes to load, repeatedly, until the requested number of tapes has been copied.
Example:
BACKUPCOPY
The runlist file must be in CSV format, called id.RL2, where id can be anything. Each entry in the runlist file
describes one input tape and one output reel. One index file is generated for each entry after a reel has been copied.
The index file will be in CSV (Comma Separated Value) format, called ipreel.IX2
The runlist must at least have columns: OPREEL, INPFMT, SURVEY, LINE, TAPEID. The values in the INPFMT
column must be one of: SEGY, SEGD8015, SEGD8022, SEGD8024, SEGD8036, SEGD8038, SEGD8042,
SEGD8044, SEGD8048, SEGD8058.
The index file will contain the columns: OPREEL, INPFMT, OUTFMT, SURVEY, LINE, TAPEID, FIRST_FSEQ,
LAST_FSEQ, FIRST_FFID, LAST_FFID, FIRST_SP, LAST_SP, U_TAPEID, NTRACE, DT_SP, RTYP, PFILE,
NPAR, BLKERR, HDRPAR, DTAPAR, NSAMP, LAST_TIME, FCODE, RETRY, OPER, TRANS, MACHINE,
PVER, IVER. The BLKERR, HDRPAR, DTAPAR, NSAMP, LAST_TIME columns will always be blank.
3.2.2 Backupread
Allows the user to read a tape made with BACKUPCOPY and generate a new index, currently for field data in
SEGY and SEGD80xx formats only. It is similar to BACKUPCOPY except that no output reel is generated.
Format:
BACKUPREAD
Before issuing this command, ensure that no devices have been allocated and that any listing options, etc. have been
set. This command executes in a loop until finished, interrupted, or until an error occurs. Initially, it prompts you for
more parameters. It allocates the input drive, reads to DEOF, unloads the input, waits for the next input tape to load,
repeatedly, until the requested number of tapes has been read.
Example:
BACKUPREAD
The runlist file must be in CSV format, called id.RL2, where id can be anything. It contains a list of reel ids. One
index file is generated for each reel id present in the run list. The index file will be in CSV (Comma Separated
Value) format, called ipreel.IX3.
The runlist must at least have columns: OPREEL, INPFMT, SURVEY(or AREA), LINE, TAPEID (or REEL). The
values in the INPFMT column must be one of: SEGY, SEGD8015, SEGD8022, SEGD8024, SEGD8036,
SEGD8042, SEGD8044, SEGD8048 or SEGD8058.
The index file will contain the columns: OPREEL, INPFMT, OUTFMT, SURVEY, LINE, TAPEID, FIRST_FSEQ,
LAST_FSEQ, FIRST_FFID, LAST_FFID, FIRST_SP, LAST_SP, U_TAPEID, NTRACE, DT_SP, RTYP, PFILE,
NPAR, BLKERR, HDRPAR, DTAPAR, NSAMP, LAST_TIME, FCODE, RETRY, OPER, TRANS, MACHINE,
PVER, IVER. The BLKERR, HDRPAR, DTAPAR, NSAMP, LAST_TIME columns will always be blank.
3.2.3 Batchcopy
This command can be used in place of the INDEXCOPY, BACKUPREAD, BACKUPCOPY, and MULTICOPY
commands. A dialog box is displayed which allows you to select which copying operation you require and to modify
the parameters which influence it. Clicking on the question mark at the top right hand corner allows you to obtain
context sensitive help on any item in this dialog box. The dialog appears as follows.
- 19 -
Each item in this dialog is described in detail in the BATCHCOPY dialog reference.
3.2.4 Checkfile
Allows you to compare and analyse files created by the CHECKREAD command. Comparison involves comparing
two CHECKREAD files for equality - no checks are made on the validity of the format. Analysis involves checking
a CHECKREAD file for errors in format syntax, bad headers, missing traces etc. No tape devices are accessed by
the command.
The command operates in two modes. The first mode uses two runlists and each runlist contains a list of tapeids
from which the CHECKREAD filenames are derived. The second mode doesn't use runlists - a single
CHECKREAD filename pair is obtained interactively. The second mode allows you to do a "one- off" Comparison
or Analysis. Results of a comparison or analysis operation are written to a file whose name is of the form
tapeid1_tapeid2.CHECKFILE.
Format:
CHECKFILE
- 20 -
Option 1 will compare a file pair, if equal will then analyse the first; if not equal will analyse the first and second.
Option 2 will do a comparison only. Option 3 will analyse a single file only.
The runlists must be the same as those used in the CHECKREAD command. (or REEL), however, only the TAPEID
and INPFMT columns are used.
There is no need to examine a *.CHECKFILE if the status on the screen is "OK". OK indicates that no errors or
warnings occurred.
3.2.5 Checkread
Allows you to read a tape or a disk file and generate a CHECKREAD file describing the tape's content. A
CHECKREAD file is a CSV (comma-separated-value) file which can be read by a spreadsheet program or a text
editor. It differs from normal CSV files in that more than one set of columns is defined. A column- set is tied to the
data-set by use of a column-set key. This key is simply a letter.
If reading from a disk file, a runlist file is not necessary. CHECKREAD can be used for field data in UNKNOWN,
SEGY and SEGD80xx formats only. It is similar to BACKUPREAD except that a CHECKREAD file is generated
rather than an index file, and unknown formats can be read. Essentially, it decodes headers and stores this
information into the CHECKREAD file, it does not do any format checking - checking is done by the
CHECKFILE command.
For SEGY formats only, you can influence which items are pulled off and inserted into the CHECKREAD file.
These parameters are accessed via the "Checkread" button on the General Parameters dialog. See the Trace Header
Definition dialog in the appendix. (Note that if these parameters are modified, then CHECKFILE will not work on
the CHECKREAD files produced).
Format:
CHECKREAD
Before issuing this command, ensure that no devices have been allocated and that any listing options, etc. have been
set. This command executes in a loop until finished, interrupted, or until an error occurs. Initially, it prompts you for
more parameters. For tape input devices, it allocates the input drive, reads to DEOF, unloads the input, waits for the
next input tape to load, repeatedly, until the requested number of tapes (from the runlist) has been read. For input
disk files, the operation stops after the single disk file has been processed.
Example:
CHECKREAD
The runlist file must be in CSV format, called id.RL2, where id can be anything. It contains a list of reel ids. One
checkread file is generated for each TAPEID present in the run list. These files will be in CSV format, called
tapeid.CHECKREAD.
The runlist must at least have columns: OPREEL, INPFMT, SURVEY (or AREA), LINE, TAPEID (or REEL),
however, only the TAPEID and INPFMT columns are used. The values in the INPFMT column must be one of:
UNK, SEGY, or SEGD
Another way of performing a CHECKREAD is to set the "Enable Checkread" mode from the General Parameter
screen. With this mode enabled, a checkread file will be generated during execution of a READ or COPY command.
3.2.6 Compare
Allows "compare" parameters to be set and a quantity of blocks or files to be compared between the input drive and
- 21 -
COMPARE
COMPARE
[qty] [item]
TO [dest]
If "dest" is specified as "END", the end is decided by the setting of the Terminator parameter.
Formats:
COMPARE
COMPARE
COMPARE
COMPARE
COMPARE
OVERLAP [keyword]
STOP [keyword]
COUNT [keyword]
DISPLAY [keyword]
XOR [keyword]
3.2.7 Copy
Allows a quantity of blocks or files to be copied from the input drive to the output drive.
Formats:
COPY
COPY
[qty] [item]
TO [dest]
If "dest" is specified as "END", the end is decided by the setting of the Terminator parameter.
Example: COPY TO DEOF
This would be the usual command, in which a whole input will be copied completely onto an output. Most tapes
have a double EOF to signify the end of data on a reel. When a double EOF is reached on the input, the output tape
has a double EOF written but the tape is positioned after the first EOF. This allows you to copy another input tape
onto the output without having to manually reposition the output tape.
Example: COPY TO EOF
This will copy to and including the first EOF encountered on the input drive.
3.2.8 Copyrode
Allows the underlying logical format of a RODE encapsulated tape to be copied. i.e. it allows you to de-encapsulate
a RODE tape.
Formats:
COPYRODE
COPYRODE
COPYRODE
[qty] [item]
TO [dest]
SPLITFILES
If "dest" is specified as "END", the end is decided by the setting of the Terminator parameter.
- 22 -
Example:
COPYRODE TO DEOF
This will cause all logical files to be copied from the input to the output drive
Example:
COPYRODE SPLITFILES
This will cause each logical file to be copied to its own output disk file. This disk file is given the name of the
RODE FILE-HEADER ID. You should not allocate an output prior to issuing this command.
Note that RECORDS means logical records and FILES means logical files.
3.2.9 Dump
There are 2 forms to this command: one form allows dump parameters to be set, the other form allows a quantity of
blocks or files to be read from the input drive and displayed in hexadecimal format(and others for 21-track).
Format:
DUMP
[qty]
[item]
[nbytes]
[offset]
qty
- the number of "items" to copy
item
- either BLOCKS or FILES (default BLOCKS)
nbytes - the number of bytes to dump from each block
(default is all, or as specified by DUMP OFFSET)
offset - the byte offset at which to start dumping
(default is 0, or as specified by DUMP SIZE)
Format:
Format:
Format:
Format:
Format:
Format:
Format:
Format:
Format:
Format:
Format:
Format:
Format:
DUMP
DUMP
DUMP
DUMP
DUMP
DUMP
DUMP
DUMP
DUMP
DUMP
DUMP
DUMP
DUMP
OMIT
CHARACTER
GROUP
SIZE
OFFSET
OUTPUT
CLOSE
WIDE
MAX
MODE
TYPE
FREQUENCY
CHANNEL
To display the current dump parameters, enter SHOW DUMP. The dump is always displayed on the screen and to
the log file unless a dump file has been opened. The MODE, TYPE, and CHANNEL parameters are for 21-track
data only, and CHANNEL parameters are required only for a channel dump. You should specify TYPE only if
dumping 21-track data from a disk file. The program can deduce the TYPE automatically if dumping from tape. The
FREQUENCY parameter allows you to dump every nth block found if the TAPE keyword is supplied. If the FILE
keyword is supplied, the nth block within each file is dumped. (A file being terminated by an EOF mark.)
3.2.10 Indexcopy
Allows the user to copy and index multiple input tapes with one command. Uses a run-list and generates an index
file for a single output reel. Currently for copying field data in SEGY and SEGD80xx formats only, and for
reformatting from Western Code 4 to SEGY.
Note that an identical copy is not necessarily produced.
- 23 -
Format:
INDEXCOPY
Before issuing this command, ensure that the output has been allocated and that any listing options, etc. have been
set. This command executes in a loop until finished, interrupted, or until an error occurs. Initially, it prompts you for
more parameters. It allocates the input drive, copies to DEOF, unloads the input, waits for the next tape to load,
repeatedly, until the requested number of tapes has been copied.
Example:
INDEXCOPY
The runlist is in CSV format and contains one entry per input tape. It describes all input tapes to be copied to the one
output reel. The runlist must be named opreel.RL1, the index file will be called opreel.IX1.
The runlist must at least have columns: OPREEL,INPFMT,SURVEY(or AREA),LINE,TAPEID(or REEL). The
values in the INPFMT column must be one of: SEGY, WC4, WC4U, SEGD8015, SEGD8022, SEGD8024,
SEGD8036, SEGD8038, SEGD8042, SEGD8044, SEGD8048, or SEGD8058.
The index file will contain the columns: OPREEL, INPFMT, OUTFMT, SURVEY, LINE, TAPEID, FIRST_FSEQ,
LAST_FSEQ, FIRST_FFID, LAST_FFID, FIRST_SP, LAST_SP, U_TAPEID, NTRACE, DT_SP, RTYP, PFILE,
NPAR, BLKERR, HDRPAR, DTAPAR, NSAMP, LAST_TIME, FCODE, RETRY, OPER, TRANS, MACHINE,
PVER, IVER. The BLKERR, HDRPAR, DTAPAR, NSAMP, LAST_TIME columns will always be blank.
3.2.11 Labelcopy
Allows the underlying logical format of a standard labelled tape to be copied.
Formats:
LABELCOPY
LABELCOPY
[qty] [item]
TO [dest]
If "dest" is specified as "END", the end is decided by the setting of the Terminator parameter.
Example:
LABELCOPY TO DEOF
This allows all logical files to be copied from the input to the output drive
Note that RECORDS means logical records and FILES means logical files. A logical file consists of 3 physical files:
header file, data file and trailer file. If an EOV1 label is reached, it is considered to be the physical end of volume.
Note that the labels themselves are not copied to the output.
3.2.12 Labelread
Allows the underlying logical format of a standard labelled tape to be read.
Formats:
LABELREAD
LABELREAD
[drive-spec]
[drive-spec]
drive-spec
qty
item
dest
[qty] [item]
TO [dest]
If the "drive-spec" is not specified, INPUT is assumed. If "dest" is specified as "END", the end is decided by the
setting of the Terminator parameter.
- 24 -
Example:
LABELREAD 10 FILES
3.2.13 Multicopy
There are two modes of operation and which mode is chosen depends on how many outputs you have allocated. If
one output is allocated, then multiple inputs are copied to a single output. If more than one output is allocated, then
each input is copied to all the allocated outputs. The inputs and outputs may be tapes, perhaps in stackers, or disk
files.
Formats:
MULTICOPY
MULTICOPY
inp-drive ntapes
DISK ntapes
[wait]
Before issuing this command, ensure that the required outputs have been allocated and that any listing options, etc.
have been set. The command executes in a loop until finished, interrupted, or until an error occurs. For single output
mode, it allocates the input drive, copies to DEOF, unloads the input, waits for the next tape to load, repeatedly,
until the requested number of tapes has been copied. For more than one output, it allocates the input drive, copies to
DEOF to all drives, unloads the input, unloads the outputs, waits for the next tape to load, repeatedly, until the
requested number of tapes has been copied.
Example:
Example:
Example:
MULTICOPY MKB400 10
(one output allocated)
You will be prompted for the reelids for 10 input tapes.
Then the 10 input tapes are copied from MKB400 to the output.
MULTICOPY MKB400 10 (two outputs allocated)
You will be prompted for the reelids for 10 input tapes.
Then the 10 input tapes are copied from MKB400 to 20 outputs.
MULTICOPY DISK 10
You will be prompted for input disk file information and then
for the reelids for 10 inputs. The actual input disk files
must have the reelid as the filename. Then the 10 disk files
are copied to the output in turn.
3.2.14 Read
Allows a quantity of blocks or files to be read from the present position on any designated drive.
Formats:
READ
READ
[drive-spec]
[drive-spec]
drive-spec
qty
item
dest
[qty] [item]
TO [dest]
- 25 -
Example:
READ 10 FILES
This will cause all blocks to be read from the input
until 10 EOF marks have been encountered.
3.2.15 Readrode
Allows the underlying logical format of a RODE encapsulate tape to be read.
Formats:
READRODE
READRODE
[drive-spec]
[drive-spec]
drive-spec
qty
item
dest
[qty] [item]
TO [dest]
If the "drive-spec" is not specified, INPUT is assumed. If "dest" is specified as "END", the end is decided by the
setting of the Terminator parameter.
Example:
READRODE 10 FILES
3.2.16 Rodecopy
Allows you to write RODE encapsulated data. You must allocate the output drive first, but not the input drive. A run
list (containing OPREEL,INPFMT,SURVEY,LINE,TAPEID) is used to determine the names of the input tapes to
be copied.
3.2.17 Split
Allows data from an input drive to be copied to multiple output disk files. A new output disk file is created for each
file mark encountered on the input. You must assign an input drive first.
Formats:
If "dest" is specified as "END", the end is decided by the setting of the Terminator parameter.
Example:
SPLIT TO DEOF
This will cause records to be copied from the input to the output drive - if a filemark is encountered, a new output
file is created.
Note that you are prompted for the following 5 items of information:
Limit filenames to 8.3 form
Output file name prefix
Initial output file sequence number
Output file name extension
Output file encapsulation format
- 26 -
RESET
3.3.2 Rewind
Causes the specified drives or disk files to be rewound to the start of data.
Format:
REWIND
[wait] [drive-list]
wait
- either NOWAIT or WAIT (default is WAIT)
drive-list - a combination of INPUT, OUTPUT, UNIT2 or UNIT3
Example:
This will cause both the input and output to be rewound to BOT and wait until this is done before giving control
back to the user.
Example:
This will cause the input to be rewound to BOT and give control back to the user immediately.
3.3.3 Skip
Allows a quantity of blocks or files to be skipped from the present position on any designated drive.
Format:
SKIP
drive-list
drive-list
direction
qty
item
[direction]
[qty]
[item]
If the "direction" is not specified, FORWARD is assumed. If the "item" is not specified, BLOCKS is assumed.
Example:
This would reposition the input and output drives by skipping back one end of file marker, leaving the drives
positioned in front of that file mark.
3.3.4 Unload
Causes specified tape drive(s) to be unloaded, or the specified disk file to be closed.
Format:
UNLOAD
[wait] [drive-list]
wait
- either NOWAIT or WAIT (default is WAIT)
drive-list - a combination of INPUT, OUTPUT, UNIT2 or UNIT3
- 27 -
Example:
3.3.5 Weof
Causes file marks to be written to the output drive(s).
Format:
WEOF
[drive-list] [qty]
WEOF 2
This will cause 2 EOF marks to be written to the output and UNIT3.
Example:
Example:
Example:
Example:
INPUT
This
INPUT
This
INPUT
This
INPUT
This
MKB201
will allocate an input drive for reading
DISK GB12
will open an existing disk file called GB12.ARC
DISK GB13 TXT
will open an existing text file called GB12.TXT
PTB205
will allocate a 21-track input drive for reading
For a list of available tape drives, use the SHOW DEVICES command.
3.4.2 Output
Defines a tape drive or disk file so that it is available to the program for writing to.
- 28 -
Format:
Format:
[encap]
OUTPUT MKB500
This will allocate an output drive for writing.
OUTPUT DISK GB12
This will open a new disk file called GB12.ARC for writing.
Example:
For a list of available tape drives, use the SHOW DEVICES command.
3.4.3 Release
Causes specified allocated drives to be released, or disk files to be closed.
Format:
RELEASE
[drive-list]
RELEASE INPUT
3.4.4 Set
Allows user to set tape device or file characteristics
Format:
SET
[drive-spec]
The user is prompted for various information. Note that it is not always possible to set tape characteristics if the tape
drive is not at BOT.
Enter HELP /CHARACTERISTICS for more information.
3.4.5 Unit2
Defines a tape drive or disk file so that it is available to the program for reading or writing. It can be designated as
an input or output.
Format:
Format:
UNIT2
UNIT2
[specifier]
[specifier]
specifier
keyword
drive-name
file-name
status
encap
[TAPE]
[DISK]
drive-name
file-name [status]
[encap]
- 29 -
Example:
UNIT2
INPUT
MKB400
UNIT2
INPUT
DISK
GB12
3.4.6 Unit3
Defines a tape drive or disk file so that it is available to the program for reading or writing. It can be designated as
an input or output.
Format:
Format:
UNIT3
UNIT3
[specifier]
[specifier]
specifier
keyword
drive-name
file-name
status
encap
Example:
UNIT3
[TAPE]
[DISK]
drive-name
file-name [status] [encap]
INPUT
MKA100
UNIT3
INPUT
DISK
GB12
3.5.1 Buffersize
Allows the size of the buffer to be adjusted. The size of the buffer determines the length of the longest block that can
be read.
Format:
BUFFERSIZE
size -
[size]
If the size exceeds 65534, then long block mode is activated. The default buffersize is 2MB. To display the current
settings, enter SHOW PARAMETERS.
- 30 -
3.5.2 Defaults
Allows you to manipulate default program parameters for the INDEXCOPY, BACKUPREAD and BACKUPCOPY
commands only. It is recommended that you now use the "PARAMETERS" command to modify, save and load
these parameters.
Format:
DEFAULTS
[action]
The parameter file is a text file containing parameter keywords and their values. To produce an example parameter
file, use the DEFAULTS ENTER command.
To switch off the record number checking during INDEXCOPY, the RECORD_INCREMENT parameter should be
set to 0. Otherwise, set it to 1 if record numbers increment by 1,or to -1 if record numbers decrement by 1.
SEGD_TRACE_RESET is 0 for automatic, 1 if trace numbers reset to 1 for each channel set, 2 if traces do not reset
to 1 for each channel set, 3 if trace numbers should not be checked apart from ensuring they're different from
previous trace, 4 if trace numbers should not be checked at all, or 5 if trace numbers should not be checked apart
from ensuring they increase from previous trace (if it belongs to the same channel set).
Note: An alternative way of displaying and modifying these parameters is to use the "PARAMETERS" command,
and select the "SETTINGS" button on the dialog box.
3.5.3 Drop
Allows you to drop any blocks which are considered duplicate. This is necessary for those devices which sometimes
erroneously re-read the same block twice. This parameter should be used when reading problem tapes from a
Qualstar drive. The Qualstar has a tendency to duplicate tape blocks when re-trying and this parameter attempts to
detect these.
Format:
KEEP is the default. If DROP, the first 400 bytes of a block are compared to the first 400 bytes of the previous
block. If they are the same, the block is considered duplicate and is dropped. If ASK, when a duplicate block is
encountered you are asked whether to keep or drop the block.
3.5.4 Idoffset
As each tape block is read, by default, the first 4 bytes of the tape block are displayed in hexadecimal. This is
normally where the record number in BCD is stored for seismic field tape formats. This command allows you to
modify the default setting. Up to 32 bytes can be displayed in hexadecimal. The 21-track keywords indicate that
thge 21-track record number should be displayed. For 21-track, the offset and size are ignored although they should
be entered.
Format:
IDOFFSET
[offset]
[size]
[format]
- 31 -
Example:
IDOFFSET 8 4 I
This can be used for SEGY data, and will convert bytes 9 to 12 to an integer value. These bytes contain the FFID
number in standard SEGY.
Example:
IDOFFSET 0 4 DFS4
3.5.5 Listing
Allows listing options to be specified independently for the logfile and for the terminal screen.
Format:
LISTING
[device]
device - either
keyword - either
NONE
ALL
EOFS
PARITY
CHANGE
[keyword, keyword,...]
LOGFILE or TERMINAL
NONE, ALL, EOF, PARITY, CHANGE
- nothing should be listed
- everything should be listed
- only end-of-file marks should be listed
- only records with parity errors should be listed
- only records whose lengths change should be listed
If the "device" field is omitted, the keyword(s) applies to both logfile and terminal.
Example:
Example:
This would provide a full listing to the log file while only providing a notification of end of files and parities to the
terminal.
Example:
LIST CHANGE
This would cause blocks to be listed both to the terminal and to the logfile when the block length changes.
3.5.6 Lnspoffset
This allows you to specify the location of the "Line of Shotpoint" field in the SEGD record header, the SEGY trace
header, or the WC4 trace header. If size is zero (the default), then it is assumed that there is no LNSP.
Format:
LNSPOFFSET
[offset]
[size]
[format]
offset
[divisor]
- 32 -
3.5.7 Logfile
This command allows the user to specify the name and size of the logfile.
Format:
Format:
LOGFILE
LOGFILE
columns [rows]
NAME logfilename
columns
- the maximum characters across page
rows
- the maximum lines per page
logfilename - the new name for the log file.
The old logfile will be closed and then copied to a file with the new name.
To display the current settings, enter SHOW PARAMETERS.
3.5.8 Parameters
This command allows you to modify, save, and load all the program parameters via a dialog box. Effectively
replaces all the command-line "Parameter" category commands although these still work. The General Parameter
dialog box is shown below.
- 33 -
Each item in this dialog is described in detail in the General Parameters Dialog.
3.5.9 Reel
Allows you to enter a 32 character reel identification name for any drives allocated.
Format:
REEL
[drive-spec]
[text]
This is used as a way of passing on descriptive information concerning the input or output reels. Normally, this
would only be used to give the reel number but it may be expanded to give a longer description by making the text
all one word as in the above example.
3.5.10 Retry
Defines the number of retries to be performed when a parity error is encountered during a read or write operation.
This only applies to magnetic tape operations - it is ignored for disk I/O.
- 34 -
Format:
RETRY
[drive-spec]
[count]
If the "drive-spec" keyword is omitted, the count specified will apply to the input.
For a write operation "count" specifies the number of retries to be attempted before erasing takes place.
Example:
RETRY INPUT 2
RETRY OUTPUT 4
This would make the program retry twice on the input tape unit for recoverable read errors, and four times on the
output unit for recoverable write errors. If write errors are detected, then it may imply a hardware or media problem;
i.e. the drive head may be dirty or there may be more serious problems, or the tape itself is of poor quality, or not
certified for the density at which you may be attempting to write.
3.5.11 Rode
Allows you to set the RODE (Record Oriented Data Encapsulation) parameters via a dialog box. These parameters
influence the RODECOPY, COPYRODE, and READRODE commands. A brief summary of the RODE related
commands is as follows.
Rode
Rodecopy
Readrode
Copyrode
allows
writes
strips
strips
3.5.12 Spoffset
This allows you to specify the location of the Shotpoint field in the SEGD record header or the SEGY trace header.
For SEGD, if size is zero (the default), then it is assumed that there is no SP. For SEGY, if size is zero (the default),
then it is assumed that a 4-byte integer SP is to be found at offset 16 (bytes 17-20) within the trace header. For
SEGD, you can also specify that the location of the SP be automatically computed.
Formats:
SPOFFSET
SPOFFSET
AUTOMATIC
[offset] [size]
[format]
Entering "SPOFFSET AUTOMATIC", allows automatic computation. To switch off automatic computation, enter
"SPOFFSET 0". To display the current settings, enter SHOW PARAMETERS.
3.5.13 Terminator
Defines the number of consecutive EOF marks that are interpreted by the COPY, READ, DUMP and COMPARE
commands when the "END" keyword is used.
Format:
TERMINATOR
[qty]
- 35 -
TERMINATOR 2
3.5.14 Translate
Allows you to specify whether character code translation should take place during execution of the COPY
command. The possible translations are from EBCDIC to ASCII and from ASCII to EBCDIC. By default, the
translation mode is turned off.
Formats:
TRANSLATE
TRANSLATE
TRANSLATE
OFF
TO ASCII
TO
You should use this mode if you are sure that input data contains character data only. You should not use this mode
if input data contains binary data. Invalid characters for the code are converted to space characters.
The translation mode is used only with the COPY command.
3.5.15 Zero
Allows different courses of action to be taken when a zero-length block is encountered during a read from tape. It is
not possible for a zero-length record to exist on disk.
Format:
ZERO
[keyword]
keyword - either
IGNORE
EOF
BLANK
RETRY
ASK
As some tape controllers transfer complete words rather than bytes, the length of a 1-byte block can appear as zero.
If what is supposed to be an EOF mark has a bit incorrectly set, it will not be recognised as an EOF, but as a 1 byte
record. By default, it is left to the operator to confirm the action taken when a zero length record is encountered.
To display the current settings, enter SHOW PARAMETERS.
DIRECTORY [file-spec]
File-spec
- 36 -
Example:
DIRECTORY *.LOG
This will list all files in the current directory with the extension LOG.
3.6.2 Help
Provides on line help for all commands. At any point when you have the command prompt, you can gain help by
typing HELP.
Format:
HELP [command]
command - name of command for which help is required
Omit the command keyword for list of available commands. A keyword of "*" will list all commands in full.
Example:
HELP *
Command
Read, Copy, Dump, Compare, Split, Labelread, Labelcopy
Multicopy, Indexcopy, Backupcopy, Backupread, Checkread, Checkfile
Batchcopy, Rodecopy, Readrode, Copyrode
Skip, Weof, Rewind, Unload, Reset
Input, Output, Unit2, Unit3, Release, Set
Buffersize, Idoffset, Spoffset, Lnspoffset, Listing, Logfile, Drop, Reel
Retry, Terminator, Zero, Defaults, Translate, Rode, Parameters
Directory, Show, Help
Exit, Jobinfo, Text, System
Tarlist, Tarinp, Tarout, Tarextract
For more information on the COPY command, for example, enter HELP COPY
For information on everything, enter HELP *
Additional Help is also available on the following topics:
/Overview
/Encapsulations
/Rode
/Characteristics
3.6.3 Show
Displays a summary of parameters currently in use or a list of the devices available on the system.
Format:
SHOW
[keyword]
If no keyword is entered the summary will show all devices allocated and some general parameters.
The summary is always displayed on the terminal but if the LOGFILE keyword is present, it is also logged in the
logfile. This may be useful as a check before running a copy job.
Format:
Format:
SHOW DEVICES
SHOW DEVICES LOGFILE
This form will display a list of the available devices on the system.
- 37 -
EXIT
3.7.2 Jobinfo
Allows the user to enter job information which will be displayed prominently in the logfile.
Format:
JOBINFO
(def="")
(def="")
(def="")
(def="")
(def="")
(def="")
(def="")
It is recommended that this command be used at the start of a job and whenever the input or output reel ids change.
3.7.3 System
Allows you to execute a system command.
Format:
Example:
SYSTEM [command]
command - a valid system command
SYSTEM NOTEPAD AFILE.DAT
This will cause the NOTEPAD program to run to edit file AFILE.DAT
3.7.4 Test
Allows you to write fixed-length blocks to an output device in order to establish the capacity of the device.
Optionally, EOF marks can be written at certain intervals. Random data is written at a fixed blocksize until the EOT
marker is reached. When EOT is reached, the program will display statistics about the operation to the screen and
logfile. Up to 5 blocksizes can be specified. If more than one blocksize is specified, the output device is rewound
and the writing operation is repeated for each blocksize.
Format:
TEST
Example:
This will cause the write-test to be performed twice. First using a blocksize of 2000 bytes, then using a blocksize of
1000000 bytes. No EOF's will be written.
Example:
- 38 -
This will cause the write-test to be performed twice. First using a blocksize of 2000 bytes, then using a blocksize of
1000000 bytes. Also, an EOF will be written every 100 blocks.
3.7.5 Text
Allows the user to enter text information which will be written to the log file. A file name can be supplied
containing a series of questions. These questions will be used to prompt the user for text information.
Format:
TEXT
[file-spec]
file-spec - valid text file name
Should the file name not be supplied, then the user is prompted with "Enter text:" and everything entered is written
to the log file.
Example:
Command: TEXT QFILE.TXT
The user will then be prompted with the questions contained in text file QFILE.TXT like this:
Enter
Enter
Enter
Enter
Enter
Enter
Enter
Command:
:
:
:
:
:
:
:
1234
12-4567
12004A
001
North Sea U.K.
210/4-5A
Copy of well tape
- 39 -
- i.e. in front of the next saveset. A TAR saveset should always be followed by an EOF mark.
Formats:
TARLIST
TARLIST
[drive-spec]
[drive-spec]
[qty] [SAVESETS]
TO [dest]
If the "drive-spec" is not specified, INPUT is assumed. If "dest" is specified as "END", the end is decided by the
setting of the "terminator" command parameter. Note that TARLIST TO EOF has the same meaning as TARLIST 1
SAVESET.
Example:
TARLIST 10
This will cause 10 savesets to be read from the input and their contents listed to the screen and logfile.
Press CTRL/C if you wish to interrupt the listing operation. The operation will stop when the data for the currently
displayed filename has been skipped over, so you might have to wait if the data for that filename is large.
3.8.2 Tarinp
Copies the contents of one or more TAR savesets to disk on an individual filename basis. Can also handle BAR
format (Blocked ARchive format) a forerunner of TAR. For each filename found within each saveset, you are
prompted whether you wish to skip it or copy it. You also have the option to copy all files from this point without
further interaction. Before this command is executed, the tape must be positioned at BOT or immediately after an
EOF mark - i.e. in front of the next saveset. A TAR saveset should always be followed by an EOF mark.
Formats:
TARINP
TARINP
[drive-spec]
[drive-spec]
[qty] [SAVESETS]
TO [dest]
If the "drive-spec" is not specified, INPUT is assumed. If "dest" is specified as "END", the end is decided by the
setting of the "terminator" command parameter. Note that TARLIST TO EOF has the same meaning as TARLIST 1
SAVESET.
Example:
TARINP TO DEOF
This will cause all savesets (up to the DEOF mark) to be read from the input and their contents considered for
copying to disk.
Press CTRL/C if you wish to interrupt the copying operation. The operation will stop when the data for the currently
displayed filename has been processed, so you might have to wait if the data for that filename is large.
3.8.3 Tarout
This allows you to create a TAR saveset from disk files.
Format:
TAROUT
- 40 -
Each TAROUT operation produces a single TAR saveset. To append multiple savesets, just reissue the TAROUT
command without rewinding the output device.
3.8.4 Tarextract
Displays a dialog box allowing you to List or Copy the contents of TAR savesets. Emulates the TARLIST and
TARINP commands.
Formats:
TAREXTRACT
[drive-spec]
If the "drive-spec" is not specified, INPUT is assumed. The dialog appears as follows.
Each item in this dialog is described in detail in the TAREXTRACT dialog reference. Normally, you would first
list the TAR tape to obtain the names and sizes of the files which will be presented in a listbox. You can then
highlight the names of those files you want to extract from the TAR tape, before pressing the "Extract Selected
Files" button. Alternatively, you can press the "Select All Files" button. Output files will be copied using the
"Extract to folder" folder name as the base directory. Sub-directories will be created within this base directory.
- 41 -
already exist in the current directory, then the file called "DX00001.SUM" will be renamed to "DX00001.SUM;4"
and a new file called "DX00001.SUM" will be created.
To help manage files with version numbers, a DPTS program called "PURGE" is available which allows you to
delete all but the highest numbered versions of the specified files. You can also elect to retain a specified number of
versions in the directory.
- 42 -
ARC - DPTS ARChive format - similar to TIF but with parity indicator
TIF - Western Atlas Tape Image Format
MTD - DPTS MTDISK TAP format
BIN - No encapsulation
SGY - Un-encapsulated SEGY
TXT - Text format
A.1.1 ARC
This encapsulation attaches a 24-byte field to the beginning of each tape block. The 24-byte field contains the block
type (EOF or DATA), the 64-bit offsets to the previous block and next block, and a parity indicator. The block
length can be calculated from these offsets for each individual record. Because of the 64-bit offsets, file sizes greater
than 2GB are supported. This is the default encapsulation used by most DPTS software. Length and EOF
information is preserved.
A.1.2 TIF
This encapsulation attaches a 12-byte field to the beginning of each tape block. The 12-byte field contains the block
type (EOF or DATA) and the offsets to the previous block and next block. The block length can be calculated from
these offsets for each individual record. Length and EOF information is preserved.
A.1.3 MTD
This encapsulation attaches a 4-byte field to the beginning of each tape block. The 4-byte field contains length and
record type information. It is not now normally used, except when interchanging data files between DPTS software
running under VAX/VMS. Length and EOF information is preserved.
A.1.4 BIN
This encapsulation is no encapsulation at all, there is no header attached. Length and EOF information is lost. The
original tape-block length needs to be deduced from the data itself which is not always possible. It can be useful to
open a file in BIN mode (in conjunction with the BUFFERSIZE parameter) to determine the true encapsulation by
performing a hexadecimal dump.
A.1.5 SGY
SGY encapsulation is BIN encapsulation except that it is assumed that the format is SEGY and special integrity
checks are performed by DPTS software. Length and EOF information is lost. The length information is deduced by
software as follows:
o the 1st record is always 3200 bytes in length
o the 2nd record is always 400 bytes in length
o the length of the traces which follow is computed from the
- 43 -
So, to decode a SGY encapsulated file sucessfully, these items in the binary header must be accurate (which is not
always the case). If SGY is chosen as an output encapsulation format from DPTS software, these items are checked.
You cannot write more than one SEGY header to a file if using SGY encapsulation.
A.1.6 TXT
This encapsulation means that records are delimited by an ASCII carriage-return/line-feed character pair, or, by a
single line-feed character. The CR/LF pair is generally used and produced by Microsoft text files. The single LF
character is generally used and produced by UNIX text files. All records must consist of characters belonging to the
ASCII character set.
- 44 -
- 45 -
Addr
WORM
TAPE
TAPE
TAPE
TAPE
TAPE
DISK
CD
A100
A200
A201
A400
A500
A600
B000
B500
Devnam Onl
Tape0
Tape1
Tape2
Tape3
Y
Y
Y
Y
N
Y
Y
Y
Vendor
Product
Rev.
Inquiry Header
YAMAHA
STK
STK
EXABYTE
HP
EXABYTE
QUANTUM
TOSHIBA
CDR100
4280
4280
EXB-850085QANXRC
HP35470A
EXB-85058SQANXR1
FIREBALL1080S
CD-ROM XM-5301TA
1.10
2730
2730
06X0
1009
0781
1Q09
1895
04
01
01
01
01
01
00
05
80
80
80
80
80
80
00
80
02
02
02
02
02
02
02
02
02
02
02
02
02
02
02
02
27
33
33
65
23
65
7D
5B
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
18
18
10
18
10
18
98
Column Explanation
Type - Possible values are: DISK, TAPE, PRNT, PROC, WORM, CD, SCAN, OPT, MCHG, COMM and
UNK. UNK indicates that the device type is unrecognised and probably means that there is something
wrong with the configuration. The devices we are interested in are the TAPE devices.
Addr - For TAPE devices, if, for example, the address is A201 then you would enter MKA201 as the tape
device name in any DPTS program. The "A" indicates which SCSI adapter the device is connected to. All
devices which share the same adapter letter share the same adapter. Devices which share the same adapter
must have distinct SCSI device id's. Note that you must not use SCSI id 7, as this ID is used by the SCSI
adapter to communicate with the host computer.
Devnam - This is the internal name used by the Windows NT operating system, and is not used by any
DPTS programs.
Onl - This indicates whether or not the device has been recognised by a driver. If the value is "Y", then it
has been recognised and is available for use. If the value is "N", then the device is not available for use as
no driver has been associated with it. To connect a driver to the device see section C.2.
Vendor - This field contains the vendor name as returned by the device and generally describes the
manufacturer of the device.
Product - This field contains the product name as returned by the device.
Rev. - This field contains the revision level as returned by the device.
Inquiry Header - This file contains further information returned by the device, and consists of the first 8
bytes of the "inquiry" information.
- 46 -
DPTS_3480
DPTS_3580
DPTS_3490
DPTS_3590
DPTS_PT97
DPTS_EXB
DPTS_DLT
DPTS_UNK
DPTS_MEM
The column titled "Startup" influences what happens when the computer is re-booted. It can contain: Boot, System,
Automatic, Manual or Disabled. To change what happens at boot time, select the driver of interest by clicking once
on it, and then click on the "Startup" button.
Manual and Automatic are the startup options that we will be dealing with. If Automatic is chosen, then the driver
will connect automatically all devices that it recognises each time the system is booted. If Manual is chosen, the
driver will not connect to its devices automatically at boot time, and the driver will have to be manually started. If
the driver of interest does not have a status of "Started" and you wish to connect it to its devices, click on the "Start"
button. The status of the driver will change to "Started", and the device is now available for use.
Note that DPTS_UNK should never have Automatic startup and must always be manually started. This is because it
may claim those devices for which a custom driver already exists before the custom driver has a chance to claim its
own devices. DPTS_UNK is a general-purpose driver and does not know how to set density, handle long records,
compute capacity, etc. for particular devices.
- 47 -
Description
IVER
OPREEL
INPFMT
OUTFMT
SURVEY
LINE
TAPEID
FIRST_FSEQ
LAST_FSEQ
FIRST_FFID
LAST_FFID
FIRST_SP
LAST_SP
U_TAPEID
A_TAPEID
NTRACE
DT_SP
RTYP
PFILE
NPAR
BLKERR
DTAPAR
NSAMP
LAST_TIME
FCODE
RETRY
OPER
TRANS
MACHINE
PVER
Operator initials
Date transcribed
Machine node name
Program version
LNSP
SNSL
LN3D
PN3D
XCEL
YCEL
Line of SP number
Composite line/sp number - Western code 4 format only
Inline number - Western code 4 format only
Crossline number - Western code 4 format only
X coordinate for CMP - Western code 4 format only
Y coordinate for CMP - Western code 4 format only
The columns in the index file for the BLOCK index type are described below. The index file will "range" items with
a common blocksize.
- 48 -
IVER
OPREEL
INPFMT
OUTFMT
SURVEY
LINE
TAPEID
U_TAPEID
A_TAPEID
OPER
TRANS
MACHINE
PVER
Operator initials
Date transcribed
Machine node name
Program version
FIRST_BLK
LAST_BLK
FM_COUNT
FILE_BLK
BLK_TYPE
BLK_SIZE
PARITY
The INDEXCOPY, BACKUPCOPY and BACKUPREAD commands produce an index file similar to that produced
by the BATCHCOPY command for SEGY and SEGD. However, the A_TAPEID column is new.
The INPFMT column must contain one of the following: SEGY, WC1, WC4, WC4U, SEGD8015, SEGD8022,
SEGD8024, SEGD8036, SEGD8038, SEGD8042, SEGD8044, SEGD8048, SEGD8058, or SEGX or SEGD.
WC4 stands for Labelled Western Code 4; WC4U stands for unlabelled Western Code 4. SEGY will secure
processing of labelled or unlabelled SEGY.
The SEL_FILE column allows you to specify record number ranges, file number ranges, or shotpoint ranges to
copy. The first field of the range specification ("R;" or "F;" or "S;" ) indicates what the numbers which follow it
mean. For example, entering "R;1-100;201-250" will select record numbers 1 to 100 and 201 to 250 only. Any
record number in this range will be selected even if it appears more than once on the tape. Entering "F;1-100;201250" will select those records whose file sequence number appears in this range. The file sequence number is a
count (incremented whenever the record number changes) of the records encountered from the beginning of tape. In
this case, the first 100 records and the 201st to the 250th record will be selected. Note that you should use a semicolon, not a comma, to separate the ranges. For record numbers, if the selection string is terminated by a semi-colon,
- 49 -
then this is taken as a sign that the tape should be rewound after the last record number has been found. For
example: "R;1-100;151-200;300- 350;" will cause the tape to be rewound after record 350 has been copied. "R;1100;151-200;300-350" without the semi-colon, will cause the tape to continue reading to the end of tape after record
350 has been copied.
Note that more than one output reel can exist in the runlist.
currently set to ??
this is the filename body of the BCIX1 file (original output tape no.)
copied from BCIX1 file, if present.
the line name
The expected first SP (hopefully what you've chosen)
The expected last SP (hopefully what you've chosen)
The file sequence range(s) to select from the tape
(E.G. F;51-100;120-200;)
This runlist can be loaded into MTC4 for BATCHCOPY operation, however, you must change the OPREEL column
(currently containing ??).
Look out for WARNINGS when running the SELECT program. These would indicate that too many ranges were
identified - e.g. perhaps when the SP number is invalid in the index file. There is a limit as to how wide the
SEL_FILE column can be.
- 50 -
- 51 -
- 52 -
- 53 -
- 54 -
Enable If ticked the definition is used, otherwise it is not used. Use this to disable a definition without
deleting it.
Range If ticked the definition will produce 2 column titles in the *.CHECKREAD file. The letters "F" (for
first) and "L" (for last) are prefixed to the field name. For example, TRLINE will become FTRLINE and
LTRLINE.
External You cannot modify this. Indicates whether the field definition is internal to the program. Current
internal fields are BLKSEQ, LENGTH and STATUS.
Checktype Determines what sort of checking should be performed on the field between successive trace
headers. If a field fails the check, a new range (new text line) is written to the *.CHECKREAD file. The
check types are:
[EQL ]
[INC1]
[CHG1]
[NONE]
value
value
value
value
of
of
of
of
field
field
field
field
must be equal
must increment by 1
must increment by 1 or decrement by 1 consistently
is not checked
Name The 15 character field name for the item. This name will appear as the column title in the
CHECKREAD file. All fields (except for BLKSEQ, LENGTH and STATUS) are described in the "Digital
Tape Standards SEGY format" document published by the S.E.G. BLKSEQ is the physical tape block
- 55 -
sequence number - counted from BOT. LENGTH is the length in bytes of the physical tape block.
STATUS is the tape read status: 1 is normal, 513 is parity error.
Location The byte location of the field within the trace header (starting from 1).
Format The format of the field. Possible choices are: Integer and IBM floating-point.
Size The size of the field. Possible choices are 2 and 4. (4 for IBM FP.)
Note that if a field check is turned off (like TRID) then it's value will be the last value read, not the first value in the
range.
- 56 -
Tape Ratio This specifies the ratio between input and output tapes. If just one input tape is to be copied to
one output tape, select "One to one". If more than one input tape is to be copied to a single output tape,
select "Many to one". If one input tape is to be split across many output tapes, select "One to Many".
One to One - Select this if just one input tape is to be copied to one output tape.
Many to One - Select this if more than one input tape is to be copied to a single output tape.
One to Many - Select this if just one input tape is to be split across many output tapes.
Copies This value specifies how many copies of the output data will be produced, if any. From 0 to 4
copies can be produced simultaneously. No output is produced if 0 is selected. You would select 0 if you
just wanted to read or plot a tape.
Capacity When the tape ratio is specified as "One to Many", this value specifies the maximum number of
bytes to be copied to each output. The units can be specified as bytes (B), KiloBytes (KB), MegaBytes
(MB), or GigaBytes (GB). The output reel will be changed when this capacity limit is reached.
Format This group of parameters allows you to specify the format and index type required, and to change
format dependent settings.
Format name - Select the format name from the drop-down list, or enter your own format name. Pre-set
format names are: Unknown, SEGY, and SEGD. Unknown is the default. If you enter your own format
- 57 -
name, it will be used for identification purposes only - the program will not extract any further meaning
from it except that the format is unknown to the program.
Format settings - Pressing this button allows you to enter program parameters specific to the chosen
format. It is active only if SEGY or SEGD is the selected format name. See the BATCHCOPY SEGY
SETTINGS and BATCHCOPY SEGD SETTINGSdialog boxes in the Appendix.
Index - Select the type of index from the drop-down list. Pre-set index types are: None, Block, SEGY, or
SEGD. Block is the default. Block will work for any format. Note that you should not select SEGD if the
format name is not SEGD, and you should not select SEGY if the format name is not SEGY.
Index settings - Pressing this button allows you to enter index settings specific to the chosen index type.
There are no settings at the moment.
Input Specification:
This group of parameters allows you to specify input tape/disk details.
Disk - Tick this option if your input is from disk files rather than from tape drives. If ticked, the "Defaults"
button becomes active.
Defaults - Pressing this button brings up a dialog box allowing you to specify default input disk file
parameters. It is active only if the Disk option is ticked. See the Appendix for a picture of the DEFAULT
INPUT DISK FILE SPECIFICATION DIALOG.
Stacksize This value indicates the maximum size of an input tape stacker. It does not indicate the actual
number of tapes in the stacker.
Output Specification:
This group of parameters allows you to specify output tape/disk details.
Disk - Tick this option if your output is to disk files rather than to tape drives. If ticked, the "Defaults"
button becomes active.
Defaults - Pressing this button brings up a dialog box allowing you to specify default output disk file
parameters. It is active only if the Disk option is ticked. See the Appendix for a picture of the DEFAULT
OUTPUT DISK FILE SPECIFICATION DIALOG.
Stacksize - This value indicates the maximum size of an output tape stacker. It does not indicate the actual
number of tapes in the stacker.
Plot Specification:
This group of parameters allows you to specify plotting details. They are active only when the tape ratio is One to
One. Only SEGY and SEGD formats can be plotted.
1 - Tick this option if you want to enable plotting defined by the parameters for the first plot.
2 - Tick this option if you want to enable plotting defined by the parameters for the first plot.
3 - Tick this option if you want to enable plotting defined by the parameters for the first plot.
Params - Press this button to modify the plotting parameters for each of the three plots. See the Appendix
for a picture of the BATCHCOPY PLOTTING PARAMETERS DIALOG.
Tape List:
This group of commands allows you to manipulate the tape run-list.
Import - Allows you to load a CSV file containing details about the tapes you want to run. Column titles
recognised are: OPREEL, INPFMT, OUTFMT, SURVEY, LINE, TAPEID, U_TAPEID, A_TAPEID and
SEL_FILE. Mandatory column titles are: OPREEL and TAPEID.
Display - Allows you to display the imported tape run-list in a separate window.
Modify - this option allows you to enter, modify, or create the information in the run-list. A window will
be displayed, allowing you to modify or add any item in the run- list. Double-clicking an item allows you to
enter text. To commit a changed item, single-click anywhere in the window, or close the window. Rightclicking in the window brings up a pop-up menu which provides further commands, such as: "Add row to
end", "Insert After selected row", "Insert Before selected row", and "Delete selected rows". To select a row
or rows, highlight with the mouse.
Selected Start Tape - Displays the currently selected starting tape.
Tape list window - This window shows a list of the input tapeids currently in the run-list. You select your
- 58 -
- 59 -
Check record number increment - This should be ticked if you want the program to check the record
number increment. Checking the increment involves comparing the record number of successive records to
determine their difference, and comparing this difference with the specified increment. Leave unticked if
you do not want the record number increment to be checked. If ticked, you should fill in the record
increment value (normally 1) in the box to the right. If the increment changes, then, at minimum, a warning
message will result. If you have ticked the "Ask for reason code" item, then you will be prompted for a
reason code whenever the increment deviates from that specified.
Record number increment value - This box should contain the record number increment value. It is used
only if the "Check record number increment" parameter has been ticked.
Ask for reason code - This is used only if the "Check record number increment" parameter has been
- 60 -
ticked. If you tick this parameter, then, whenever the record number increment deviates from the expected
value, you will be prompted to enter a reason code describing the reason for the jump in the record number
increment.
Drop trace if duplicate using - Often, because of a recording error or a reading error, it is possible for the
same trace to be recorded or read twice. This option allows you to weed out these duplicate traces by
checking certain sequence numbers in the SEGY trace header. Tick this option if you wish to check for
duplicate traces. You will need to indicate which SEGY sequence number to check for this. The choices are
TRLINE (bytes 1-4) and TRREEL (bytes 5-8). If the value of the selected sequence number does not
increase and you have ticked this option, then the trace is dropped.
Drop trace if Trace number out of range of MAXTR - Tick this option if you wish to ensure that the
Trace number item of the SEGY trace header contains a value between 1 and MAXTR. The position of the
Trace number is determined by the "Trace number location" definition given on this dialog box. MAXTR is
computed from the binary header and is the sum of the number of data traces and the number of auxiliary
traces.
Warn if ensemble does not contain MAXTR traces - Tick this option if you wish to be warned whenever
the number of traces found in an ensemble does not agree with the expected number, MAXTR. MAXTR is
computed from the binary header and is the sum of the number of data traces and the number of auxiliary
traces.
Ask to retry if ensemble warnings occurred - Tick this option if you wish to be asked whether you wish
to retry reading the ensemble whenever warnings occurred. Warnings include things such as: ensemble
does not contain MAXTR traces; duplicate traces were detected, etc.
Renumber TRLINE and TRREEL - Tick this option if you wish new sequence numbers to be generated
in the output SEGY trace header. TRLINE is in bytes 1-4, TRREEL in bytes 5-8.
Allow DPTS usage of bytes 229-240 of trace header - Most DPTS software will write information to
these bytes for positioning purposes. If it is important for you not to write in these bytes, do not tick this
option.
Drop Reel Headers if compatible - When concatenating multiple SEGY input tapes to a single output
tape, it is not always desirable to copy all SEGY headers subsequent to the first. Tick this option if you do
not want Reel Headers which are compatible with the first (reference header) on the output reel to be
copied. Reel headers are deemed compatible if certain items in the card image header and binary header are
consistent. You can relax the compatibility check to include only important fields by ticking the "Relaxed
check" box. The binary header fields considered important are: number of samples, sample rate, and the
data sample format code.
Defer writing last partial ensemble - For ensembles which span input tapes, this allows you to defer
writing a partial ensemble until the remaining traces for the ensemble on the next input tape have been read.
If the end of data is detected on an input tape, and the current ensemble is not complete, then the traces of
the partial ensemble are written to a "partial-data file". When the next input tape is mounted, traces are read
from this partial-data file before the remaining traces of the ensemble are read from the next input tape. To
control whether you want to be asked what to do when a last partial ensemble has been read, use the "Ask"
parameter.
Confirm no. of data and aux traces - Sometimes the SEGY binary header contains the wrong number of
data and/or auxiliary traces. This option allows you to override these values. If ticked, you will be
prompted for the new number of data and auxiliary traces each time a header is encountered. The logfile
will log these any changes.
Pad short traces - Tick this option if you want short traces to be padded with zeroes so that all output
traces will be the same length.
Truncate long traces - Tick this option if you want long traces to be truncated so that all output traces will
be the same length.
List Reel Headers - Tick this option if you want to list the Card Image headers and Binary headers to the
logfile.
Record number location - This allows you to specify the location in the SEGY trace header of the record
number. Generally this is FFID bytes 9-12 for field data and CDP bytes 21-24 for stack data.
Trace number location - This allows you to specify the location in the SEGY trace header of the trace
number. Generally this is CHAN bytes 13-16 for field data and CDPTR bytes 25-28 for stack data.
- 61 -
Inline number location - This allows you to specify the location in the SEGY trace header of the Inline
number.
Xline number location - This allows you to specify the location in the SEGY trace header of the Xline
number.
Ensemble listing frequency - This parameter allows you to specify how often a message is displayed on
the screen and to the log file as each ensemble is completed. A frequency of 1 is normally OK for field
data, but for stack data you might want to change this.
Selection Settings - Press this button to display the Selection Settings dialog box which allows you to
specify a trace selection window in terms of up to 50 X and Y coordinates, or in terms of record number,
trace number, Inline number or Xline number. If you want to specify the coordinates of a polygon
describing the area to be copied, tick the "Select by Area" button, then press the "Load" button. Each line of
file to be loaded should contain 2 items: the X coordinate and Y coordinate. For example, the file to be
loaded could contain:
290300
290300
291300
291300
7435200
7437200
7437200
7435200
Tick the "Use Mid-Point" button if you want to select using the mid-point between the source and receiver
coordinates. The source and receiver coordinates are always assumed to be in the standard SEGY header
positions.
- 62 -
If the source coordinates are not in the standard SEGY header positions, tick "Use Header locations" and
specify the byte location for the X and Y source coordinates.
SEGY Header retention tape frequency - This allows you to keep every nth header which would
otherwise be dropped if compatible. Allows you to limit the size of the SEGY files on an output.
Field defaults - Clicking this button will set the parameters on the screen to values suitable for SEGY field
data.
Stack defaults - Clicking this button will set the parameters on the screen to values suitable for SEGY
stack data.
- 63 -
Check record number increment - This should be ticked if you want the program to check the record
number increment. Checking the increment involves comparing the record number of successive records to
determine their difference, and comparing this difference with the specified increment. Leave unticked if
you do not want the record number increment to be checked. If ticked, you should fill in the record
increment value (normally 1) in the box to the right. If the increment changes, then, at minimum, a warning
message will result. If you have ticked the "Ask for reason code" item, then you will be prompted for a
reason code whenever the increment deviates from that specified.
Record number increment value - This box should contain the record number increment value. It is used
only if the "Check record number increment" parameter has been ticked.
Ask for reason code - This is used only if the "Check record number increment" parameter has been
ticked. If you tick this parameter, then, whenever the record number increment deviates from the expected
value, you will be prompted to enter a reason code describing the reason for the jump in the record number
increment.
Drop ensemble if Record Header corrupt - When a record header is encountered, it is first checked to see
if certain header items can be decoded successfully. If they cannot, then the header is deemed to be corrupt.
It is important to establish the integrity of the record header in order to process successfully the traces
which follow it. Sometimes record headers are recorded with invalid values which, if this option were
ticked, would result in the dropping of every ensemble of traces on the tape. If the header item which
contains the invalid value is relatively unimportant, this should be the only time that you would want to
leave this option unticked. Tick this option if you wish to drop the ensemble if the record header is corrupt.
Drop trace if Trace Header corrupt - When a trace is encountered, its header is first checked to see if
certain items can be decoded successfully. If they cannot, then the trace header is deemed to be corrupt.
- 64 -
Sometimes trace headers are recorded with invalid values which, if this option were ticked, would result in
the dropping of the trace. If the header item which contains the invalid value is relatively unimportant, this
should be the only time that you would want to leave this option unticked. Tick this option if you wish to
drop a trace whose trace header is corrupt.
Drop trace if no Record Header reference - Each trace header contains a File number (FN), Scan type
number (ST), Channel set number (CS), and Trace number (TR). Checks are carried out to ensure that the
trace belongs to the preceeding Record Header. If FN does not match that of the preceeding Record Header,
or if ST or CS are not present in a Channel Set Descriptor contained within the Record Header, then the
trace is considered to have no Record Header reference. Tick this option if you want the trace to be dropped
if there is no header reference. The only time that you should leave this option unticked is when you know
that an invalid FN, ST, or CS has been consistently recorded.
List details if Record Header corrupt - Tick this option if you want full diagnostic information about a
corrupt Record Header. The only time you would want to leave this option unticked is when there is a
known recording problem in every record header.
List details if Trace Header corrupt - Tick this option if you want full diagnostic information about a
corrupt Trace Header. The only time you would want to leave this option unticked is when there is a known
recording problem in every trace header.
List details if no Record Header reference - Tick this option if you want full diagnostic information
about the reason about the no reference. The only time you would want to leave this option unticked is
when there is a known recording problem in every Trace Header or Record Header.
Warn if ensemble does not contain MAXTR traces - Tick this option if you wish to be warned whenever
the number of traces found in an ensemble does not agree with the expected number, MAXTR. MAXTR is
computed from the Record Header and is the sum of the number of channels from each Channel Set
Descriptor in the Record Header.
Ask to retry if ensemble warnings occurred - Tick this option if you wish to be asked whether you wish
to retry reading the ensemble whenever warnings occurred. Warnings include things such as: ensemble
does not contain MAXTR traces, etc.
Pad short traces - Tick this option if you want short traces to be padded with zeroes so that all output
traces for a single Channel Set Descriptor will be the same length.
Truncate long traces - Tick this option if you want long traces to be truncated so that all output traces for
a single Channel Set Descriptor will be the same length.
Defaults - Clicking this button will set the parameters on the screen to the default values.
- 65 -
- 66 -
Plot destination:
Specifies destination of the plot. One of the possibilities: None, Screen, or File should be selected from the radio
buttons.
Records to Plot: This parameter group allows you to specify the method of record selection and frequency of records
to plot.
Every nth - Select this radio button if you want every nth record plotted (the default). If selected, specify
the value for n. If n is set to 1, then every record will be plotted. If n is set to 2, then the 1st, 3rd, 5th, etc.
records will be plotted.
Divisible by - Select this if you want records which have a record number divisible by some number to be
plotted. If selected, specify the value of this divisor. If this is set to 1, then every record will be plotted. If
the multiple is set to 2, then records whose record number is divisible by 2 will be plotted.
- 67 -
Traces To Plot:
This parameter group allows you to select which traces from the selected records should be plotted. You can specify
the exact trace range to plot or a generic selection.
All - Select this if you want all traces plotted
First - Select this if you want the first trace plotted
Mid - Select this if you want the middle trace plotted
Last - Select this if you want the last trace plotted
As specified - Select this if you want to specify an exact trace range and fill in the trace number range in
the "From" and "To" boxes provided.
Options:
This parameter group allows you to set various plotting options.
Plot auxiliaries - Tick this if you want to plot the auxiliary traces. The default is not to plot auxiliary
traces.
Apply AGC - Tick this if you wish to apply AGC (Automatic-Gain-Control) scaling to the plotted traces.
Record gaps - Tick this if you wish to leave a gap between records on the plot.
Labelling:
This parameter group allows you to set the annotation labelling for each record and trace.
Record - Specifies the record number labelling frequency
Trace - Specifies the trace number labelling frequency
General:
Defaults - This button will restore the default plotting values for all parameters.
First-trace - This button will set default values appropriate for plotting the first trace of each record.
Mid-trace - This button will set default values appropriate for plotting the middle trace of each record.
Last-trace - This button will set default values appropriate for plotting the last trace of each record.
Traces per Panel - Specifies the maximum number of traces allowed in a single plot panel. When this
maximum is reached, a new plot panel is opened.
Last-trace - This button will set default values appropriate for plotting
XVU Params - This button activates the XVU-PARAMETER DIALOG, which allows you to set more
plotting parameters, like traces-per-inch, and timing-line details. (See the XVU-PARAMETER DIALOG).
File:
This group of parameters is active only when plotting to a file.
Format - Specifies the plot file format and compression. The options are BMP, TIFF uncompressed, TIFF
Group 3 compressed, TIFF Group 4 compressed, TIFF LZW compressed, and TIFF Packbits compressed.
The default is TIFF LZW compressed.
Resolution - Specifies the plot resolution in pixels per inch.
- 68 -
Direction:
Specifies the direction in which traces are plotted.
Left-Right - Select this option to plot traces in the left to right direction. The first trace will be plotted at
the left of the plot.
Right-Left - Select this option to plot traces in the right to left direction. The first trace will be plotted at
the right of the plot.
Mode:
Variable-Area - Select this option to plot traces with variable area.
Wiggle - Select this option to plot traces with wiggles only.
Variable-Area-Wiggle - Select this option to plot traces with wiggles super-imposed by variable area.
Timing Line Interval:
Primary - Specifies the interval between primary timing lines. Primary timing lines are thicker than
secondary. Units are: Default is:
Secondary - Specifies the interval between secondary timing lines. Secondary timing lines are thinner than
primary. Units are: Default is:
Sample Window:
First sample - Specifies the first sample number to plot. The default is 1, indicating that the plotting should
start from the first sample.
Last sample - Specifies the last sample number to plot. The default is 0, which is taken by software to
mean that the all samples are to be plotted.
Scale:
Metric - Tick this option if the "Horizontal" and "Vertical" parameters below are expressed in metric units.
Default is "not ticked".
Horizontal - Specifies the horizontal scale (trace spacing) in units of traces per inch (traces per centimetre,
if metric).
Vertical - Specifies the vertical scale in inches per second (centimetres per second, if metric).
- 69 -
Amplitude:
Gain - The default is 1.0.
Clip - Specifies by how many trace widths the amplitude of a trace is allowed to vary before it is clipped.
The default is 2.0.
CANCEL - This button cancels any modifications made to the XVU parameters.
OK - Click this button when you are satisfied with the XVU parameters.
- 70 -
Rewind - This button will cause the input tape containing TAR savesets to be rewound.
List - This button will list the TAR input tape.
Extract to folder - This specifies the base directory (folder) into which the files will be copied. If "Use
folder names" is ticked, appropriate sub-directories will be created.
Browse - Use this to pick the base directory name.
Extract All Files - This button will cause all files to be copied from the TAR tape.
Extract Selected Files - This button will cause only those files which have been selected by highlighting in
the listbox to be copied from the TAR tape.
Stop - Use this button to interrupt the extaction process.
Use folder names - Tick this option if you want the folder name (if any) to be retained.
Overwrite existing files - Tick this option if you wish any existing files with the same name to be
overwritten.
Rewind first - Tick this option if you want the TAR tape to be rewound prior to extracting files.
- 71 -