What is the purpose of TCPDRIV=DUMMY?

Document ID : KB000019567
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

The CA Spool Customization Guide documents TCPDRIV=DUMMY.

What is the purpose of defining a destination NODE with TCPDRIV=DUMMY?
What should the NODE definition look like for such a NODE?

Solution:

The print driver DUMMY is designed to purge from CA Spool any file you queue to it.

A sample definition for a destination with TCPDRIV=DUMMY follows:

DEFNODE EDUMMY,DUMMY-E,PURGE=YES,ACQUIRE=WORK,RELEASE=NOWORK, 	
 TCPDRIV=DUMMY,TCPHOST=DUMMY,GROUP=1,SEP=0 
 
NODE DUMMY,EDUMMY,CLASS=A 

Such a definition can be used to automatically purge reports that reached the OUTLIM value; this is done in conjunction with setting the ESFPARM file with XEQOPT=1 and adding a USERPARM keyword on the DEFNODE/NODE regular destinations.

Example:

When XEQOPT=1 is also specified, USERPARM=DUMMY/STD/6/A makes a report which exceeded the OUTLIM to be redirected to destination DUMMY, with FORM=STD, FCB=6, CLASS=A.

Also, see Technical Documents FAQ385475, FAQ261831 and the CA Spool Customization Guide for the reference.