Valid in: | XML configuration |
Restriction | The logstream must be defined, using the IBM IXCMIAPU utility. |
See | For information about the generic elements of the appender syntax, see General Appender Syntax. |
stream
parameter that names the z/OS logstream that
is used. You can define coupling facility (CF) logstreams or DASD-only
logstreams for use with ZOSFacilityAppender. RACF access must be granted
to any SAS user or batch SAS job that writes to the system logger.
<appender class="ZOSFacilityAppender" name="LOG"> <param name="stream" value="SAS.LOG"/> <layout> <param name="ConversionPattern" value="%d %-5p [%t] %c (%F:%L) - %m"/> </layout> </appender> <root> <level value="trace"/> <appender-ref ref="LOG"/> </root>
//STEP1 EXEC PGM=IXCMIAPU //SYSIN DD * DATA TYPE(LOGR) DEFINE LOGSTREAM NAME(SAS.LOG) LS_DATACLAS(STD) LS_MGMTCLAS(STD) LS_STORCLAS(STD) HLQ(IXGLOGR) MODEL(NO) LS_SIZE(0) STG_MGMTCLAS(STD) STG_STORCLAS(STD) STG_DATACLAS(STD) STG_SIZE(3000) LOWOFFLOAD(60) HIGHOFFLOAD(95) STG_DUPLEX(YES) DUPLEXMODE(UNCOND) RETPD(3) AUTODELETE(YES) OFFLOADRECALL(YES) DASDONLY(YES) DIAG(NO) LOGGERDUPLEX() EHLQ(NO_EHLQ) MAXBUFSIZE(64000)
//REPRO EXEC PGM=IDCAMS,REGION=20M //SYSUT1 DD DISP=SHR,DSN=SAS.LOG, // SUBSYS=(LOGR), // DCB=(DSORG=PS,RECFM=VB,LRECL=32756,BLKSIZE=32760) //SYSUT2 DD SYSOUT=*, // DCB=(DSORG=PS,RECFM=VB,LRECL=32756,BLKSIZE=32760) //SYSIN DD * REPRO INFILE(SYSUT1) OFILE(SYSUT2) /*