RPDEL: Delete Reports from New Report File

Last updated 19 Nov 97

RPDEL copies reports to a new Report file, deleting those specified by the user. Each "deleted" report is retained as a single dummy record, which preserves the original report numbers. PRTREP and REPSXX ignore these dummy records. If renumbering is desired, the program RPCOPY should be used instead.

Once the user is satisfied that all the necessary reports are in the new file, the old Report file can be deleted.

Program Invocation

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


@codap rpdel <opt> <ssss> <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 Deletion Cards

These cards allow the user to reject copying of any desired report(s). Any report listed in this section will not be copied.


<rep>[-<rep>]

rep:     cc 01-04  The report number to delete.  If using a range this
		   specifies the lower limit.
'-':     cc 05     The literal '-' if specifying a range
rep2:    cc 06-09  The upper limit report number if specifying a range

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

Example

@codap rpdel - ssss rp000 rp001
21
32  - 43
20
 123-9999
@EOF

Reports number 20, 21, 32 through 43, and 123 through 9999 will be deleted. All other reports are copied from file rp000 to file rp001. The new reports will retain their original report numbers. A REPSXX listing of the output Report file will automatically be generated.

Back to document index