Problems with CICS message DFHFC0952
search cancel

Problems with CICS message DFHFC0952

book

Article ID: 188027

calendar_today

Updated On:

Products

OPS/MVS Event Management & Automation

Issue/Introduction

Sometimes this messages has different formats depending on how long is the file name.

Here the file name is the 8th word of the message:

DFHFC0952 XNNCFOPX Dynamic allocation of Non-RLS file BRS1 failed. Return code X'0004',X'1708' in module DFHFCFS. 


But in the message below the file name is the 6th word of a second message:

DFHFC0952 XNNCFOPX                                            

Dynamic allocation of Non-RLS file XYOMIGR6 failed. Return code

X'0004',X'0210' in module DFHFCFS.                            

How to deal with this situation?

 

Environment

OPS/MVS

Resolution

This message is a MLWTO (Multi-Line WTO). See sample rule to extract the file name no matter what line or position it is in the text of the message:

)MSG DFHFC0952 MLWTO
)PROC
DO I = 1 TO MSG.TEXT.0
IF POS("FILE",MSG.TEXT.I) > 0 THEN
PARSE VAR MSG.TEXT.I . "FILE" DDNAME "FAILED" .
END
SAY "DDNAME IS: " DDNAME