How to write a message from NCL to JES Joblog but not to SYSLOG
search cancel

How to write a message from NCL to JES Joblog but not to SYSLOG

book

Article ID: 122901

calendar_today

Updated On:

Products

SOLVE:Operations Automation SOLVE:Access Session Management SOLVE:FTS SOLVE

Issue/Introduction

The NCL verb &WRITE LOG=YES DATA=... can be used to write the text after DATA= into the Activity Log. You can use the verb &WTO to write data into the JES Message Log JESMSGLG and the SYSLOG.

Environment

Release:
Component: SACCES

Resolution

When you use
&WTO MCSFLAG=HRDCPY DATA=...
you write the test after DATA= into the JESMSGLG and the SYSLOG
When you use 
&WTO ROUTCDE=11 DATA=...
you write only into the JESLOG but not into the SYSLOG. This is true if the HARDCOPY receives NOT all Routing Codes. To find out, issue command SYSCMD D CONSOLES from OCS and check the first lines of the response:

syscmd d consoles
 N86510 COMMAND PASSED TO OPERATING SYSTEM
 04:39:17            CEXAM00I 04.39.17 CONSOLE DISPLAY 490
  CONSOLES MATCHING COMMAND: D CONSOLES
  MSG:CURR=0    LIM=9999 RPLY:CURR=38   LIM=200   SYS=SYSA     PFK=S0
  HARDCOPY  LOG=(SYSLOG,OPERLOG)  CMDLEVEL=CMDS
        ROUT=(ALL)
 ...


If there is ROUT=(1-10,12-128) instead then messages using Routing Code 11 are not forwarded to the SYSLOG and the &WTO does only write into the JESJOBLG, not into the SYSLOG.