RPCOPY: Copy Reports to New Report File

Last updated 19 Nov 97

RPCOPY copies selected reports to a new Report file, in any specified order. The output reports are renumbered in sequence, starting from one. New report titles may be specified for each report. These titles will appear in a REPSXX listing, and in the Table of Contents in a PRTREP report.

To preserve the original report numbers, run RPDEL instead.

Program Invocation

The specific syntax for program invocation varies between operating systems. This document diplays the code for the AIX version.


@codap rpcopy <opt> <inp> <out>

opt:  X   Do not generate a REPSXX listing of the output Report file.
ssss:     The study number
inp:      Input Report file
out:      Output Report file

Report Request Cards

These cards indicate which report(s) are to be copied. Reports are copied in the specified order.


RPnnnn [title]

RPnnnn:  cc 01-06  The report to be copied
title:   cc 08-67  Optional new title for this report

These cards are terminated by an end-of-file or an '@eof' image.

Example

@codap rpcopy - ssss rp000 rp001
RP0006
RP0007 New title for this report
RP0001
RP0003
RP0021
@EOF

Reports number 6, 7, 1, 3, and 21 will be copied from rp000 to rp001. The reports are automatically renumbered from one to five. New report RP0002 (originally RP0007) will have a new title. A REPSXX listing of the output Report file will automatically be generated.

Back to document index