DB00605E - CONSOLE BAD CONTEXT error after MESSAGE DD@MSG command
search cancel

DB00605E - CONSOLE BAD CONTEXT error after MESSAGE DD@MSG command

book

Article ID: 245037

calendar_today

Updated On:

Products

Datacom/AD Datacom Datacom/DB DATACOM - AD

Issue/Introduction

The Datacom console command "MESSAGE DD@MSG,DB00148" gets the following error message:

DB00605E - CONSOLE BAD CONTEXT - MESSAGE DD@MSG,DB00148

no matter how it's executed (MVS Modify command or via DBUTLTY COMM OPTION=CONSOLE).

Environment

Release : 15.1

Component : Datacom/AD

Resolution

In order to use that console command, the DD@MSG SYSOUT dataset must be already allocated to MUF. 
However, this sysout is allocated ONLY if there is at least a:
MESSAGE DD@MSG,DBnnnnn
card in the SYSIN deck when the MUF starts.