Hello Venkart,

You should actually be able to do that. User submitting that jcl needs to 
submit jcl and some TSO authorizations. Have you given right permission for 
that user? If not, please give them and try again? You can take help from your 
security administrators for them.

Best Regards

Bülent Dülger
Mainframe IT Specialist

ServiZ Information Technologies Inc.

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of venkat kulkarni
Sent: Saturday, May 12, 2018 17:47
To: [email protected]
Subject: Netview Submit JCL

Hello Group,

We have requirement to trigger one Job upon receiving one msg id  like
below in


netview automation table.


IF MSGID = 'IEF404I'  THEN

     EXEC(CMD('FDIREXX')) NETLOG(Y) SYSLOG(Y);


in CNMCLST, we have FDIREXX member as below.

sssssssssssssssssssssssssssssssssssssssssssssss

BROWSE    NETVIEW.CNMCLST(FDIREXX) - 01.08

********************************* Top of Data **

/*  REXX     */

 ADDRESS TSO

 SUBMIT 'USR1.REXX.CNTL(REXXJCL)'

******************************** Bottom of Data

On this event trigger,I am getting below error message in netview log


13:35:50 - CNM493I DSITBL01 : #0000241 : FDIREXX

13:35:50 E IEF404I USR1LC - ENDED - TIME=13.35.50

13:35:50 C      3 *-* SUBMIT 'USR1.REXX.CNTL(REXXJCL)'

13:35:50 C        +++ RC(-3) +++

13:35:57 C BR NETLOGA


and JCL as below.

  USR1.REXX.CNTL(REXXJCL) - 01.04

***************************** Top of Data **********

//USRSYS JOB (660),VENKAT,CLASS=A,NOTIFY=&SYSUID

//STEP010  EXEC PGM=IKJEFT01,REGION=0M

//SYSEXEC  DD DSN=USR1.REXX.CNTL,DISP=SHR

//SYSTSPRT DD SYSOUT=*

//SYSTSIN  DD *

 %SAMPLE


and rexx as below

 USR1.REXX.CNTL(SAMPLE) - 01.01

***************************** Top of Dat

/*  REXX     */

 SAY 'HELLO WORLD!'

**************************** Bottom of D


I am not sure, where I made any mistake in this process.

Can you please help.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to