BCI and commands

Document ID : KB000094701
Last Modified Date : 04/05/2018
Show Technical Document Details
Introduction:
BCI is the Batch Command Interface. With htis feature you can use a Job to log on to the Netmaster Region, issue comamnds and get the replies in your Job Output.
Commands which return the answer line by line like SHOW USERS, SHOW ALLOC work fine with BCI.
Commands like $DSCALL OPT=SHOWALLOC do not work but create this output:
 
TMMAF003 SYS1EKO  $USERBCI $USV3270     =N96006 SESSION ESTABLISHED - APPL-ID=NMTEST    
SYSIN    SYS1EKO  $USERBCI $USV3270     +EXEC $DSCALL OPT=SHOWALLOC                     
TMMAF003 SYS1EKO  Dataset  NMTEST------  CSR                                            
SYSIN    SYS1EKO  Dataset  NMTEST------ +BCIDISC                                        
                                        =N96010 SESSION DISCONNECTED - APPL-ID=TMMAF003 
Instructions:
The BCI interface cannot handle panel displays which a real user see on his terminal. $DSCALL OPT=SHOWALLOC displays a panel to show the content while a OCS-command returns the answer line-by-line.