MERGEFILE
Jump to navigation
Jump to search
merges an input file to the end of an output file
<in> Input file name <out> Output file name Adds the entire contents of input file <input> to the end of output file <output>. If <output> does not exist, it is created as a copy of <input>. The following rules apply: o The data in <input> is copied regardless of any file type or data format incompatibilities. Output file header information is not changed except for the logical file length words. o There is no length limitation on either <input> or <output>. o <input> file type can be any MIDAS data file. Note: The default transfer length is computed as Math.max(1,bufSize/hi.dbpe) where bufSize is a variable defined in nxm.sys.lib.Primitive (~32678) and hi.dbpe is the bytes-per-element of the input file format. Switches: /REPLAY=N - Number of times to copy input file [DEF=1] /TL - The number of elements to be read each process loop [DEF=computed] /OFFSET=n - Add <in> file starting at offset N in the <out> file. [DEF=EndOfOutputFile] See Also: nxm.sys.lib.Primitive