How to know if encryption is being used?
search cancel

How to know if encryption is being used?

book

Article ID: 132902

calendar_today

Updated On:

Products

Spool

Issue/Introduction

The ESFPARM parameter SPOOLENC specifies whether spool data should be encrypted or not. SPOOLENC=YES causes the data to be encrypted

Environment

Release: 12.0 or 14.0


Component: CA Spool

Resolution

You can confirm encryption is being used by copying one file using ESFSPTP and browsing the output dataset.

For example:

//BKP EXEC PGM=ESFSPTP,PARM='BFnnn,SUBSYS=ESF'
//STEPLIB DD DISP=SHR,DSN=prefix.CBQ4LOAD
//SYSPRINT DD SYSOUT=*
//INDEX DD SYSOUT=*
//BACKUP DD DSN=prefix.BKP,DISP=(,CATLG,DELETE),
// UNIT=SYSDA,SPACE=(TRK,(x,x),RLSE)        

The data of the file itself won't be readable.

If you want to produce readable data you can use the keyword ENCRYPT=NO:

//BKP EXEC PGM=ESFSPTP,PARM='BFnnn,SUBSYS=ESF,ENCRYPT=NO'

//STEPLIB DD DISP=SHR,DSN=prefix.CBQ4LOAD

//SYSPRINT DD SYSOUT=*

//INDEX DD SYSOUT=*

//BACKUP DD DSN=prefix.BKP,DISP=(,CATLG,DELETE),

// UNIT=SYSDA,SPACE=(TRK,(x,x),RLSE)        

Additional Information

https://docops.ca.com/ca-spool/12-0/en/initialization-options/initialization-parameters-n-z/spoolenc

https://docops.ca.com/ca-spool/12-0/en/other-customization-options/data-encryption/