Using CCSET to lower severity
search cancel

Using CCSET to lower severity

book

Article ID: 369526

calendar_today

Updated On:

Products

Disk Backup and Restore - MVS

Issue/Introduction

DMSU Unix procedure got the following error message and ended with RC=08.

...
ADSUN017 5001 Named pipes and sockets not supported                             
ADSUN017 5001 File name ....filename.... not backed up.
ADSUN001 3279 SCAN/FIND complete; preparing sorted report  

...

Setup CCSET member in Disk Parmlib as below reported:  

'$FLG B '             
'5001 OI'  

in order to lower the severity of this message from 08 to 04, as documented in the techdoc at the following link:

User-Specified Condition Codes

but the batch procedure ends again with RC=08 and the CCSET definition seems to be ignored.

Why this behavior and how to lower the severity of a Disk message?

Resolution

In the techdoc section related to CCSET:

User-Specified Condition Codes

It is reported the following sentence:

...

2. Whenever a message is issued during step processing, the highest condition code is set without regard to its origin.

...

That means the highest condition code set during the Disk job regardless of whether it was specified by Disk processing or the CCSET option will used.  Because Disk processing is setting an 8, and the highest code from CCSET is 4,  Disk will use the 8.

Therefore, CCSET works correctly only when it is requested to increase the severity of a message and not to decrease it.

So the severity of a message can be lowered only with a PTF, but this will be considered an enhancement and should be entered as an Idea at the following link:

Ideas

In this specific case related to the message :

5001

5001
 
NAMED PIPES AND SOCKETS NOT SUPPORTED. FILE NAME filename NOT BACKED UP.
Reason:
Named pipes and files are not stored as part of the file system hierarchy and are therefore not supported for backup.
If this message is issued, it usually means that the attributes for a file have been corrupted.

It is possible to exclude these kind of files, using the EXCLUDE CRITERIA for DMSU :

DSCL for DMSU EXCLUDE CRITERIA

UNIXFTYP
Specifies the file type.
CRI=(UNIXFTYP,EQ,<file type>)
File Types:
CHR: Character Special
DIR: Directories
FIF:  FIFO (Pipes) 
REG:  Regular
SOC:  Socket
SYM: Symbolic

So, if the PTF LU13355 is applied, use:

EXCLUDE CRITERIA=(UNIXFTYP,EQ,FIF)

otherwise, the correct criteria to exclude them is:  

EXCLUDE CRITERIA=(UNIXFTYP,EQ,PIP)