If the FIELDS parameter is specified and no sub-parameters are listed an error message will be displayed. If SUMMARY is specified after the FIELDS parameter, the FIELDS parameter will be ignored. If SUMMARY is specified before the FIELDS parameter, the SUMMARY parameter will be ignored. If more than one FIELDS parameter is specified, only the last FIELDS parameter will be acknowledged.
The FIELDS parameter can be specified on the PARM= of the EXEC within the JCL as well as via the SYSIN parameter.
Examples: FIELDS parameter
In this example the FIELDS parameter is specified on the PARM= of the EXEC, without any other parameters. Each element of the list separated by a comma:
//SAFRPTCR EXEC PGM=SAFCRRPT, // PARM=(FIELDS(LABEL,SERIAL,ISSUER,SUBJECT,ACTIVE,EXPIRE, // KEYSIZE,PUBLIC,PKDS,SIGNOF))
In this example the FIELDS parameter is specified on the PARM= of the EXEC with other parameters, the other parameters are enclosed in single quotes, such as ‘RECORDID(-)’:
//SAFRPTCR EXEC PGM=SAFCRRPT,
// PARM=('RECORDID(-)',
// FIELDS(ACTIVE,EXPIRE,KEYSIZE,PUBLIC,PKDS,SIGNOF,LABEL,
// SERIAL,ISSUER,SUBJECT))
In this example the FIELDS parameter is specified within the SYSIN of the JCL. In the case that the parameter extends to several lines each element of the list separated by a single space:
//SYSIN DD * FIELDS(ISSUER SUBJECT ACTIVE EXPIRE KEYSIZE PUBLIC PKDS SIGNOF LABEL SERIAL) RECORDID(-) /*
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|