P (punch)

<< Click to Display Table of Contents >>

Navigation:  Reference > RCPs >

P (punch)

This RCP specifies which output data file(s) to use in the Data Stage. There are two forms:

P[(stream)]=datafile[(ADD)],

which sets the name for the output data file.

P[(stream)]=<>[(NEW)],

when "<>" is used CL will ask you for the file name when it starts the run. If (NEW) is used CL will not allow you to select an existing file.

Up to 12 streams are allowed, named A through L. If stream is not specified, then stream A is assumed.

On some systems if additional parameter (ADD) is used, data will be added to what is already on file; otherwise, the previous contents will be overwritten. This RCP takes effect at execution only.

Full path names may be used in specifying the PUNCH file.