Issue:
After running a job to start the Datacom MUF, running a similar job to shut the MUF down with the function ‘COMM OPTION=EOJ’ fails and displays these errors:
DB01901E - INPUT LINE NOT RECOGNIZED
DB01913E - REQUIRED STATEMENT MISSING= DATACOM
DB01913E - REQUIRED STATEMENT MISSING= DATAPOOL
DB01913E - REQUIRED STATEMENT MISSING= DICTIONARY
DB01913E - REQUIRED STATEMENT MISSING= MUF
DB01913E - REQUIRED STATEMENT MISSING= SYSPOOL
DB01913E - REQUIRED STATEMENT MISSING= SYSTEMDBID
DB01913E - REQUIRED STATEMENT MISSING= TASKS
These messages are produced when the program is trying to run a Multi-User Facility (called MUF), and come from program DBMUFPR.
This is not the correct program to handle the COMM function.Run the DBUTLTY program, with the COMM OPTION=EOJ as the only record in the SYSIN file to shut down the MUF.
Here is a sample:
//L JCLLIB ORDER=CAI.CHLQ.CUSPROC
//*
//*------------------------------------------------------------------**
//* EXECUTE DBUTLTY TO SHUTDOWN DB MULTI-USER
//*------------------------------------------------------------------**
//*
//SHUTDOWN EXEC PGM=DBUTLTY,REGION=6M,PARM='/PGMMONTH=1'
// INCLUDE MEMBER=B15STLIB
// INCLUDE MEMBER=B15DDCXX
// INCLUDE MEMBER=B15DDOUT
//SYSIN DD *
COMM OPTION=EOJ
/*