MRGCOPY MRGCOPY is a program which copies one Merge-format file to another. It is not intended for normal use: it is easier to use the DCL COPY command. Rather, it serves as a skeleton program which can be easily modified to perform some operation on the data in the merge file. One may copy the source code, modify it to do the job, recompile it, and run it, as follows: $ COPY VLBSOURCE:MRGCOPY.FOR []SPECIAL.FOR $ EDIT SPECIAL.FOR ... $ FORTRAN SPECIAL $ LINK SPECIAL,VLB:VLBLIB/LIB $ RUN SPECIAL In order to modify the program one will need some knowledge of the structure of merge-format files, which is described in Appendix A (see VLBHELP FORMAT). Example $ MRGCOPY INPUT = [SCRATCH]3C179P.MRG OUTPUT = 3C179Q.MRG / $ is equivalent to $ COPY [SCRATCH]3C179P.MRG []3C179Q.MRG Parameters End the list of parameters with a slash (/). Quotation marks are only needed if the value includes spaces or commas. INPUT = filename : specifies the name of the input file. OUTPUT = filename : specifies the name for the output file. HISTORY= "text" : the specified text (up to 80 characters) will get written in the history of the output file. History Version 1.0: 1984 May 2 (T.J. Pearson). Version 1.1: 1985 Jul 24 - add HISTORY parameter, and remove the sample code that erroneously changed UT in each record (TJP).