The following job returns an error for the field PWPA2TOD
//STEP1 EXEC PGM=ACFRPTSL
//* ********************************************************************
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
INPUT(ACF2)
REPORT(SHORT)
DTCFIELD(NO)
SFLDS(UID,ACC-DATE,PSWA2TOD,PWPA2TOD,CSDATE)
The error is:
ACF49071 INVALID FIELD NAME IN SFLDS PARAMETER - PWPA2TOD
Release : 16.0
Component : CA ACF2 for z/OS
The ACFRPTSL report generator provides a listing of all logonid records that match the set of selection criteria specified in the report (JCL) parameters.
ACFRPTSL processes Logonid records.
PWPA2TOD is not in a logonid record but in USER Profile PWPHRASE records so can not be processed by ACFRPTSL.
Both the ACFRPTSL report and TSO, ACF command processor currently do not support logical IF processing for specific PWPHRASE Profile records.
A possible circumvention would be to run an ACFBATCH job that issues a ' LIST LIKE(-) PROFILE(PWPHRASE)' to list all logonids and their PWPHRASE records to a flat file and then run a report writer job to read the file to produce a report based on the PWPA2TOD field.
For example:
//ACFBATCH EXEC PGM=ACFBATCH
//SYSPRINT DD DISP=(,CATLG,DELETE),DSN=YOUR.ACFBATCH.FILE,
// SPACE=(CYL,(50,10)),UNIT=SYSDA,
// DCB=(RECFM=FBA,LRECL=133,BLKSIZE=1330)
//SYSIN DD *
SET LID
LIST LIKE(-) PROFILE(PWPHRASE)
/*