GPP999W THE SYS$LOG PDS IS 0nn% FULL

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

Description:

SYS$LOG is full. After enlarging the PDS, it fills up again. Is there a way to maintain this file?

Solution:

SYS$LOG logs Dataset OPEN and CLOSE information. GSDSN will maintain the size of the file.

Sample JCL

(Output current records to disk)

// JOB CREATE HISTORY
// DLBL AUDITHO,'GSDSN.HIST'
// ASSGN SYS005,351
// EXEC GSDSN,SIZE=GSDSN
MERGE IN=NONE,OUT=SYS005,RESET=xxxxxx
/*
/&

(The input tape is a previously created history archive file. The output tape contains all
records on the input tape plus all new data from the audit log file.)

// JOB UPDATE HISTORY
// TLBL AUDITHI,'GSDSN.HIST'
// ASSGN SYS004,281
// TLBL AUDITHO,'GSDSN.HIST'
// ASSGN SYS005,280
// EXEC GSDSN,SIZE=GSDSN
MERGE IN=SYS004,OUT=SYS005,RESET=xxxxx
/*
/&

RESET parms = weekly, monthly, yes, yy/mm/dd