Hello Lucas,

Your solution worked for me

"SUBMIT 'USR1.REXX.CNTL(REXXJCL)'" .

Now, I am trying to issue tso send command using this rexx  as below using
netview but i am getting below errror


/*  REXX     */

 ADDRESS TSO

 SAY 'HELLO WORLD!'

 "SEND ''FD FILE HAS BEEN RECEIVED' USER(USR54) NOW'"



Error

EF404I USR54 LC - ENDED - TIME=14.29.07

HELLO WORLD!

     4 *-* "SEND ''FDI FILE HAS BEEN RECEIVED' USER( USR54 )

       +++ RC(-3) +++



I am unable to find correct syntax for this. I didnt find anything in
manual . Can you please help.



On Sat, May 12, 2018 at 7:14 PM, Lucas Rosalen <rosalen.lu...@gmail.com>
wrote:

> Try changing FDIREXX script to the following:
>
> /* REXX */
>
> "SUBMIT 'USR1.REXX.CNTL(REXXJCL)'"
>
>
> ------------------------------------------------------------
> -------------------------------------------------------------------
> *Lucas Rosalen*
> rosalen.lu...@gmail.com / lucas.rosal...@ibm.com
> http://br.linkedin.com/in/lrosalen
>
>
> 2018-05-12 12:57 GMT-03:00 Steve Horein <steve.hor...@gmail.com>:
>
> > SUBMIT is a native NetView command, and you don't need (or want) to use
> > ADDRESS TSO.
> > https://www.ibm.com/support/knowledgecenter/SSZJDU_6.2.1/
> > com.ibm.itnetviewforzos.doc_6.2.1/dqc_submit.htm
> >
> > Specifics to NetView Rexx can be found here:
> > https://www.ibm.com/support/knowledgecenter/SSZJDU_6.2.1/
> > com.ibm.itnetviewforzos.doc_6.2.1/dqgmst.htm
> >
> >
> > Specifics to NetView Automation can be found here:
> > https://www.ibm.com/support/knowledgecenter/SSZJDU_6.2.1/
> > com.ibm.itnetviewforzos.doc_6.2.1/dqamst.htm
> >
> >
> > On Sat, May 12, 2018 at 9:46 AM, venkat kulkarni <
> > venkatkulkarn...@gmail.com
> > > wrote:
> >
> > > 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 lists...@listserv.ua.edu with the message: INFO IBM-MAIN
> > >
> >
> > ----------------------------------------------------------------------
> > For IBM-MAIN subscribe / signoff / archive access instructions,
> > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
> >
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to