Getting message N96008 in my NMBCI batch job

Document ID : KB000116855
Last Modified Date : 03/10/2018
Show Technical Document Details
Issue:
Why am I getting message N96008 in my NMBCI batch job?

Here's my JCL, which I've based on the NCL Guide appendix I: Batch Command Interface. 

//NMBCI EXEC PGM=NMBCI 
//SYSPRINT DD SYSOUT=* 
//SYSOUT DD SYSOUT=A 
//SYSIN DD * 
BCILOGON MAI USER NETMBSYS PASSWORD LUPREF NMM9F MENU BCI 
SHOW USERS 
BCIDISC 
/* 


The results are: 

+BCILOGON MAI 
=N96008 UNRECOGNISABLE DATA AT 'NMM9F ' 
+SHOW USERS 
=N96001 COMMAND IGNORED - NO SOLVE SESSION 
+BCIDISC 
=N96001 COMMAND IGNORED - NO SOLVE SESSION 


I've tried various combinations of LU with the whole LUNAME, MENU with the option BCI, a different LUPREF value (the LU1 variant instead of the full-screen one above), etc. but they all yield the same N96008 message. 

What am I doing wrong?
Environment:
All NetMaster and SOLVE products, all releases
Resolution:
The logon needs to be for that of the user submitting the job, not a background user.
Sample JCL that works:

//NMBCI EXEC PGM=NMBCI 
//STEPLIB DD DSN=MVS1.SM50.LOAD,DISP=SHR 
//SYSPRINT DD SYSOUT=* 
//SYSOUT DD SYSOUT=A 
//SYSIN DD * 
BCILOGON SOLVE USER SMITHP1 PASSWORD QWERTY LUPREF NMF MENU BCI 
SHOW USERS 
BCIDISC 
/*