Re: CA VIew Reports

2018-12-12 Thread venkat kulkarni
Hello Group,

I am looking for freeware software or any other process available on
mainframe to download reports from CA view to my desktop in PDF format.

On Wed, Dec 12, 2018 at 6:55 PM Blake, Daniel J [CTR] <
00f1be92566d-dmarc-requ...@listserv.ua.edu> wrote:

> It looks like CA is merging CA View and CA Deliver.  We just installed R14
> and they share a common load library.
>
> https://www.slideshare.net/CAinc/ca-view-and-ca-deliver-product-overview
>
> ;-D an
>
> Dan Blake
>
>
> -Original Message-
> From: IBM Mainframe Discussion List  On Behalf
> Of Allan Staller
> Sent: Wednesday, December 12, 2018 10:38 AM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: CA VIew Reports
>
> There was, at one time, a product know as SAR(CA VIEW)/PC.
> There was also an AFP Viewer.
>
> Don't know if either is still marketed.
>
> HTH,
>
> -Original Message-
> From: IBM Mainframe Discussion List  On Behalf
> Of Roger Bolan
> Sent: Wednesday, December 12, 2018 8:28 AM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: CA VIew Reports
>
> Take a look at the Infoprint Server component of z/OS in  the IBM
> Knowledge Center.  With the IBM Print Transforms afpxpdf it can change AFP
> or line data into PDF and email it.  All the documentation is online at
> https://apac01.safelinks.protection.outlook.com/?url=www.ibm.comdata=02%7C01%7Callan.staller%40HCL.COM%7C4fc20affb8bd4e5397bf08d6603e235c%7C189de737c93a4f5a8b686f4ca9941912%7C0%7C0%7C636802217357102206sdata=IBKJdbTUL0SLBZK1Kb47cmZhF%2B2IgIO01d%2F44e9nfXU%3Dreserved=0.
> --Roger
> <https://apac01.safelinks.protection.outlook.com/?url=www.ibm.comdata=02%7C01%7Callan.staller%40HCL.COM%7C4fc20affb8bd4e5397bf08d6603e235c%7C189de737c93a4f5a8b686f4ca9941912%7C0%7C0%7C636802217357102206sdata=IBKJdbTUL0SLBZK1Kb47cmZhF%2B2IgIO01d%2F44e9nfXU%3Dreserved=0.--Roger>
>
> On Wed, Dec 12, 2018, 4:01 AM venkat kulkarni  wrote:
>
> > Hello Group,
> >
> > Is there any way to offload reports  from CA View (SAR) to windows
> > desktop in pdf format and also keeping report information like when it
> > was originally created, Job name , Job ID etc.
> >
> > Any suggestions on this please.
> >
> > --
> > 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
> ::DISCLAIMER::
>
> --
> The contents of this e-mail and any attachment(s) are confidential and
> intended for the named recipient(s) only. E-mail transmission is not
> guaranteed to be secure or error-free as information could be intercepted,
> corrupted, lost, destroyed, arrive late or incomplete, or may contain
> viruses in transmission. The e mail and its contents (with or without
> referred errors) shall therefore not attach any liability on the originator
> or HCL or its affiliates. Views or opinions, if any, presented in this
> email are solely those of the author and may not necessarily reflect the
> views or opinions of HCL or its affiliates. Any form of reproduction,
> dissemination, copying, disclosure, modification, distribution and / or
> publication of this message without the prior written consent of authorized
> representative of HCL is strictly prohibited. If you have received this
> email in error please delete it and notify the sender immediately. Before
> opening any email and/or attachments, please check them for viruses and
> other defects.
>
> --
>
> --
> 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


CA VIew Reports

2018-12-12 Thread venkat kulkarni
Hello Group,

Is there any way to offload reports  from CA View (SAR) to windows desktop
in pdf format and also keeping report information like when it was
originally created, Job name , Job ID etc.

Any suggestions on this please.

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


Re: SFTP between AIX to Mainframe

2018-12-12 Thread venkat kulkarni
Hello Group,

We identified the issue and resolve it  and the solution is, if we use SCP
to transfer file  from AIX to Mainframe, data gets corrupt during
transmission.
But when we use SFTP to transfer file from AIX to Mainframe, this process
works perfectly.

I am unable to find reason, why SCP causing this issue. But problem has
been solved.
Thank you so much for helping always .

On Mon, Dec 10, 2018 at 10:21 PM Paul Gilmartin <
000433f07816-dmarc-requ...@listserv.ua.edu> wrote:

> On Mon, 10 Dec 2018 21:01:36 +0300, venkat kulkarni wrote:
>
> >Hello All,
> >
> >We have strange SFTP output cases.
> >
> >1) We had requirement of sending ascii file using SFTP from Solaris to
> >Mainframe . So, we used DD command to convert this ascii file into ebcdic
> >
> Please supply more information for diagnosis.  E.g. for a simple
> original.file such as:
>
> 1234
> ABCD
> abcd
> Hello, World!
>
> od -tx1 original.file # Post the result here.
>
> Convert the file;   Post the command
>
> od -tx1 converted file # Post the result here.
>
> Transmit the file; Post the commands.
>
> od -tx1 received.file  # Post the result.
>
> -- gil
>
> --
> 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


Re: SFTP between AIX to Mainframe

2018-12-10 Thread venkat kulkarni
Non readable format means in  ebcdic  format.



On Mon, Dec 10, 2018 at 9:18 PM Paul Gilmartin <
000433f07816-dmarc-requ...@listserv.ua.edu> wrote:

> On Mon, 10 Dec 2018 21:01:36 +0300, venkat kulkarni wrote:
> >
> >We have strange SFTP output cases.
> >
> >1) We had requirement of sending ascii file using SFTP from Solaris to
> >Mainframe . So, we used DD command to convert this ascii file into ebcdic
> >
> >using conv parameter and CBS size equal to record length of mainframe
> >dataset and then receive the file from  Solaris SFTP --- Mainframe Unix
> ---
> >Mainframe dataset using OGET command and binary mode.  This whole process
> >works well  and we receive data in the correct format in mainframe.
> >
> >2)  We had similar requirement from AIX to Mainframe to send ascii data
> >using SFTP . We used same way like we described above for Solaris. But the
> >problem comes, when we transfer file using SFTP from AIX to Mainframe unix
> >after ebcdic conversion and the file is non readable format.
> >But this process work fine, if don't convert the file in ebcdic and just
> >send ascii file as it is from AIX to Mainframe unix and then transfer to
> >mainframe dataset in text mode.
> >
> >I am unable to understand, whats difference in Solaris and AIX . How comes
> >this process is working on Solaris but not in AIX. Infact both system are
> >ASCII.
> >
> Provide more details about "non readable format".  Is it largely that line
> breaks
> are lost?  Might this be a consquence of IBM's horrible decision to swap
> LF<->NL
> in ASCII<->EBCDIC conversion?
>
> -- gil
>
> --
> 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


Re: SFTP between AIX to Mainframe

2018-12-10 Thread venkat kulkarni
Hello All,

We have strange SFTP output cases.

1) We had requirement of sending ascii file using SFTP from Solaris to
Mainframe . So, we used DD command to convert this ascii file into ebcdic

using conv parameter and CBS size equal to record length of mainframe
dataset and then receive the file from  Solaris SFTP --- Mainframe Unix ---
Mainframe dataset using OGET command and binary mode.  This whole process
works well  and we receive data in the correct format in mainframe.

2)  We had similar requirement from AIX to Mainframe to send ascii data
using SFTP . We used same way like we described above for Solaris. But the
problem comes, when we transfer file using SFTP from AIX to Mainframe unix
after ebcdic conversion and the file is non readable format.
But this process work fine, if don't convert the file in ebcdic and just
send ascii file as it is from AIX to Mainframe unix and then transfer to
mainframe dataset in text mode.

I am unable to understand, whats difference in Solaris and AIX . How comes
this process is working on Solaris but not in AIX. Infact both system are
ASCII.

Can you please help.

On Sun, Dec 9, 2018 at 8:22 PM Paul Gilmartin <
000433f07816-dmarc-requ...@listserv.ua.edu> wrote:

> On Sun, 9 Dec 2018 19:34:48 +0300, venkat kulkarni wrote:
>
> >Hello Group,
> >
> >We have some FTP job enabled b/w AIX to MF and now we have requirement to
> >convert them into SFTP.
> >
> >But as AIX is ascii and MF is EBCDIC system. How this transfer will work.
> >Also, currently FTP process use ascii mode to transfer data and SFTP is
> >available only with binary mode how this whole process will work .
> >
> Check the Co:Z enhancements from Dovetailed.
>
> Or, use ssh which does the translation:
> cat AIX.file | ssh zOS "cat >z/OS.file"
> Or:
> cat AIX.file | ssh zOS "iconv -f ISO8859-1 -t IBM-1047 >z/OS.file"
>
> (And once you set up the ssh keys, you needn't send a password.)
>
> If you replace "cat" with "pax", you can transmit a whole directory
> hirearchy.
>
> -- gil
>
> --
> 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


SFTP between AIX to Mainframe

2018-12-09 Thread venkat kulkarni
Hello Group,

We have some FTP job enabled b/w AIX to MF and now we have requirement to
convert them into SFTP.

But as AIX is ascii and MF is EBCDIC system. How this transfer will work.
Also, currently FTP process use ascii mode to transfer data and SFTP is
available only with binary mode how this whole process will work .

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


Re: Tape Migration

2018-09-19 Thread venkat kulkarni
Hello ,

I run tapemap and able to list all volume backup dataset on tape.

/SYSPRINT DD  SYSOUT=*

//DASD1DD  UNIT=3390,VOL=SER=REST01,DISP=OLD

//TAPE DD UNIT=359D,DISP=SHR,DSN=BKUP.PROH19.TP <http://bkup.proh19.tp/>
,LABEL=(1,BLP),

//VOL=SER=(PROD01)


 In above DD stmt, we are trying to restore BKUP.PROH19.TP using BLP
option, so, there is no use of putting sequence number of this dataset on
tape. I can always use 1 in this case.


Please correct, if I my understanding is wrong.

On Wed, Sep 19, 2018 at 12:52 PM Elardus Engelbrecht <
elardus.engelbre...@sita.co.za> wrote:

> venkat kulkarni wrote:
>
> >We already tried with option BLP and receive below error.
>
> Please post the full DD statement with that BLP.
>
>
> >ADR389E (001)-BKIOR(01), INVALID INPUT ON DDNAME TAPE, INPUT DATA SET NOT
> > PRODUCED BY DFDSS OR DFSMSDSS
> >ADR389E (001)-TDDS (07), INVALID INPUT ON DDNAME TAPE, INPUT DATA SET NOT
> >PRODUCED BY DFDSS OR DFSMSDSS
>
> I believe you are picking up an incorrect/wrong dataset on your tape.
>
> Run a Tapemap on that volser. What do you see there?
>
>
> >Yes,  TEST01 to PROD01 copy was 100% successful.
>
> Thanks. One worry eliminated.
>
> Groete / Greetings
> Elardus Engelbrecht
>
> --
> 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


Re: Tape Migration

2018-09-19 Thread venkat kulkarni
Hello Elardus,

We already tried with option BLP and receive below error.

ADR101I (R/I)-RI01 (01), TASKID 001 HAS BEEN ASSIGNED TO COMMAND 'RESTORE
'

ADR109I (R/I)-RI01 (01), 2018.262 09:21:32 INITIAL SCAN OF USER CONTROL
STATEMEN

ADR016I (001)-PRIME(01), RACF LOGGING OPTION IN EFFECT FOR THIS
TASK

ADR006I (001)-STEND(01), 2018.262 09:21:32 EXECUTION
BEGINS

ADR389E (001)-BKIOR(01), INVALID INPUT ON DDNAME TAPE, INPUT DATA SET NOT
 PRODUCED BY DFDSS OR DFSMSDSS

ADR389E (001)-TDDS (07), INVALID INPUT ON DDNAME TAPE, INPUT DATA SET NOT
PRODUCED BY DFDSS OR DFSMSDSS

ADR415W (001)-TDDS (02), NO DATA SETS WERE COPIED, DUMPED, OR RESTORED FROM
ANY

ADR006I (001)-STEND(02), 2018.262 09:21:32 EXECUTION
ENDS

ADR013I (001)-CLTSK(01), 2018.262 09:21:32 TASK COMPLETED WITH RETURN CODE
0008

ADR012I (SCH)-DSSU (01), 2018.262 09:21:32 DFSMSDSS PROCESSING COMPLETE.
HIGHEST

 TASK001


Yes,  TEST01 to PROD01 copy was 100% successful.

I also used DISP= SHR option but still no success.



On Wed, Sep 19, 2018 at 12:26 PM Elardus Engelbrecht <
elardus.engelbre...@sita.co.za> wrote:

> venkat kulkarni wrote:
>
> >Is there any way to bypass label written inside the tape and let system
> use the name of tape we provide. like below.
>
> Yes, via RACF and/or JES2 setting for your job.
>
>
> >We are getting below issue, while restoring BKUP.PROH19.TP dataset from
> PROD01 tape. But we encountered issue because initially BKUP.PROH19.TP
> dataset was backed up into  TEST01 tape and then we copied TEST01 into
> PROD01 and now we trying to recover data from PROD01.
>
> Are you sure your copy from TEST01 to PROD01 was 100% successfull?
>
>
> >Is there any way to solve this issue. TEST01 and PROD01 are VTL tape
> volume.
>
> Are they cataloged? If not, try BLP, not LABEL=(17,SL)
>
>
> >//S1EXEC PGM=ADRDSSU,REGION=0M
> >//** DBACCT DATA
> >//SYSPRINT DD  SYSOUT=*
> >//DASD1DD  UNIT=3390,VOL=SER=REST01,DISP=OLD
> >//TAPE DD UNIT=359D,DISP=(,PASS),DSN=BKUP.PROH19.TP,LABEL=(17,SL),
> >//VOL=SER=(PROD01)
> >//SYSINDD  *
> > RESTORE -
> >  INDDNAME(TAPE) -
> >  OUTDDNAME(DASD1) -
> >  DATASET(INCLUDE(USS19.PROD.ETC)) -
> >  RENAMEU(USS19.PROD.ETC,TRB01.USS19.PROD.ETC.PROD01) -
> >  CATALOG -
> >  TOL(ENQF)
> >/*
> >O/P as below.
> >14.46.03 JOB00070  IEF403I TRB01RS - STARTED - TIME=14.46.03
> >14.46.03 JOB00070 *IEF233A M 0FA3,PROD01,,TRB01RS,S1
> >14.46.03 JOB00070  IEC502E R 0FA3,TEST01,SL,TRB01RS,S1
> >14.46.03 JOB00070 *IEC501A M 0FA3,PROD01,SL,,TRB01RS,S1
> >14.46.03 JOB00070 *IEC514D DCK OR LBL ERR 0FA3,PROD01,TRB01RS,S1
> >14.46.03 JOB00070 *65 IEC514D REPLY 'M'-UNLOAD OR 'A'-ABEND
>
> You want to RESTORE from TAPE, but you have DISP=(,PASS) for that? I am
> not surprised you have issues with that job.
>
>
> Groete / Greetings
> Elardus Engelbrecht
>
> --
> 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


Tape Migration

2018-09-19 Thread venkat kulkarni
Hello Group,


Is there any way to bypass label written inside the tape and let system use
the name of tape we provide. like below.


We are getting below issue, while restoring BKUP.PROH19.TP dataset from
PROD01 tape. But we encountered issue because initially BKUP.PROH19.TP
dataset was backed up into  TEST01 tape and then we copied TEST01 into
PROD01 and now we trying to recover data from PROD01.


Is there any way to solve this issue. TEST01 and PROD01 are VTL tape
volume.


//S1EXEC PGM=ADRDSSU,REGION=0M


//** DBACCT DATA


//SYSPRINT DD  SYSOUT=*


//DASD1DD  UNIT=3390,VOL=SER=REST01,DISP=OLD




//TAPE DD UNIT=359D,DISP=(,PASS),DSN=BKUP.PROH19.TP,LABEL=(17,SL),




//VOL=SER=(PROD01)


//SYSINDD  *


 RESTORE -




  INDDNAME(TAPE) -




  OUTDDNAME(DASD1) -




  DATASET(INCLUDE(USS19.PROD.ETC)) -




  RENAMEU(USS19.PROD.ETC,TRB01.USS19.PROD.ETC.PROD01) -




  CATALOG -




  TOL(ENQF)




/*









O/P as below.









14.46.02 JOB00070  TUESDAY,   18 SEP 2018 





14.46.02 JOB00070  IRR010I  USERID TRB01IS ASSIGNED TO THIS JOB.





14.46.03 JOB00070  ICH70001I TRB01LAST ACCESS AT 14:39:45 ON TUESDAY,
SEPTEM




14.46.03 JOB00070  $HASP373 TRB01RS  STARTED - INIT A- CLASS A-
SYS




14.46.03 JOB00070  IEF403I TRB01RS - STARTED - TIME=14.46.03





14.46.03 JOB00070 *IEF233A M 0FA3,PROD01,,TRB01RS,S1





14.46.03 JOB00070  IEC502E R 0FA3,TEST01,SL,TRB01RS,S1





14.46.03 JOB00070 *IEC501A M 0FA3,PROD01,SL,,TRB01RS,S1





14.46.03 JOB00070 *IEC514D DCK OR LBL ERR 0FA3,PROD01,TRB01RS,S1





14.46.03 JOB00070 *65 IEC514D REPLY 'M'-UNLOAD OR 'A'-ABEND

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


Re: Netview Submit JCL

2018-05-13 Thread venkat kulkarni
Hello,

This command didn't worked for me and getting same issue.

On Sun, May 13, 2018, 11:21 PM Lucas Rosalen <rosalen.lu...@gmail.com>
wrote:

> Hi Venkat,
>
> What about using the syntax below?
>
> "MVS SEND 'your_message' USER(user) NOW"
>
>
>
> ---
> *Lucas Rosalen*
> rosalen.lu...@gmail.com / lucas.rosal...@ibm.com
> http://br.linkedin.com/in/lrosalen
>
>
> 2018-05-13 20:50 GMT+02:00 Steve Horein <steve.hor...@gmail.com>:
>
> > And the man ate fish for a day
> >
> > On Sun, May 13, 2018 at 12:06 PM, venkat kulkarni <
> > venkatkulkarn...@gmail.com> wrote:
> >
> > > 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.
> > > > > >
> > > > > > sss
> > > > > >
> > > > > > BROWSENETVIEW.CNMCLST(FDIREXX) - 01.08
> > > > > >
> > > > > > * Top of Data **
> > > > > >
> > > > > > /*  REXX */
> > > > > >
> &g

Re: Netview Submit JCL

2018-05-13 Thread venkat kulkarni
"SEND ''FD FILE HAS BEEN RECEIVED' USER(USR54) NOW'"

in this, " started with SEND and then two single quote start with FD and
then one closed after received and then one single and one double quote
ended after NOW.


Can you please help to correct this .


On Sun, May 13, 2018 at 9:17 PM, Chris Hoelscher <choelsc...@humana.com>
wrote:

> Well I see 3 double quotes and 2 single quotes .
>
> Chris Hoelscher
> Technology Architect, Database Infrastructure Services
> Technology Solution Services
> Humana Inc.
> 123 East Main Street
> Louisville, KY 40202
> Humana.com
> (502) 476-2538 or 407-7266
>
> -Original Message-
> From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
> Behalf Of venkat kulkarni
> Sent: Sunday, May 13, 2018 2:10 PM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: [IBM-MAIN] Netview Submit JCL
>
> Hello Mike,
>
> I dont have uneven number ob " and ' . If you notice
>
>  "SEND ''FD FILE HAS BEEN RECEIVED' USER(USR54) NOW'"
>
> I also tried
>
>  SEND 'FD FILE HAS BEEN RECEIVED' USER(USR54) NOW
>
> but all the time i get error
>
>
>
> On Sun, May 13, 2018 at 8:57 PM, Mike Beer <m...@beer.at> wrote:
>
> > Hi,
> > You have an uneven number of " and ' in your command.
> > " or ' have to be in pairs. They can be nested, if necessary.
> >
> > Best regards
> > Mike
> >
> > -Ursprüngliche Nachricht-
> > Von: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> Im
> > Auftrag von venkat kulkarni
> > Gesendet: 13 May, 2018 19:07
> > An: IBM-MAIN@LISTSERV.UA.EDU
> > Betreff: Re: Netview Submit JCL
> >
> > 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);
> > > &

Re: Netview Submit JCL

2018-05-13 Thread venkat kulkarni
Hello Mike,

I dont have uneven number ob " and ' . If you notice

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

I also tried

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

but all the time i get error



On Sun, May 13, 2018 at 8:57 PM, Mike Beer <m...@beer.at> wrote:

> Hi,
> You have an uneven number of " and ' in your command.
> " or ' have to be in pairs. They can be nested, if necessary.
>
> Best regards
> Mike
>
> -Ursprüngliche Nachricht-
> Von: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> Im Auftrag
> von venkat kulkarni
> Gesendet: 13 May, 2018 19:07
> An: IBM-MAIN@LISTSERV.UA.EDU
> Betreff: Re: Netview Submit JCL
>
> 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.
> > > >
> > > > sss
> > > >
> > > > BROWSENETVIEW.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 : #241 : 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 **
> > > >
> >

Re: Netview Submit JCL

2018-05-13 Thread venkat kulkarni
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.
> > >
> > > sss
> > >
> > > BROWSENETVIEW.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 : #241 : 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=
> > >
> > > //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


Netview Submit JCL

2018-05-12 Thread venkat kulkarni
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.

sss

BROWSENETVIEW.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 : #241 : 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=

//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


Re: Job submit using REXX

2018-05-08 Thread venkat kulkarni
Hello Carmen,

Thanks for reply. My idea is not to spin the active address space logs. I
am looking for some automation, So i want to have this active address space
logs write into any other output dataset in regular interval.

On Tue, May 8, 2018 at 10:04 PM, Carmen Vitullo <cvitu...@hughes.net> wrote:

> I[ve never used this but I think the SPIN parameter on the DD statement
> would work for you
>
> SPIN= {NO }
> {UNALLOC }
> {(UNALLOC,'hh:mm') }
> {(UNALLOC,'+hh:mm') }
> {(UNALLOC,nnn [K|M])}
> {(UNALLOC,NOCMND) }
> {(UNALLOC,CMNDONLY) }
>
>
>
> (UNALLOC,'hh:mm')
> Indicates that the data set is to be spun at time 'hh:mm' each
> 24 hour period. hh is hours and has a range of 00 through 23.
> mm is minutes and has a range of 00 through 59. Note that the
> time must be specified within apostrophes.
>
>
> (UNALLOC,'+hh:mm')
> Indicates that the data set is to be spun every hh:mm' time
> interval, where hh is hours and has a range of 00-23 and mm is
> minutes and has a range of 00-59. The minimum interval that can
> be specified is 10 minutes (mm). Hours hh must be specified
> even if zero. For example, SPIN=(UNALLOC,'+00:20') specifies
> that the data set be spun at 20 minute intervals. Note that the
> time interval must be specified within apostrophe characters.
>
>
>
> Carmen Vitullo
>
> - Original Message -
>
> From: "venkat kulkarni" <venkatkulkarn...@gmail.com>
> To: IBM-MAIN@LISTSERV.UA.EDU
> Sent: Tuesday, May 8, 2018 1:56:07 PM
> Subject: Re: Job submit using REXX
>
> Hello Group,
>
> Is it possible to capture log from any running address space on every
> regular interval and keep appending to these logs to output dataset using
> REXX.
>
> for example: I run my rexx at 1 AM and it capture logs generated upto 1 AM
> and write into output dataset . Then I run this rexx at 2 AM and it
> capture
> logs generated from 1 am till 2 AM and write into output dataset goes
> upto 24hr.
>
>
>
> On Tue, May 8, 2018 at 5:29 PM, Tony Thigpen <t...@vse2pdf.com> wrote:
>
> > Phil,
> >
> > Per your link:
> >
> > The null queue is only needed if using '*' for the count. In the program
> > posted, the following was used:
> > "EXECIO" QUEUED()" DISKW ISFIN (FINIS"
> >
> > Since the number of records was specified using QUEUED(), then the null
> > record is not needed.
> >
> > Using the QUEUED() is a good habit to get into since it allows you to
> > actually DISKW a null record.
> >
> > Tony Thigpen
> >
> >
> > Phil Carlyle wrote on 05/08/2018 10:14 AM:
> >
> >> Okay, when writing records from a stack using the EXECIO statement,
> this
> >> is what I mean by writing from the QUEUE.
> >> It requires that the last entry on the stack be null to indicate the
> end
> >> of the stack. Here is a link to help you understand.
> >> https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.1.0/
> >> com.ibm.zos.v2r1.ikja300/dup0037.htm
> >>
> >>
> >> PHIL CARLYLE
> >> Information Security | IAM RACF directory services
> >> M: 480-235-2837 | phil.carl...@aexp.com<mailto:phil.carl...@aexp.com>
> >> TEKSystems
> >>
> >> “The Universe is made up of Protons, Neutrons, Electrons & Morons!”
> >>
> >> From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU]
> On
> >> Behalf Of Paul Gilmartin
> >> Sent: Monday, May 7, 2018 3:43 PM
> >> To: IBM-MAIN@LISTSERV.UA.EDU
> >> Subject: Re: Job submit using REXX
> >>
> >> On Mon, 7 May 2018 20:46:36 +, Phil Carlyle wrote:
> >>
> >> When using QUEUE() for output the last record needs to be NULL in order
> >>> to completely flush the buffers.
> >>>
> >>> I see no such statement in:
> >> TSO/E REXX Reference Version 2 Release 3 SA32-0972-30
> >>
> >> Where do you see it?
> >>
> >> What do you mean by "using QUEUE() for output"? Example?
> >>
> >> -- gil
> >>
> >> --
> >> For IBM-MAIN subscribe / signoff / archive access instructions,
> >> send email to lists...@listserv.ua.edu<mailto:lists...@listserv.ua.edu>
>
> >> with the message: INFO IBM-MAIN
> >>
> >>
> >> American Express made the following annotations
> >> 
> >> **
> >> "This message and any attachmen

How to capture STC Logs

2018-05-08 Thread venkat kulkarni
Hello Group,

Is it possible to capture log from any running address space on every
regular interval and keep appending to these logs to output dataset using
REXX.

for example: I run my rexx at 1 AM and it capture logs generated upto 1 AM
and write into output dataset . Then I run this rexx at 2 AM and it capture
logs generated from 1 am till 2 AM and write into output dataset  goes
upto  24hr.

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


Re: Job submit using REXX

2018-05-08 Thread venkat kulkarni
Hello Group,

Is it possible to capture log from any running address space on every
regular interval and keep appending to these logs to output dataset using
REXX.

for example: I run my rexx at 1 AM and it capture logs generated upto 1 AM
and write into output dataset . Then I run this rexx at 2 AM and it capture
logs generated from 1 am till 2 AM and write into output dataset  goes
upto  24hr.



On Tue, May 8, 2018 at 5:29 PM, Tony Thigpen  wrote:

> Phil,
>
> Per your link:
>
> The null queue is only needed if using '*' for the count. In the program
> posted, the following was used:
> "EXECIO" QUEUED()" DISKW ISFIN (FINIS"
>
> Since the number of records was specified using QUEUED(), then the null
> record is not needed.
>
> Using the QUEUED() is a good habit to get into since it allows you to
> actually DISKW a null record.
>
> Tony Thigpen
>
>
> Phil Carlyle wrote on 05/08/2018 10:14 AM:
>
>> Okay, when writing records from a stack using the EXECIO statement, this
>> is what I mean by writing from the QUEUE.
>> It requires that the last entry on the stack be null to indicate the end
>> of the stack.  Here is a link to help you understand.
>> https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.1.0/
>> com.ibm.zos.v2r1.ikja300/dup0037.htm
>>
>>
>> PHIL CARLYLE
>> Information Security | IAM RACF directory services
>> M: 480-235-2837 | phil.carl...@aexp.com
>> TEKSystems
>>
>> “The Universe is made up of Protons, Neutrons, Electrons & Morons!”
>>
>> From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
>> Behalf Of Paul Gilmartin
>> Sent: Monday, May 7, 2018 3:43 PM
>> To: IBM-MAIN@LISTSERV.UA.EDU
>> Subject: Re: Job submit using REXX
>>
>> On Mon, 7 May 2018 20:46:36 +, Phil Carlyle wrote:
>>
>> When using QUEUE() for output the last record needs to be NULL in order
>>> to completely flush the buffers.
>>>
>>> I see no such statement in:
>>  TSO/E REXX Reference  Version 2 Release 3  SA32-0972-30
>>
>> Where do you see it?
>>
>> What do you mean by "using QUEUE() for output"?  Example?
>>
>> -- gil
>>
>> --
>> For IBM-MAIN subscribe / signoff / archive access instructions,
>> send email to lists...@listserv.ua.edu
>> with the message: INFO IBM-MAIN
>>
>>
>> American Express made the following annotations
>> 
>> **
>> "This message and any attachments are solely for the intended recipient
>> and may contain confidential or privileged information. If you are not the
>> intended recipient, any disclosure, copying, use, or distribution of the
>> information included in this message and any attachments is prohibited. If
>> you have received this communication in error, please notify us by reply
>> e-mail and immediately and permanently delete this message and any
>> attachments. Thank you."
>>
>> American Express a ajouté le commentaire suivant le Ce courrier et toute
>> pièce jointe qu'il contient sont réservés au seul destinataire indiqué et
>> peuvent renfermer des
>> renseignements confidentiels et privilégiés. Si vous n'êtes pas le
>> destinataire prévu, toute divulgation, duplication, utilisation ou
>> distribution du courrier ou de toute pièce jointe est interdite. Si vous
>> avez reçu cette communication par erreur, veuillez nous en aviser par
>> courrier et détruire immédiatement le courrier et les pièces jointes. Merci.
>>
>> 
>> **
>>
>>
>> --
>> 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


Re: Job submit using REXX

2018-05-07 Thread venkat kulkarni
Hello Lizette,

I do agree and always  grateful to this list to help beginners and will
take care in future.

One of expert mentioned that Direct  Connect has feature to submit batch
job once it receive that particular file. If that is the case then my whole
problem will be resolved.

I tried looking at the Direct connect panel and i couldn't find such
feature.

Can anybody help me to direct, if this task is possible to complete using
Direct connect itself.


Thanks once again to all of you .

On Mon, May 7, 2018 at 11:28 PM, Lizette Koehler <stars...@mindspring.com>
wrote:

> Venkat - what I think you should consider is hiring a consultant to help
> you with this.
>
> I do not want to discourage from posting questions. That is how we all
> learn.  But there are limits as to what an Internet list can assist with.
>
>
>
> Using a consultant you will get
>
> Knowledge Transfer
>
> Documentation
>
> Support for the process.
>
> This list is a discussion list - it is not a Service Desk or Consulting
> function
>
> Any samples provided will probably lead to more questions from you.. This
> is not a bad thing, but over time, the list may not respond.  The people on
> this list have daily jobs and do not always have time to answer questions
> or create code.
>
> You are trying to create a new process that will require knowledge of the
> tools you are going to use.  Since this has expanded from the question
>
> How can I submit a job in REXX
>
> To
>
> Netview Automation to submit a job from an FTP Process that is
> transferring a dataset to my system
>
>
> This is not a simple process.  And will require a lot of knowledge of
> REXX, Netview, SDSF REXX and possibly other processes.
>
>
>
> There are several people on this list that could provide you with
> consultation functions
>
>
> Lizette
>
>
>
>
> > -Original Message-
> > From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On
> Behalf Of
> > venkat kulkarni
> > Sent: Monday, May 07, 2018 11:54 AM
> > To: IBM-MAIN@LISTSERV.UA.EDU
> > Subject: Re: Job submit using REXX
> >
> > Hello Phil,
> >
> > Thanks for reply. As I am new to REXX, can you please help me in sample
> rexx
> > program for this task.
> >
> >
> > On Mon, May 7, 2018 at 9:46 PM, Phil Carlyle < 0190521b6517-dmarc-
> > requ...@listserv.ua.edu> wrote:
> >
> > > You forgot the QUEUE ‘’ to flush out the queue.
> > >
> > > PHIL CARLYLE
> > > Information Security | IAM RACF directory services
> > > M: 480-235-2837 | phil.carl...@aexp.com<mailto:phil.carl...@aexp.com>
> > > TEKSystems
> > >
> > > “The Universe is made up of Protons, Neutrons, Electrons & Morons!”
> > >
> > > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU]
> > > On Behalf Of venkat kulkarni
> > > Sent: Monday, May 7, 2018 10:16 AM
> > > To: IBM-MAIN@LISTSERV.UA.EDU
> > > Subject: Re: Job submit using REXX
> > >
> > > REXX i used to copy DCON address space message into ps file is
> > >
> > > ADDRESS TSO
> > > DO I=0 TO 4
> > > "ALLOC F(ISFIN) TRACKS SPACE(1) REU"
> > > "ALLOC F(ISFOUT) NEW DELETE REU ",
> > > "TRACKS SPACE(100,100) LRECL(133) RECFM(F,B) DSORG(PS)"
> > > "ALLOC F(TEMPPRT) DA('v12396.NEW.PS1') MOD REUSE"
> > > QUEUE "PRE DCON"
> > > QUEUE "ST"
> > > QUEUE "DOWN" I
> > > QUEUE "FIND 'JESJCL'"
> > > QUEUE "++S"
> > > QUEUE "PRINT FILE TEMPPRT"
> > > QUEUE "PRINT"
> > > QUEUE "PRINT CLOSE"
> > > QUEUE "END"
> > > QUEUE "EXIT"
> > > "EXECIO" QUEUED()" DISKW ISFIN (FINIS"
> > > ADDRESS ISPEXEC "SELECT PGM(ISFAFD) PARM('++32,255)"
> > > END
> > > EXIT
> > >
> > >
> > > Now, I have all required log in  v12396.NEW.PS1 file  and i want to
> > > extract  FTP.DATA.**<ftp://FTP.DATA.**> dataset name from this file
> > > and copy it to another file for further process.
> > >
> > > v12396.NEW.PS1  contain many other message including below.
> > >
> > >
> > > SVTM052I STEP01   COPY FDDB4142(  95,456)
> > >
> > > SVTM052I  FROM E2PP.DW801P.WTALZUP.XM.G0520V00
> > >
> > > SVTM052I  TO   FTP.DATA.ATRAIL.G0458V00<ftp:/
> /FTP.DATA.ATRAIL.G0458V00
> > > >
> > >
> 

Re: Job submit using REXX

2018-05-07 Thread venkat kulkarni
Hello Phil,

Thanks for reply. As I am new to REXX, can you please help me in sample
rexx program for this task.


On Mon, May 7, 2018 at 9:46 PM, Phil Carlyle <
0190521b6517-dmarc-requ...@listserv.ua.edu> wrote:

> You forgot the QUEUE ‘’ to flush out the queue.
>
> PHIL CARLYLE
> Information Security | IAM RACF directory services
> M: 480-235-2837 | phil.carl...@aexp.com<mailto:phil.carl...@aexp.com>
> TEKSystems
>
> “The Universe is made up of Protons, Neutrons, Electrons & Morons!”
>
> From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
> Behalf Of venkat kulkarni
> Sent: Monday, May 7, 2018 10:16 AM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: Job submit using REXX
>
> REXX i used to copy DCON address space message into ps file is
>
> ADDRESS TSO
> DO I=0 TO 4
> "ALLOC F(ISFIN) TRACKS SPACE(1) REU"
> "ALLOC F(ISFOUT) NEW DELETE REU ",
> "TRACKS SPACE(100,100) LRECL(133) RECFM(F,B) DSORG(PS)"
> "ALLOC F(TEMPPRT) DA('v12396.NEW.PS1') MOD REUSE"
> QUEUE "PRE DCON"
> QUEUE "ST"
> QUEUE "DOWN" I
> QUEUE "FIND 'JESJCL'"
> QUEUE "++S"
> QUEUE "PRINT FILE TEMPPRT"
> QUEUE "PRINT"
> QUEUE "PRINT CLOSE"
> QUEUE "END"
> QUEUE "EXIT"
> "EXECIO" QUEUED()" DISKW ISFIN (FINIS"
> ADDRESS ISPEXEC "SELECT PGM(ISFAFD) PARM('++32,255)"
> END
> EXIT
>
>
> Now, I have all required log in  v12396.NEW.PS1 file  and i want to
> extract  FTP.DATA.**<ftp://FTP.DATA.**> dataset name from this file and
> copy it to another
> file for further process.
>
> v12396.NEW.PS1  contain many other message including below.
>
>
> SVTM052I STEP01   COPY FDDB4142(  95,456)
>
> SVTM052I  FROM E2PP.DW801P.WTALZUP.XM.G0520V00
>
> SVTM052I  TO   FTP.DATA.ATRAIL.G0458V00<ftp://FTP.DATA.ATRAIL.G0458V00
> >
>
> SVTM052I  COMPLETED  /SCPA000I
>
>
>
>
>
> SVTM052I STEP01   COPY FDDB4099(  95,458)
>
> SVTM052I  FROM G12P.DW801P.XTALZUP.XM.G1557V00
>
> SVTM052I  TO   FTP.DATA.AUDIT.TRAIL.G1568V00<
> ftp://FTP.DATA.AUDIT.TRAIL.G1568V00>
>
> SVTM052I  COMPLETED  /SCPA000I
>
>
>
> SVTM052I STEP01   COPY FDDB4052(  95,516)
>
> SVTM052I  FROM G12P.IBD003.X2BSN1.XM.G2904V00
>
> SVTM052I  TO   FTP.DATA.IAS.G3486V00<ftp://FTP.DATA.IAS.G3486V00>
>
> SVTM052I  COMPLETED  /SCPA000I
>
>
> On Mon, May 7, 2018 at 7:56 PM, venkat kulkarni <
> venkatkulkarn...@gmail.com<mailto:venkatkulkarn...@gmail.com>>
> wrote:
>
> > Hello Group,
> >
> > Thanks for all response. We have Netview, which can be used for
> > automation. My idea is to create REXX, which extracted data from DCON
> > address space into one dataset.
> >
> > Then i need help to write REXX to extract   FTP.DATA.**<ftp://FTP.DATA.**>
> dataset from this
> > ps dataset and put these dataset name into other ps dataset.
> >
> > SVTM052I STEP01   COPY FDDB4142(  95,456)
> >
> > SVTM052I  FROM E2PP.DW801P.WTALZUP.XM.G0520V00
> >
> > SVTM052I  TO   FTP.DATA.ATRAIL.G0458V00<ftp:/
> /FTP.DATA.ATRAIL.G0458V00>
> >
> > SVTM052I  COMPLETED  /SCPA000I
> >
> >
> >
> >
> >
> >
> > SVTM052I STEP01   COPY FDDB4099(  95,458)
> >
> > SVTM052I  FROM G12P.DW801P.XTALZUP.XM.G1557V00
> >
> > SVTM052I  TO   FTP.DATA.AUDIT.TRAIL.G1568V00<
> ftp://FTP.DATA.AUDIT.TRAIL.G1568V00>
> >
> > SVTM052I  COMPLETED  /SCPA000I
> >
> >
> >
> >
> > SVTM052I STEP01   COPY FDDB4052(  95,516)
> >
> > SVTM052I  FROM G12P.IBD003.X2BSN1.XM.G2904V00
> >
> > SVTM052I  TO   FTP.DATA.IAS.G3486V00<ftp://FTP.DATA.IAS.G3486V00>
> >
> > SVTM052I  COMPLETED  /SCPA000I
> >
> > Once we have this output dataset having   FTP.DATA.**<ftp://FTP.DATA.**>
> full name and i
> > want to write another REXX  to put this dataset name into JCL and submit
> > batch job.
> >
> > Can anybody help me with sample REXX for extracting   FTP.DATA.**<
> ftp://FTP.DATA.**> dataset
> > from my input dataset and put this dataset name into output file.
> >
> > On Mon, May 7, 2018 at 3:41 PM, Lizette Koehler <stars...@mindspring.com
> <mailto:stars...@mindspring.com>>
> > wrote:
> >
> >> If this is only for one dataset and the message is in SYSLOG, then the
&

Re: Job submit using REXX

2018-05-07 Thread venkat kulkarni
REXX i used to copy DCON address space message into ps file is

ADDRESS TSO
DO I=0 TO 4
"ALLOC F(ISFIN) TRACKS SPACE(1) REU"
"ALLOC F(ISFOUT) NEW DELETE REU ",
"TRACKS SPACE(100,100) LRECL(133) RECFM(F,B) DSORG(PS)"
"ALLOC F(TEMPPRT) DA('v12396.NEW.PS1') MOD REUSE"
QUEUE "PRE DCON"
QUEUE "ST"
QUEUE "DOWN" I
QUEUE "FIND 'JESJCL'"
QUEUE "++S"
QUEUE "PRINT FILE TEMPPRT"
QUEUE "PRINT"
QUEUE "PRINT CLOSE"
QUEUE "END"
QUEUE "EXIT"
"EXECIO" QUEUED()" DISKW ISFIN (FINIS"
ADDRESS ISPEXEC "SELECT PGM(ISFAFD) PARM('++32,255)"
END
EXIT


Now, I have all required log in  v12396.NEW.PS1 file  and i want to
extract  FTP.DATA.** dataset name from this file and copy it to another
file for further process.

v12396.NEW.PS1  contain many other message including below.


SVTM052I STEP01   COPY FDDB4142(  95,456)

SVTM052I  FROM E2PP.DW801P.WTALZUP.XM.G0520V00

SVTM052I  TO   FTP.DATA.ATRAIL.G0458V00

SVTM052I  COMPLETED  /SCPA000I





SVTM052I STEP01   COPY FDDB4099(  95,458)

SVTM052I  FROM G12P.DW801P.XTALZUP.XM.G1557V00

SVTM052I  TO   FTP.DATA.AUDIT.TRAIL.G1568V00

SVTM052I  COMPLETED  /SCPA000I



SVTM052I STEP01   COPY FDDB4052(  95,516)

SVTM052I      FROM G12P.IBD003.X2BSN1.XM.G2904V00

SVTM052I  TO   FTP.DATA.IAS.G3486V00

SVTM052I  COMPLETED  /SCPA000I


On Mon, May 7, 2018 at 7:56 PM, venkat kulkarni <venkatkulkarn...@gmail.com>
wrote:

> Hello Group,
>
> Thanks for all response. We have Netview, which can be used for
> automation. My idea is to create REXX, which extracted data from DCON
> address space into one dataset.
>
> Then i need help to write REXX to extract   FTP.DATA.** dataset from this
> ps dataset and put these dataset name into other ps dataset.
>
> SVTM052I STEP01   COPY FDDB4142(  95,456)
>
> SVTM052I  FROM E2PP.DW801P.WTALZUP.XM.G0520V00
>
> SVTM052I  TO   FTP.DATA.ATRAIL.G0458V00
>
> SVTM052I  COMPLETED  /SCPA000I
>
>
>
>
>
>
> SVTM052I STEP01   COPY FDDB4099(  95,458)
>
> SVTM052I  FROM G12P.DW801P.XTALZUP.XM.G1557V00
>
> SVTM052I  TO   FTP.DATA.AUDIT.TRAIL.G1568V00
>
> SVTM052I  COMPLETED  /SCPA000I
>
>
>
>
> SVTM052I STEP01   COPY FDDB4052(  95,516)
>
> SVTM052I  FROM G12P.IBD003.X2BSN1.XM.G2904V00
>
> SVTM052I  TO   FTP.DATA.IAS.G3486V00
>
> SVTM052I  COMPLETED  /SCPA000I
>
> Once we have this output dataset having   FTP.DATA.** full name and i
> want to write another REXX  to put this dataset name into JCL and submit
> batch job.
>
> Can anybody help me with sample REXX for extracting   FTP.DATA.** dataset
> from my input dataset and put this dataset name into output file.
>
> On Mon, May 7, 2018 at 3:41 PM, Lizette Koehler <stars...@mindspring.com>
> wrote:
>
>> If this is only for one dataset and the message is in SYSLOG, then the
>> MPF list would work.
>>
>> If there are multiple datasets that need to be available before
>> proceeding, then it is getting to be a bit trickier.
>>
>> Several Scheduling software have Dataset Triggers.  And they sometimes
>> will monitor for the creation of an SMF Record (Type 30 I think). Then take
>> action as described to their process.
>>
>> Humans can see that datasets are there and then submit jobs.  But that
>> requires a human to be vigilant and submit the job when all requirements
>> are met.
>>
>> Also, the human has to review the message and ensure the return code is 0
>> before proceeding.
>>
>>
>> So to provide the function for the OP without purchasing a product, will
>> be a challenge I think.
>>
>>1)  Monitor for dataset creation via SVT messages.
>>a) If more than one file has to be sent, then monitor for
>> additional creations before proceeding
>>2)  Ensure message shows 0 return code.  Anything else needs to be
>> reviewed
>>3)  Ensure all files are available before the next job is submitted
>>
>> Unless the OP has other requirements, I think the three listed are what
>> are needed.
>>
>> Lizette
>>
>>
>>
>>
>> > -Original Message-
>> > From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On
>> Behalf Of
>> > Lizette Koehler
>> > Sent: Monday, May 07, 2018 5:25 AM
>> > To: IBM-MAIN@LISTSERV.UA.EDU
>> > Subject: Re: Job submit using REXX
>> >
>> > If it is only in the STC Job log, or other DD statement, then no.
>

Re: Job submit using REXX

2018-05-07 Thread venkat kulkarni
Hello Group,

Thanks for all response. We have Netview, which can be used for automation.
My idea is to create REXX, which extracted data from DCON address space
into one dataset.

Then i need help to write REXX to extract   FTP.DATA.** dataset from this
ps dataset and put these dataset name into other ps dataset.

SVTM052I STEP01   COPY FDDB4142(  95,456)

SVTM052I  FROM E2PP.DW801P.WTALZUP.XM.G0520V00

SVTM052I  TO   FTP.DATA.ATRAIL.G0458V00

SVTM052I  COMPLETED  /SCPA000I





SVTM052I STEP01   COPY FDDB4099(  95,458)

SVTM052I  FROM G12P.DW801P.XTALZUP.XM.G1557V00

SVTM052I  TO   FTP.DATA.AUDIT.TRAIL.G1568V00

SVTM052I  COMPLETED  /SCPA000I



SVTM052I STEP01   COPY FDDB4052(  95,516)

SVTM052I  FROM G12P.IBD003.X2BSN1.XM.G2904V00

SVTM052I  TO   FTP.DATA.IAS.G3486V00

SVTM052I  COMPLETED  /SCPA000I

Once we have this output dataset having   FTP.DATA.** full name and i want
to write another REXX  to put this dataset name into JCL and submit batch
job.

Can anybody help me with sample REXX for extracting   FTP.DATA.** dataset
from my input dataset and put this dataset name into output file.

On Mon, May 7, 2018 at 3:41 PM, Lizette Koehler <stars...@mindspring.com>
wrote:

> If this is only for one dataset and the message is in SYSLOG, then the MPF
> list would work.
>
> If there are multiple datasets that need to be available before
> proceeding, then it is getting to be a bit trickier.
>
> Several Scheduling software have Dataset Triggers.  And they sometimes
> will monitor for the creation of an SMF Record (Type 30 I think). Then take
> action as described to their process.
>
> Humans can see that datasets are there and then submit jobs.  But that
> requires a human to be vigilant and submit the job when all requirements
> are met.
>
> Also, the human has to review the message and ensure the return code is 0
> before proceeding.
>
>
> So to provide the function for the OP without purchasing a product, will
> be a challenge I think.
>
>1)  Monitor for dataset creation via SVT messages.
>a) If more than one file has to be sent, then monitor for
> additional creations before proceeding
>2)  Ensure message shows 0 return code.  Anything else needs to be
> reviewed
>3)  Ensure all files are available before the next job is submitted
>
> Unless the OP has other requirements, I think the three listed are what
> are needed.
>
> Lizette
>
>
>
>
> > -Original Message-
> > From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On
> Behalf Of
> > Lizette Koehler
> > Sent: Monday, May 07, 2018 5:25 AM
> > To: IBM-MAIN@LISTSERV.UA.EDU
> > Subject: Re: Job submit using REXX
> >
> > If it is only in the STC Job log, or other DD statement, then no.
> >
> > The request would then require something like ISFEXEC (SDSF REXX) and it
> > would not be real time.  It would then have to be run at a frequency that
> > makes sense.
> >
> > Anything not presented to the SYSLOG/OPERLOG would not be seen by the MPF
> > exit.
> >
> > Lizette
> >
> >
> > > -Original Message-
> > > From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On
> > > Behalf Of Elardus Engelbrecht
> > > Sent: Monday, May 07, 2018 12:43 AM
> > > To: IBM-MAIN@LISTSERV.UA.EDU
> > > Subject: Re: Job submit using REXX
> > >
> > > Lizette Koehler wrote:
> > >
> > > >This process can be done by using a trap for a message on your system.
> > > >MPF Exit might work
> > > >CBTTAPE.ORG might have a process you can tailor Any Scheduling
> > > >software will have a file trigger function This is more complicated
> > > >without scheduling software.  You will need to find a process that
> > > >monitors for messages and then provides an action for that message
> > >
> > > Those SVTM messages are shown inside the STC (Connect Direct), not in
> > SYSLOG.
> > >
> > > Will your suggestions work in that scenario?
> > >
> > >
> > > venkat kulkarni wrote:
> > >
> > > >> We have requirement of setting up process of handling  FTP and then
> > > >> submit Job with FTP dataset. The process goes like this,
> > >
> > > Use automation for submission, checking/monitoring these actions and
> > > then submit another job using REXX to process your datasets.
> > >
> > >
> > > >> SVTM052I STEP01   COPY FDDB4142(  95,456)
> > > >> SVTM052I  FROM E2PP.DW801P.WTALZUP.XM.G0520V00
> &g

Re: Netview Login issue

2018-05-07 Thread venkat kulkarni
Hello Elardus,

Yes, we both together putting effort to solve this issue.. Thank you so
much once again.



On Mon, May 7, 2018 at 10:30 AM, Elardus Engelbrecht <
elardus.engelbre...@sita.co.za> wrote:

> venkat kulkarni wrote:
>
> >We using Netview 6.2. Now problem has been resolved by one of the major
> node . Now i am able to login to netview for use.
>
> Are you saurabh khandelwal collaborating to resolve this Netview logon
> problem?
>
> It would be great to see if the OP has his/her problem resolved or not.
>
> Groete / Greetings
> Elardus Engelbrecht
>
> --
> 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


Re: Netview Login issue

2018-05-06 Thread venkat kulkarni
Hello Lizette,

We using Netview 6.2. Now problem has been resolved by one of the major
node . Now i am able to login to netview for use.

On Sat, May 5, 2018 at 8:14 PM, Lizette Koehler 
wrote:

> First,  the manuals should tell you how to set up Netview and log on
>
> What have you done so far.  What steps have you executed in setting up
> Netview?
>
> What version of Netview are you installing?  What version of z/OS?
>
>
> Post any error messages you are receiving when you attempt to logon?
>
> Do you have the started task running?  Are there any error messages in the
> STC?
>
> Lizette
>
>
> > -Original Message-
> > From: IBM Mainframe Discussion List  On
> Behalf Of
> > saurabh khandelwal
> > Sent: Saturday, May 05, 2018 6:53 AM
> > To: IBM-MAIN@LISTSERV.UA.EDU
> > Subject: Netview Login issue
> >
> > Hello Group,
> >
> > We recently installed netview but i am unable to login. Can you please
> help
> > in setting up vtam, so that i can login to netview.
> >
>
> --
> 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


Re: SMF record analyze

2018-04-19 Thread venkat kulkarni
Thanks for reply.

Yes, i extracted SMF 30 into flat file and i am aware of this  SMF 30 along
with other record number.

But issue is to analyze history of batch job along with CPU usage for these
jobs to know which one consumed more CPU during that time .



On Thu, Apr 19, 2018 at 9:24 PM, Lizette Koehler <stars...@mindspring.com>
wrote:

> You can use IFASMFDP to extract any number of records out of SMF into a
> new file.
>
> You should be aware that SMF30s might need other records to get the whole
> picture.
>
> Do you run Scheduling Software?  If so, may be it can assist with this
>
> Lizette
>
>
> > -Original Message-
> > From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On
> Behalf Of
> > venkat kulkarni
> > Sent: Thursday, April 19, 2018 11:20 AM
> > To: IBM-MAIN@LISTSERV.UA.EDU
> > Subject: SMF record analyze
> >
> > Hello Group,
> >
> > we are experiencing performance issue on every month 10th and our MSU
> usage
> > reach to maximum but we are unable to find reason. So, we wanted to
> analyze
> > our batch jobs, if any one of them causing this issue.
> >
> > But we do not have any tool for performing this activity. So, is it
> possible
> > that we extract only record 30 into different dataset from our monthly
> > smfdump and then RMF can give us report with history of batch jobs and
> CPU
> > used by these jobs.
> >
> >
> > Please help.
> >
> > Thanks & Regards
> > Venkat
> >
> > --
> > 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


SMF record analyze

2018-04-19 Thread venkat kulkarni
Hello Group,

we are experiencing performance issue on every month 10th and our MSU usage
reach to maximum but we are unable to find reason. So, we wanted to analyze
our batch jobs, if any one of them causing this issue.

But we do not have any tool for performing this activity. So, is it
possible that we extract only record 30 into different dataset from our
monthly smfdump and then RMF can give us report with history of batch jobs
and CPU used by these jobs.


Please help.

Thanks & Regards
Venkat

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


Re: Tape to tape copy jcl

2018-03-04 Thread venkat kulkarni
Hello  Elardus,

My responses are below.


On Wed, Feb 28, 2018 at 4:33 PM, Elardus Engelbrecht <
elardus.engelbre...@sita.co.za> wrote:

> venkat kulkarni wrote:
>
> >We are in the process of migrating physical tape to virtual tape.
>
>


> Careful, this is not for fainthearted. ;-)
>
>
> >I am unable to find any process and JCL which can copy all my data
> residing in physical tape cartridge to virtual tape using JCL .
>
> I have a lot of questions:
>
> What datasets? HSM? DFDSS Dump/Copy? GDG? Copies/backups from
> IEBGENER/IEBCOPY/Whatever? Specific backups from database sysyem(s)? JES2
> Offloads? etc.? etc.?
>

   Ans : Its backup from  IEBGENER/IEBCOPY/  which are volume copy and
individual dataset copy.



> How large are they? How many of them (tapes and datasets) are there?
>
> Ans :   We have approx 1000 tapes to be migrated. and each individual
tape contain approx upto 150 serial number dataset.


> What physical tape system(s) and media do you have?
>
> Ans Its old 359E.



> What Virtual Tape System(s) do you have?
>
> Ans : we are using DLM EMC.



> What Tape Management system do you have?
>
> Ans : We dont have any tape management system .


> Are these datasets stacked on the tapes? In other words, are LABEL > 1
> being used? (One VTS, they're usually on LABEL=(1,SL) for compatibility
> reasons)
>
> ans : Yes, we are stack on tape. with label 1 to label 150. .



> Are these datasets Cataloged? If not, you'll have to [ usually ] catalog
> them on VTS and of course, RACF is your big pal.
>
> Ans : These dataset are in tapes. Directly from physical tape to
VTL.



> Are you going to switch off those physical tape system(s)?
>
>   Ans : After this migration, we will shutdown .


> I have probably more questions, but ...
>
> Groete / Greetings
> Elardus Engelbrecht
>
> --
> 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


Re: Tape to tape copy jcl

2018-03-04 Thread venkat kulkarni
We are using DLM from EMC.

On Wed, Feb 28, 2018 at 2:02 PM, Ken Bloom <bl...@visara.com> wrote:

> Which VTL are you using?
>
> Ken
>
> Kenneth A. Bloom
> Avenir Technologies Inc
> /d/b/a Visara International
> 203-984-2235
> bl...@visara.com
> www.visara.com
>
>
> > On Feb 28, 2018, at 5:19 AM, venkat kulkarni <venkatkulkarn...@gmail.com>
> wrote:
> >
> > Hello Group,
> >
> > We are in the process of migrating physical tape to virtual tape.
> >
> > I am unable to find any process and JCL which can copy all my data
> residing
> > in physical tape cartridge to virtual tape using JCL .
> >
> > Can you please suggest .
> >
> > Regards
> > Venkat
> >
> > --
> > 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


Re: Tape to tape copy jcl

2018-03-04 Thread venkat kulkarni
Hello,

Sorry for delay in response. But we don't have COPYCAT utility. in our
shop. We are using CA- view but not sure about having license for COPYCAT.



On Wed, Feb 28, 2018 at 12:29 PM, Vernooij, Kees (ITOPT1) - KLM <
kees.verno...@klm.com> wrote:

> CA-COPYCAT is wonderful, it includes copying all the tape administration
> info.
> It is free if you have a CA-1 license.
>
> Grtn,
> Kees.
>
> > -Original Message-
> > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
> > Behalf Of venkat kulkarni
> > Sent: 28 February, 2018 10:20
> > To: IBM-MAIN@LISTSERV.UA.EDU
> > Subject: Tape to tape copy jcl
> >
> > Hello Group,
> >
> > We are in the process of migrating physical tape to virtual tape.
> >
> > I am unable to find any process and JCL which can copy all my data
> > residing
> > in physical tape cartridge to virtual tape using JCL .
> >
> > Can you please suggest .
> >
> > Regards
> > Venkat
> >
> > --
> > For IBM-MAIN subscribe / signoff / archive access instructions,
> > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
> 
> For information, services and offers, please visit our web site:
> http://www.klm.com. This e-mail and any attachment may contain
> confidential and privileged material intended for the addressee only. If
> you are not the addressee, you are notified that no part of the e-mail or
> any attachment may be disclosed, copied or distributed, and that any other
> action related to this e-mail or attachment is strictly prohibited, and may
> be unlawful. If you have received this e-mail by error, please notify the
> sender immediately by return e-mail, and delete this message.
>
> Koninklijke Luchtvaart Maatschappij NV (KLM), its subsidiaries and/or its
> employees shall not be liable for the incorrect or incomplete transmission
> of this e-mail or any attachments, nor responsible for any delay in receipt.
> Koninklijke Luchtvaart Maatschappij N.V. (also known as KLM Royal Dutch
> Airlines) is registered in Amstelveen, The Netherlands, with registered
> number 33014286
> 
>
>
> --
> 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


Re: Tape to tape copy jcl

2018-03-04 Thread venkat kulkarni
Hello Lizette,

Sorry for delay in response. We dont have HSM and RMM in our shop and also
CA utilities to do this work.

We were looking for IBM utilities to do our migration. Currently. I am
using manual way of doing this migration uding dataset by dataset copy
from  physical  tape to virtual tape.

but doing this takes too much of time and every time i have to modify my
jcl, if i have any change in dataset label or names.

I was just looking for single utility which can help to directly copy whole
tape to tape rather then dataset level .

On Thu, Mar 1, 2018 at 5:05 AM, Lizette Koehler 
wrote:

> For HSM tapes we use HSM RECYCLE and have automation running the process
>
> For all other tapes we use CA COPYCAT.
>
> We have specialty tapes that have other processes for copy
>
> 1)  SAR tapes need some changes to go to new VTS
>
> 2)  SMS code needs to be setup to the new VTS and then set any request
> from old ATL to new VTS
>
> 3)  For OAM tapes (if you have them) be very careful.  OAM Knows where
> stuff is on its tapes.  You cannot copy from Larger to smaller tapes
>
>
> Not sure if there are any other considerations. Those are the ones I know
>
> Lizette
>
>
> > -Original Message-
> > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
> > Behalf Of Carmen Vitullo
> > Sent: Wednesday, February 28, 2018 7:29 AM
> > To: IBM-MAIN@LISTSERV.UA.EDU
> > Subject: Re: Tape to tape copy jcl
> >
> > Last I recall we had HSM tapes in our Silo circa 1995, IIRC, those tapes
> were
> > copied outside the SILO using COPYCAT, DFDSS dump tapes also.
> > also we were also able to copy CATIA backup tapes with no issues
> >
> >
> > Carmen Vitullo
> >
> > - Original Message -
> >
> > From: "Elardus Engelbrecht" 
> > To: IBM-MAIN@LISTSERV.UA.EDU
> > Sent: Wednesday, February 28, 2018 8:20:41 AM
> > Subject: Re: Tape to tape copy jcl
> >
> > PINION, RICHARD W. wrote:
> >
> > >One thing to keep in mind, you cannot use IEBGENER or IDCAMS to copy
> ADRDSSU
> > (DFDSS) or FDR dump tapes. You must use the appropriate copy utility,
> > COPYDUMP for ADRDSU and FDRTCOPY for FDR.
> >
> > Damn! Do you have to lead the OP away from this minefield or road full of
> > potholes? ;-D
> >
> > I wonder if those suggested utilities mentioned earlier take 100% care on
> > what exactly is sitting on a tape and then use the right access method.
> >
> > Last time I checked, some of them can automatically re-block the datasets
> > according on the setup of destination media.
> >
> > Groete / Greetings
> > Elardus Engelbrecht
> >
> > It rained so much in our country suffering under a really severe
> drought, the
> > potholes in the roads are now 74% full.
> > Before the welcome rain, they were about 21% full and drying up. ;-D ;-D
> ;-D
> >
>
> --
> 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


Re: Tape to tape copy jcl

2018-03-04 Thread venkat kulkarni
Thanks you Gil,

Can you please share this rexx script and its functionality, So that I can
try using in our shop.

Thanks & Regards
Venkat

On Thu, Mar 1, 2018 at 4:58 PM, Gil Cardenas 
wrote:

> I realize you may be doing a mass migration and am only pointing this out
> as a base for ideas...
>
> I created a REXX routine that could be invoked from a TSO DSLIST where the
> user could simply type TT beside the dataset name and the routine would
> calculate the next generation for that dataset and invoke the TLMS utility
> to perform the tape to tape copy.  That way I stayed with the native tools
> and could copy any tape, I believe even foreign tapes since TLMS was doing
> the copying.
>
> This was helpful in doing single tapes when we were moving from 3490 to
> 3590 cartridges but would definitely need some tweaking to do something on
> a more mass level.
>
> Regards,
> Gil.
>
> --
> 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


Tape to tape copy jcl

2018-02-28 Thread venkat kulkarni
Hello Group,

We are in the process of migrating physical tape to virtual tape.

I am unable to find any process and JCL which can copy all my data residing
in physical tape cartridge to virtual tape using JCL .

Can you please suggest .

Regards
Venkat

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


Re: CA View SAR migration

2017-12-17 Thread venkat kulkarni
Thanks for reply.

No, I have not contacted CA yet. I wanted to do my self. So, i tried
reading CA View reference guide and with different utility. I made some
progress but not fully. If any body can throw some light on this will be
great help.

I used SARPAC utility to find report about SYSOUT reports and SARTSLIST etc
to find individual report on each database.

I referred https://communities.ca.com/thread/241736589 for this purpose.

My query is, using below JCL how are we going to migrate SAR database from
old tape drive to new VTL


Where and how do we specify that my report should copy from old tape drive
to new VTL and now  SAR should use new VTL library for archive purpose.

/SARPAC   EXEC PGM=SARPAC,PARM='SARD.OPR,'

//* STEPLIB DD DSN=CAI.CVDELOAD,DISP=SHR

//SYSPRINT DD  SYSOUT=* *

//SARDRLST DD  SYSOUT=* *

//SYSOUT   DD  SYSOUT=*

//SORTLIB  DD  DSN=SYS1.SORTLIB,DISP=SHR

//SORTWK01 DD  UNIT=SYSDA,SPACE=(CYL,(10),,CONTIG)

//SORTWK02 DD  UNIT=SYSDA,SPACE=(CYL,(10),,CONTIG)

//SORTWK03 DD  UNIT=SYSDA,SPACE=(CYL,(10),,CONTIG)

//SYSINDD  *

/*

I remember, there is UNITSPEC parameter where we can put ESOTERIC for
current tape drive but i dont find any single document giving clear picture
on this migration.

Kindly suggest.


On Wed, Dec 13, 2017 at 8:50 PM, Lizette Koehler <stars...@mindspring.com>
wrote:

> Have you contacted CA SAR Support for assistance?  They maybe better able
> to assist you
>
> Lizette
>
>
> > -Original Message-
> > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
> > Behalf Of venkat kulkarni
> > Sent: Wednesday, December 13, 2017 9:04 AM
> > To: IBM-MAIN@LISTSERV.UA.EDU
> > Subject: CA View SAR migration
> >
> > Hello,
> >
> > We have requirement of migrating SAR from told tape drive to new tape
> less
> > drives. So, when we look at SAR related dataset, which are on tape
> >
> > SAR.TARQLTY.SARTAPE.T092  TARQ51
> >
> >
> > SAR.TARQLTY.SARTAPE.T098  TARQ51
> >
> > SAR.TARQLTY.SARTAPE.T102  TARQ51
> >
> > SAR.TARQLTY.SARTAPE.T093  TARQ52
> >
> > SAR.TARQLTY.SARTAPE.T094  TARQ53
> >
> > SAR.TARQLTY.SARTAPE.T099  TARQ53
> >
> > SAR.TARQLTY.SARTAPE.T104  TARQ53
> >
> > SAR.TARQLTY.SARTAPE.T109  TARQ53
> >
> > SAR.TARQLTY.SARTAPE.T095  TARQ54
> >
> > SAR.TARQLTY.SARTAPE.T105  TARQ54
> >
> > SAR.TARQLTY.SARTAPE.T090  TARQ55
> >
> > SAR.TARQLTY.SARTAPE.T096  TARQ55
> >
> > SAR.TARQLTY.SARTAPE.T097  TARQ56
> >
> > SAR.TARQLTY.SARTAPE.T101  TARQ56
> >
> >
> >
> >
> > if you look at above datasets, we are using 6 tapes for SAR backup
> currently
> > and
> >
> > when we list content of tape  Ex TARQ51, we see  only
> >
> > SAR.TARQLTY.SARTAPE.T102  TARQ51
> >
> >
> >
> > dataset which has highest number of time stamp and in my case it was 102
> for
> > TARQ51 volume  and below dataset not found on tape.
> >
> > SAR.TARQLTY.SARTAPE.T092  TARQ51
> >
> > SAR.TARQLTY.SARTAPE.T098  TARQ51
> >
> > And this is same of other volumes  also, like for TARQ53, i couldn't find
> > only SAR.TARQLTY.SARTAPE.T109  dataset etc.
> > So, we planned to migrate these available dataset from old tape to new
> tape
> > less  disk sub system using below JCL and dataset gets copied.
> >
> > //OP117SAQ JOB (660),SAURABH,CLASS=A,MSGLEVEL=(1,1),NOTIFY=
> >
> > //STEP1 EXEC PGM=SARTCP,PARM='COPYASIS'
> >
> > //*TEPLIB DD DSN=CAI.CVDELOAD,DISP=SHR
> >
> > //SYSPRINT DD SYSOUT=*
> >
> > //TAPEIN DD DSN=SAR.TARQLTY.SARTAPE.T093,
> >
> > // DISP=OLD,UNIT=359D,LABEL=(1,BLP),VOL=SER=XARQ52
> >
> > //TAPEOUT DD DSN=SAR.TARQLTY.SARTAPE.T093,
> >
> > // DISP=(NEW,KEEP),UNIT=359D,LABEL=EXPDT=99000,VOL=SER=TARQ52
> >
> > //SYSIN DD DUMMY
> >
> >
> >
> >  Then, we updated SAR parmlib member to use new Esoteric for tape less
> device
> > and run update Job.
> >
> &g

CA View SAR migration

2017-12-13 Thread venkat kulkarni
Hello,

We have requirement of migrating SAR from told tape drive to new tape less
drives. So, when we look at SAR related dataset, which are on tape

SAR.TARQLTY.SARTAPE.T092  TARQ51


SAR.TARQLTY.SARTAPE.T098  TARQ51

SAR.TARQLTY.SARTAPE.T102  TARQ51

SAR.TARQLTY.SARTAPE.T093  TARQ52

SAR.TARQLTY.SARTAPE.T094  TARQ53

SAR.TARQLTY.SARTAPE.T099  TARQ53

SAR.TARQLTY.SARTAPE.T104  TARQ53

SAR.TARQLTY.SARTAPE.T109  TARQ53

SAR.TARQLTY.SARTAPE.T095  TARQ54

SAR.TARQLTY.SARTAPE.T105  TARQ54

SAR.TARQLTY.SARTAPE.T090  TARQ55

SAR.TARQLTY.SARTAPE.T096  TARQ55

SAR.TARQLTY.SARTAPE.T097  TARQ56

SAR.TARQLTY.SARTAPE.T101  TARQ56




if you look at above datasets, we are using 6 tapes for SAR backup
currently and

when we list content of tape  Ex TARQ51, we see  only

SAR.TARQLTY.SARTAPE.T102  TARQ51



dataset which has highest number of time stamp and in my case it was 102
for TARQ51 volume  and below dataset not found on tape.

SAR.TARQLTY.SARTAPE.T092  TARQ51

SAR.TARQLTY.SARTAPE.T098  TARQ51

And this is same of other volumes  also, like for TARQ53, i couldn't find
only SAR.TARQLTY.SARTAPE.T109  dataset etc.
So, we planned to migrate these available dataset from old tape to new tape
less  disk sub system using below JCL and dataset gets copied.

//OP117SAQ JOB (660),SAURABH,CLASS=A,MSGLEVEL=(1,1),NOTIFY=

//STEP1 EXEC PGM=SARTCP,PARM='COPYASIS'

//*TEPLIB DD DSN=CAI.CVDELOAD,DISP=SHR

//SYSPRINT DD SYSOUT=*

//TAPEIN DD DSN=SAR.TARQLTY.SARTAPE.T093,

// DISP=OLD,UNIT=359D,LABEL=(1,BLP),VOL=SER=XARQ52

//TAPEOUT DD DSN=SAR.TARQLTY.SARTAPE.T093,

// DISP=(NEW,KEEP),UNIT=359D,LABEL=EXPDT=99000,VOL=SER=TARQ52

//SYSIN DD DUMMY



 Then, we updated SAR parmlib member to use new Esoteric for tape less
device and run update Job.



But when we run SAR again, it was not able to use new tape less device
while archiving reports.



Please correct me, if we are following right way of migration.



Thanks & Regards

Venkat

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


Re: DB2 & CICS Training

2017-11-29 Thread venkat kulkarni
Please provide website detail and contact email address to communicate
further.

Regards
Venkat

On Sat, Nov 25, 2017 at 1:30 PM, TSDunlap <tsdun...@wowway.com> wrote:

> On 11/25/2017 1:04 AM, venkat kulkarni wrote:
>
>> Hello Group,
>>
>> Do we have any training available on DB2 and CICS administration. I tried
>> talking to IBM but unfortunately, they do not conduct any public batches
>> for now.
>>
>> Can anybody help me on this regards.
>>
>> Thanks
>> Venkat
>>
>> --
>> For IBM-MAIN subscribe / signoff / archive access instructions,
>> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>>
>
> Venkat,
>
> We provide that style of training.  Please visit our web site to see our
> courses and a schedule of up coming classes.
>
>
> --
> __
> Regards,
> Thomas DunlapChief Technology Officert...@themisinc.com
> Themis,  Inc.http://www.themisinc.com908 400-6485
>
> --
> 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


DB2 & CICS Training

2017-11-24 Thread venkat kulkarni
Hello Group,

Do we have any training available on DB2 and CICS administration. I tried
talking to IBM but unfortunately, they do not conduct any public batches
for now.

Can anybody help me on this regards.

Thanks
Venkat

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


DB2 SSL enablement

2017-11-18 Thread venkat kulkarni
Hello Team,

We have requirement to configure SSL on Db2. We are using Db2 V11 and  z/OS
2.1. If anybody has done this before please share insights and process.


Thanks
Venkat

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


Re: CLIST to add LLQ into PS file

2017-11-18 Thread venkat kulkarni
Problem has been resolved by adding CLIST into my current code  and called
my JCL as parm.
in this cose i used SYSDATE and SYSTIME variable and solved issue.


PROC 0
CONTROL MSG
SET MYDATE  =  
SET MYTIME = ..

SET DATE = 

PUT 'TEST1.PR.BAS''/sftp/file/tstpre.np'

OSHELL { echo 'lcd /sftp/file/' ; +

 echo 'bin'; +

 echo '!chmod 660 tstpla.np'; +

 echo 'cd C:\SFTP';  +

 echo 'mput tstpla.np'   ; +

 echo 'lcd /sftp/file/' ; +

 echo '!rm -r /sftp/file/tstpla.np' ; +

   sftp -p -v vbuser@10.68.30. 125


Thanks you so much for help .



On Thu, Nov 16, 2017 at 5:33 AM, David Crayford  wrote:

> On 16/11/2017 3:27 AM, Wayne Bickerdike wrote:
>
>> Another pathological dig at REXX David?
>>
>> The OP says, "I will use this code into one member and called by JCL as
>> input"
>>
>
> Not at all, Wayne. I asked because the OP is using SFTP (not FTP) and Kirk
> provided far and away the best solution in the form of a shell script
> that runs in batch.
>
> My example was how I generate a date/time suffix for our remote ftp backups
>> and delete aged ones.
>>
>> Much as you hate REXX, it works and it's pervasive.
>>
>
> I don't hate REXX. It's useful for many purposes. I just find I prefer the
> power and expressiveness of modern languages. Simple things like the lack
> of lexical scoping and short circuit evaluation make programming in REXX
> unpleasant for me.
>
>
>
>> On Wed, Nov 15, 2017 at 8:30 PM, David Crayford 
>> wrote:
>>
>> Why does he need REXX? Is he running it from a TSO command line?
>>>
>>>
>>>
>>> On 14/11/2017 3:11 AM, Lizette Koehler wrote:
>>>
>>> I think Venkat has a few issues to solve

  1) File is on the mainframe
  2) He needs to add an LLQ on the Windows system he is sending the
 file to
  3) Mainframe date/time is different form Windows date/time
 (example,
 MF in New York but PC is in Singapore, so needs to have the NY
 Date/Time in
 the file name)
  4) He needs a process that will create a file with the MF Date/Time
 in the file name on the Window
  5) He needs to determine what the LLQ should look like  e.g.
 2017-11-11 or 2017 or 2017307 and so forth.  Same with time
 HHMMSS  or
 HH-MM-SS and so  forth.



 A Rexx or Clist would be able to create a file name with the mf
 date/time
 stamp but only at the run time.  Not necessarily when the file was
 actually
 created on the mainframe.  Second, the FTP needs to place the file on
 the
 windows system with the mf date/time in the file name.

 He needs for someone to code this for him as he is not sure how to do
 this process.

 I think this summarizes his question so far, if not, he can restated the
 area where I did not understand his requirements

 P.S.  I think REXX is the better process for this. But maybe he needs a
 Batch function he can support.

 Lizette




 -Original Message-

> From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU]
> On
> Behalf Of Kirk Wolf
> Sent: Monday, November 13, 2017 11:55 AM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: CLIST to add LLQ into PS file
>
> Sorry! my mailer let my previous post go while I was editing!
> Let me try again..
>
> With Co:Z SFTP, its trivial to use shell scripting in batch to do this.
>
> For example:
>
> //SFTPPUT EXEC PROC=SFTPPROC
> //SFTPIN DD *
> cert="MY-RING:RSA-CERT"
> user=myuser
> host=my.windows.host.com
> lzopts="mode=text,linerule=crlf"
> lfile=//DD:MYDD
> suffix=$(date +%Y-%m-%d:%H:%M:%S)
> rfile="C:\SFTP\testpla.np.$suffix"
>
> # This calls a sample batch script which sends lfile to rfile
>
> . $script_dir/sftp_put.sh
>
> //MYDD  DD DISP=SHR,DSN=
> //*
>
>
> Kirk Wolf
> Dovetailed Technologies
> http://dovetail.com
>
> On Mon, Nov 13, 2017 at 12:49 PM, Kirk Wolf  wrote:
>
> With Co:Z SFTP, its trivial to use shell scripting in batch to do this.
>
>> For example:
>>
>> //SFTPPUT EXEC PROC=SFTPPROC
>> //SFTPIN DD *
>> cert="MY-RING:RSA-CERT"
>> user=myuser
>> host=myhost
>> lzopts="mode=text"
>> lfile=//DD:MYDD
>> rfile=/etc/profile
>>
>> . $script_dir/sftp_put.sh
>>
>> //MYDD  DD DSN=COZUSER.SFTPGET.DATA,DISP=(MOD,KEEP),
>> //DCB=(LRECL=80,RECFM=FB),SPACE=(CYL,(3,1))
>> //*
>>
>>date +%Y-%m-%d:%H:%M:%S
>>
>> Kirk Wolf
>> Dovetailed Technologies
>> http://dovetail.com
>>
>> On Mon, Nov 13, 2017 at 12:40 PM, Paul Gilmartin
>> <000433f07816-dmarc- requ...@listserv.ua.edu> wrote:
>>
>> On Mon, 13 Nov 2017 12:33:49 -0600, Kirk Wolf 

Re: CLIST to add LLQ into PS file

2017-11-13 Thread venkat kulkarni
Hello Lizette,

I got your point till I set variable and put this as LLQ to the file name.
But how will i use ftp commands I mentioned before to achieve this function.

Thanks & Regards
Venkat

On Mon, Nov 13, 2017 at 9:16 PM, Lizette Koehler <stars...@mindspring.com>
wrote:

> To start you can write a simple Clist to display the current time and date
> functions in CLIST
>
> Then determine which one works for you
>
> PROC 0
>  WRITE 
>  WRITE 
>
> And keep going through all of the date and time variables
>
> Once you get one you like
>
> You can do  (using SYSDATE and SYSTIME as the Vars).  Windows does not
> have too many restrictions as far as file names go.
>
>   SET X = A_B_
>
> Then execute the rest of your Clist.
>
> I am not sure how you will pass that variable you create, in this example
> , to your FTP JCL
>
> Lizette
>
> > -Original Message-
> > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
> > Behalf Of venkat kulkarni
> > Sent: Monday, November 13, 2017 10:59 AM
> > To: IBM-MAIN@LISTSERV.UA.EDU
> > Subject: Re: CLIST to add LLQ into PS file
> >
> > Yes, we are sending file from Mainframe to windows.
> >
> > As i mentioned before, I dont experience in creating CLIST, So i am
> > completely stuck to implement this function.
> >
> > Can anybody help me making this process successful
> >
> > Thanks & Regards
> > Venkat
> >
> > On Mon, Nov 13, 2017 at 8:50 PM, Lizette Koehler <
> stars...@mindspring.com>
> > wrote:
> >
> > > Venkat -
> > >
> > > the file is going from MF to Windows - Correct?
> > >
> > > System Symbols may not be available to your batch job.  Many shops
> > > prevent the use of system symbols.
> > >
> > > You can have a clist that creates the dataset LLQ you want, then the
> > > Clist could be used to do the FTP (I have not done this in CLIST but I
> > > think you can do that)
> > >
> > > Then you can create the file that will reside on the PC with
> > > A_B_YMmmDddThhmmss  or   A_B_mmddhhmmss
> > >
> > >
> > > I think this is what you want to happen. Is that correct?  If so, then
> > > this is maybe not a clist question but more what symbols can I use on
> > > a PC to generate the timestamp on the file being sent there
> > >
> > >
> > >
> > >
> > > Lizette
> > >
> > > > -Original Message-
> > > > From: IBM Mainframe Discussion List
> > > > [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of venkat kulkarni
> > > > Sent: Monday, November 13, 2017 7:04 AM
> > > > To: IBM-MAIN@LISTSERV.UA.EDU
> > > > Subject: CLIST to add LLQ into PS file
> > > >
> > > > Hello Group,
> > > >
> > > >
> > > > I am not good at CLIST but we have requirement of using SFTP with
> > > > below detail
> > > >
> > > >
> > > >  1) We have to send one mainframe PS dataset to windows system 3
> > > > times
> > > in a
> > > > day using SFTP
> > > >
> > > >
> > > > 2) For doing this, I wrote below command list which can achieve this.
> > > >
> > > >
> > > >
> > > > OPUT 'TEST1.PR.BAS''/sftp/file/tstpre.np'
> > > >
> > > > OSHELL { echo 'lcd /sftp/file/' ; +
> > > >
> > > >  echo 'bin'; +
> > > >
> > > >  echo '!chmod 660 tstpla.np'; +
> > > >
> > > >  echo 'cd C:\SFTP';  +
> > > >
> > > >  echo 'mput tstpla.np'   ; +
> > > >
> > > >  echo 'lcd /sftp/file/' ; +
> > > >
> > > >  echo '!rm -r /sftp/file/tstpla.np' ; +
> > > >
> > > >sftp -p -v vbuser@10.68.30. <mfuser@127.0.0.1>125
> > > >
> > > >
> > > > /*
> > > >
> > > >
> > > >
> > > > I will use this code into one member and called by JCL as input.
> > > >
> > > >
> > > > 3) But as requirement is to send this file 3 times in a day, so
> > > > every
> > > time
> > > > this file gets over written by previous file. So, to isolate this,
> > > > we
> > > would
> > > > like to add date and time stamp at the end of file  every name
> > > > before
> > &g

Re: CLIST to add LLQ into PS file

2017-11-13 Thread venkat kulkarni
Hello Steve,

Yes, I checked this variable. But now problem is writing this CLIST, as I
dont have much knowledge in writing this one to achieve this.

Can you please help.

On Mon, Nov 13, 2017 at 9:12 PM, Steve Smith  wrote:

> , , , etc. and  are standard clist
> built-in variables.  You will have to parse them to get the digits
> out.
>
> sas
>
> --
> 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


Re: CLIST to add LLQ into PS file

2017-11-13 Thread venkat kulkarni
Yes, we are sending file from Mainframe to windows.

As i mentioned before, I dont experience in creating CLIST, So i am
completely stuck to implement this function.

Can anybody help me making this process successful

Thanks & Regards
Venkat

On Mon, Nov 13, 2017 at 8:50 PM, Lizette Koehler <stars...@mindspring.com>
wrote:

> Venkat -
>
> the file is going from MF to Windows - Correct?
>
> System Symbols may not be available to your batch job.  Many shops prevent
> the use of system symbols.
>
> You can have a clist that creates the dataset LLQ you want, then the Clist
> could be used to do the FTP (I have not done this in CLIST but I think you
> can do that)
>
> Then you can create the file that will reside on the PC with
> A_B_YMmmDddThhmmss  or   A_B_mmddhhmmss
>
>
> I think this is what you want to happen. Is that correct?  If so, then
> this is maybe not a clist question but more what symbols can I use on a PC
> to generate the timestamp on the file being sent there
>
>
>
>
> Lizette
>
> > -Original Message-
> > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
> > Behalf Of venkat kulkarni
> > Sent: Monday, November 13, 2017 7:04 AM
> > To: IBM-MAIN@LISTSERV.UA.EDU
> > Subject: CLIST to add LLQ into PS file
> >
> > Hello Group,
> >
> >
> > I am not good at CLIST but we have requirement of using SFTP with below
> > detail
> >
> >
> >  1) We have to send one mainframe PS dataset to windows system 3 times
> in a
> > day using SFTP
> >
> >
> > 2) For doing this, I wrote below command list which can achieve this.
> >
> >
> >
> > OPUT 'TEST1.PR.BAS''/sftp/file/tstpre.np'
> >
> > OSHELL { echo 'lcd /sftp/file/' ; +
> >
> >  echo 'bin'; +
> >
> >  echo '!chmod 660 tstpla.np'; +
> >
> >  echo 'cd C:\SFTP';  +
> >
> >  echo 'mput tstpla.np'   ; +
> >
> >  echo 'lcd /sftp/file/' ; +
> >
> >  echo '!rm -r /sftp/file/tstpla.np' ; +
> >
> >sftp -p -v vbuser@10.68.30. <mfuser@127.0.0.1>125
> >
> >
> > /*
> >
> >
> >
> > I will use this code into one member and called by JCL as input.
> >
> >
> > 3) But as requirement is to send this file 3 times in a day, so every
> time
> > this file gets over written by previous file. So, to isolate this, we
> would
> > like to add date and time stamp at the end of file  every name before
> sending
> > from Mainframe to window.
> >
> > So, that every time file name will be different and will not be over
> written.
> >
> >
> > Can you please help me to achieve this using CLIST to call system date
> and
> > time value into variable and then put this variable as LLQ of this file
> and
> > then transfer to windows.
> >
> >
> >
> > Thanks in advance.
> >
> >
> > Regards
> >
> > Venkat
> >
> > --
> > 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


Re: CLIST to add LLQ into PS file

2017-11-13 Thread venkat kulkarni
Hello Paul,

I am not using any redirection and using  below to connect to remote
windows system from mainframe.

sftp -p -v vbuser@10.68.30. <mfuser@127.0.0.1>125


I tried using below way already

OPUT 'TEST.OUTPUT'   '/sftp/file/test1'

OSHELL { cd /sftp/file/  ; +

 mv test1  test1.$(date +%Y%m%d%H%M) ;   }


but the problem is my omvs and tso are using different time . OMVS is using
EDT and TSO is using GMT time.


in /etc/profile, I have


# Specifies the local time zone.

# ===

TZ=EST5EDT

export TZ


and in  CLOCK00 parmlib member


Command ===>

*

OPERATOR NOPROMPT

TIMEZONE E.03.00.00

ETRMODE  NO

ETRZONE  NO

ETRDELTA 1

STPMODE NO



So, using  $(date +%Y%m%d%H%M)  function, we get EDT time not GMT time.


Can you please suggest any other alternative to get GMT time as time stamp
in file name






On Mon, Nov 13, 2017 at 7:29 PM, Paul Gilmartin <
000433f07816-dmarc-requ...@listserv.ua.edu> wrote:

> On Mon, 13 Nov 2017 17:04:09 +0300, venkat kulkarni wrote:
> >
> > 1) We have to send one mainframe PS dataset to windows system 3 times in
> a
> >day using SFTP
> >...
> >OPUT 'TEST1.PR.BAS''/sftp/file/tstpre.np'
> >...
> >   sftp -p -v vbuser@10.68.30. <mfuser@127.0.0.1>125
> >
> What are you trying to do with those redirections?
> >
> >Can you please help me to achieve this using CLIST to call system date and
> >time value into variable and then put this variable as LLQ of this file
> and
> >then transfer to windows.
> >
> change: '/sftp/file/tstpre.np'
> to: '/sftp/file/tstpre.np'$(date +%Y-%m-%d:%H:%M:%S)
> >
> Use variables so the change need be made in only one place.
>
> Would this better be done with IRXJCL and BPXWUNIX?
> BPXWUNIX allows SYSIN as stdin, and you can substitute symbols in SYSIN
> nowadays.
>
> -- gil
>
> --
> 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


Re: How to Remove trailing space in SFTP Transfer

2017-08-24 Thread venkat kulkarni
my dataset on Mainframe is FB , So whenever mainframe transfer data using
FTP using ascii to AIX it doesnt have trailing spaces.

But as SFTP cant transfer directly dataset into AIX location, so we
transfer dataset to omvs location using OPUT and then from omvs, we
transfer data to AIX using SFTP.

So, I think, while transferring data from dataset to omvs it add trailing
blanks and which carry forward to unix as well.
Mainframe to AIX  rather then first trasnferring to omvs and then to aix.



On Thu, Aug 24, 2017 at 7:42 AM, Peter Hunkeler  wrote:

> >Yet, I wonder why the OP may want trailing blanks on z/OS and not on AIX.
>
>
>
> Just guessing here: Its not that they want trailing blanks, they have it
> because the data set is RECFM=FB. The FTP truncate option removed them and
> that is why they are used to not have trailing blanks after the transfer.
>
>
> If it is an option, change the data set on z/OS to RECFM=VB. But this may
> require a change of the application writing the data set in the first place.
>
>
> --
> Peter Hunkeler
>
>
>
> --
> 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


Re: How to Remove trailing space in SFTP Transfer

2017-08-23 Thread venkat kulkarni
we use sftp  command for transferring the file.

On Wed, Aug 23, 2017 at 3:28 PM, Mike Wawiorko <
014ab5cdfb21-dmarc-requ...@listserv.ua.edu> wrote:

> BARCLAYS CLASSIFICATION: Internal Only
>
> Hold on a bit.
>
> TCPIP.TCPPARMS(FTPSDATA1) looks suspiciously like an FTP(S) //SYSFTPD or
> FTP DATA file.
>
> Please confirm if you are using FTPS (FTP with TLS encryption) or sftp
> (ftp within an ssh connection).
>
> These are two entirely unrelated methods of file transfer that have
> nothing in common apart from being anagrams.
>
> Mike Wawiorko
>
>
> -Original Message-
> From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
> Behalf Of venkat kulkarni
> Sent: 23 August 2017 13:10
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: How to Remove trailing space in SFTP Transfer
>
>
> This message originated from outside our organisation and is from web
> based email - venkatkulkarn...@gmail.com
>
> Thanks for reply.  I think by default SFTP mode of transfer is binary and
> add trailing space at end of every records, which eventually increases the
> file of file compare to ftp transfer.
>
> I am using omvs and batch job to transfer file from Mainframe to AIX using
> SFTP command .
>
> Are you looking for any specific file.  But for FTP process, we have
> input  parameter file under TCPIP.TCPPARMS(FTPSDATA1)
>
>
>
>
> On Wed, Aug 23, 2017 at 2:59 PM, Elardus Engelbrecht <
> elardus.engelbre...@sita.co.za> wrote:
>
> > venkat kulkarni wrote:
> >
> > >But when we use SFTP process for transferring the file, we get
> > >trailing
> > spaces added in the file after sftp process completion.
> >
> > It depends. What SFTP client and server software are you using?
> >
> > Also, can you show the effective settings during SFTP process?
> >
> > Groete / Greetings
> > Elardus Engelbrecht
> >
> > --
> > 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
>
> This e-mail and any attachments are confidential and intended solely for
> the addressee and may also be privileged or exempt from disclosure under
> applicable law. If you are not the addressee, or have received this e-mail
> in error, please notify the sender immediately, delete it from your system
> and do not copy, disclose or otherwise act upon any part of this e-mail or
> its attachments.
>
> Internet communications are not guaranteed to be secure or virus-free. The
> Barclays Group does not accept responsibility for any loss arising from
> unauthorised access to, or interference with, any Internet communications
> by any third party, or from the transmission of any viruses. Replies to
> this e-mail may be monitored by the Barclays Group for operational or
> business reasons.
>
> Any opinion or other information in this e-mail or its attachments that
> does not relate to the business of the Barclays Group is personal to the
> sender and is not given or endorsed by the Barclays Group.
>
> Barclays Bank PLC. Registered in England and Wales (registered no.
> 1026167). Registered Office: 1 Churchill Place, London, E14 5HP, United
> Kingdom.
>
> Barclays Bank PLC is authorised by the Prudential Regulation Authority and
> regulated by the Financial Conduct Authority and the Prudential Regulation
> Authority (Financial Services Register No. 122702).
>
> --
> 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


Re: How to Remove trailing space in SFTP Transfer

2017-08-23 Thread venkat kulkarni
Thanks for reply.  I think by default SFTP mode of transfer is binary and
add trailing space at end of every records, which eventually increases the
file of file compare to ftp transfer.

I am using omvs and batch job to transfer file from Mainframe to AIX using
SFTP command .

Are you looking for any specific file.  But for FTP process, we have input
 parameter file under TCPIP.TCPPARMS(FTPSDATA1)




On Wed, Aug 23, 2017 at 2:59 PM, Elardus Engelbrecht <
elardus.engelbre...@sita.co.za> wrote:

> venkat kulkarni wrote:
>
> >But when we use SFTP process for transferring the file, we get trailing
> spaces added in the file after sftp process completion.
>
> It depends. What SFTP client and server software are you using?
>
> Also, can you show the effective settings during SFTP process?
>
> Groete / Greetings
> Elardus Engelbrecht
>
> --
> 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


How to Remove trailing space in SFTP Transfer

2017-08-23 Thread venkat kulkarni
Hello,

We are in the process of converting FTP jobs in to SFTP on mainframe
system.

So, we are sending text data from mainframe to AIX system for further
processing.

My observation is, when we use FTP process of transferring the file, by
default we dont get any trailing spaces in file after ftp to target system.

But when we use SFTP process for transferring the file, we get trailing
spaces added in the file after sftp process completion.


For controlling trailing space, in ftp we have command locsite trail  and
notrail

but I am unable to find command to control trailing space during sftp
transfer from Mainframe to AIX system .

Can you please help on this issue.

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


Re: OMVS Command in JCL

2017-08-22 Thread venkat kulkarni
Thanks for your help. I am able to run omvs command using  JCL now.

Regards
Venkat

On Tue, Aug 15, 2017 at 7:47 PM, John McKown <john.archie.mck...@gmail.com>
wrote:

> On Tue, Aug 15, 2017 at 11:39 AM, Nims,Alva John (Al) <ajn...@ufl.edu>
> wrote:
>
> > Gil,
> >
> > Will this still work if the file does not exist when the IEFBR14 step is
> > run?
> >
>
> ​Probably should have the OCREAT in the PATHOPTS. I.e.
> ​​
> //STEP  EXEC  PGM=IEFB14
> //FILE   DD   PATHOPTS=
> ​(​
> OCREAT,RDWR),PATHDISP=DELETE,
> //  PATH='/u/venkat/test_01.txt'
>
>
>
> > Al Nims
> > Systems Admin/Programmer 3
> > UFIT
> > University of Florida
> > (352) 273-1298
> >
> > -Original Message-
> > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
> > Behalf Of Paul Gilmartin
> > Sent: Tuesday, August 15, 2017 11:08 AM
> > To: IBM-MAIN@LISTSERV.UA.EDU
> > Subject: Re: OMVS Command in JCL
> >
> > On Tue, 15 Aug 2017 08:32:34 +0300, venkat kulkarni wrote:
> > >
> > >OSHELL
> > >   {
> > >  echo '!rm -r /u/venkat/test_01.txt' ; +
> > >  echo '!rm -r /u/venkat/test_01.txt'   ; }
> > >
> > >Please suggest, if any changes in this JCL is required to make this
> > >full process work.
> > >
> > I'd suggest as an easier alternative:
> >
> > ​​
> > //STEP  EXEC  PGM=IEFB14
> > //FILE   DD   PATHOPTS=ORDWR,PATHDISP=DELETE,
> >
> > ​​
> > //  PATH='/u/venkat/test_01.txt'
> >
> > -- gil
> >
> > --
> > 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
> >
>
>
>
> --
> If you look around the poker table & don't see an obvious sucker, it's you.
>
> Maranatha! <><
> John McKown
>
> --
> 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


OMVS Command in JCL

2017-08-14 Thread venkat kulkarni
Hello,

 I have requirement to run omvs command using batch job but not sure, where
i am making mistake.

//IBMUSEER JOB 654,VENKAT,CLASS=A,MSGCLASS=A,NOTIFY=
//STEP1  EXEC PGM=IKJEFT01
//SYSTSPRT DD SYSOUT=*
//SYSPRINT DD SYSPUT=*
//SYSTSIN DD *

 OGET '/u/venkat/test_01.txt'   'IBM06.DATA.TEST1'
  OGET '/u/venkat/test_02.txt'   'IBM06.DATA.TEST2'


OSHELL
   {
  echo '!rm -r /u/venkat/test_01.txt' ; +
  echo '!rm -r /u/venkat/test_01.txt'   ; }

/*

but this jcl doesn't seems to be removing the file from the location,we
mentioned but OGET command works well.

Please suggest, if any changes in this JCL is required to make this full
process work.

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


Re: PDSE dataset rename issue

2017-06-17 Thread venkat kulkarni
I used below command

D GRS,RES=(*,SYS1.SIEKLNKE)

 to check the current enqueue and its been used by XCFAS and LLA. and i
tried to bring down even LPAR and tried renaming this dataset from other
LPAR but still no success.


On Sat, Jun 17, 2017 at 5:00 PM, venkat kulkarni <venkatkulkarn...@gmail.com
> wrote:

> i used below command
>
>
> On Sat, Jun 17, 2017 at 4:44 PM, Dan Little <dwlit...@gmail.com> wrote:
>
>> Do you mean SYS1.SIEALNKE? The return code you are getting means it is
>> enqueued.
>>
>> Validate DADSM RENAME request; enqueue on SYSDSN failed.
>>
>> On Jun 17, 2017, 09:29 -0400, Lizette Koehler <stars...@mindspring.com>,
>> wrote:
>> > A thought or two
>> >
>> > 1) Is the SYS1.SIEKLNKE currently in the LINKLST? If so, are you just
>> refreshing the library?
>> > 2) If SYS1.SIEKLNKE does not current exist, you could build a new
>> LINKLST and add it to the new list.
>> >
>> > In case one, you can use a utility like PDSCLEAN from the CBTTAPE.ORG
>> to empty the current library. Then copy the modules into the cleaned out
>> library. Then issue a F LLA,UPDATE command (Check out the syntax)
>> >
>> > In case two, there are many examples in the archives of how to build a
>> new Linklst.
>> >
>> > D GRS,RES=(*,SYS1.SIEKLNKE) will list enqueues for this file.
>> >
>> >
>> >
>> > Lizette
>> >
>> >
>> > > -Original Message-
>> > > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU]
>> On
>> > > Behalf Of venkat kulkarni
>> > > Sent: Saturday, June 17, 2017 12:45 AM
>> > > To: IBM-MAIN@LISTSERV.UA.EDU
>> > > Subject: PDSE dataset rename issue
>> > >
>> > > Hello Group,
>> > > We have requirement to add new SYS1.SIEKLNKE dataset into system. But
>> this
>> > > dataset was allocated to LLA and XCF. So, we unallocated to linklist
>> and stop
>> > > LLA. After this, we tried renaming this dataset using ispf 3.4 to
>> .old but
>> > > system didnt allowed and received below error.
>> > >
>> > >
>> > > IEC614I rename failed rc 08 diagnostic information 040B0426, 914
>> > >
>> > > I am unable to find any authentication issue or any other causing this
>> > > problem.
>> > >
>> > > 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


Re: PDSE dataset rename issue

2017-06-17 Thread venkat kulkarni
i used below command


On Sat, Jun 17, 2017 at 4:44 PM, Dan Little <dwlit...@gmail.com> wrote:

> Do you mean SYS1.SIEALNKE? The return code you are getting means it is
> enqueued.
>
> Validate DADSM RENAME request; enqueue on SYSDSN failed.
>
> On Jun 17, 2017, 09:29 -0400, Lizette Koehler <stars...@mindspring.com>,
> wrote:
> > A thought or two
> >
> > 1) Is the SYS1.SIEKLNKE currently in the LINKLST? If so, are you just
> refreshing the library?
> > 2) If SYS1.SIEKLNKE does not current exist, you could build a new
> LINKLST and add it to the new list.
> >
> > In case one, you can use a utility like PDSCLEAN from the CBTTAPE.ORG
> to empty the current library. Then copy the modules into the cleaned out
> library. Then issue a F LLA,UPDATE command (Check out the syntax)
> >
> > In case two, there are many examples in the archives of how to build a
> new Linklst.
> >
> > D GRS,RES=(*,SYS1.SIEKLNKE) will list enqueues for this file.
> >
> >
> >
> > Lizette
> >
> >
> > > -Original Message-
> > > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU]
> On
> > > Behalf Of venkat kulkarni
> > > Sent: Saturday, June 17, 2017 12:45 AM
> > > To: IBM-MAIN@LISTSERV.UA.EDU
> > > Subject: PDSE dataset rename issue
> > >
> > > Hello Group,
> > > We have requirement to add new SYS1.SIEKLNKE dataset into system. But
> this
> > > dataset was allocated to LLA and XCF. So, we unallocated to linklist
> and stop
> > > LLA. After this, we tried renaming this dataset using ispf 3.4 to .old
> but
> > > system didnt allowed and received below error.
> > >
> > >
> > > IEC614I rename failed rc 08 diagnostic information 040B0426, 914
> > >
> > > I am unable to find any authentication issue or any other causing this
> > > problem.
> > >
> > > 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


Re: PDSE dataset rename issue

2017-06-17 Thread venkat kulkarni
SYS1.SIEKLNKE  is part of link list and apf authorized library and used by
XCFAS and LLA.

To rename it, we un allocated the linklist and then P LLA and then tried
renaming the dataset but stilll getting same issue.
now, I thought of creating new dataset in different volume as current one
and then uncatalog the current dataset and then rename the new dataset to
current one. I hope this should work.

But  I am still surprised that why after un allocating the linklist and
then P LLA command, system is not allowing me to rename current dataset.


please suggest.

On Sat, Jun 17, 2017 at 4:29 PM, Lizette Koehler <stars...@mindspring.com>
wrote:

> A thought or two
>
> 1) Is the SYS1.SIEKLNKE currently in the LINKLST?  If so, are you just
> refreshing the library?
> 2) If SYS1.SIEKLNKE does not current exist, you could build a new LINKLST
> and add it to the new list.
>
> In case one, you can use a utility like PDSCLEAN from the CBTTAPE.ORG to
> empty the current library.  Then copy the modules into the cleaned out
> library.  Then issue a F LLA,UPDATE command (Check out the syntax)
>
> In case two, there are many examples in the archives of how to build a new
> Linklst.
>
> D GRS,RES=(*,SYS1.SIEKLNKE)will list enqueues  for this file.
>
>
>
> Lizette
>
>
> > -Original Message-
> > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
> > Behalf Of venkat kulkarni
> > Sent: Saturday, June 17, 2017 12:45 AM
> > To: IBM-MAIN@LISTSERV.UA.EDU
> > Subject: PDSE dataset rename issue
> >
> > Hello Group,
> > We have requirement to add new SYS1.SIEKLNKE dataset into system. But
> this
> > dataset was allocated to LLA and XCF. So, we unallocated to linklist and
> stop
> > LLA. After this, we tried renaming this dataset using ispf 3.4 to .old
> but
> > system didnt allowed and received below error.
> >
> >
> > IEC614I rename failed rc 08 diagnostic information 040B0426, 914
> >
> > I am unable to find any authentication issue or any other causing this
> > problem.
> >
> > 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


Re: SMPE not able to receive PTF

2017-06-17 Thread venkat kulkarni
Hello Lizette,

Thanks. Sorry for small mistake and now problem has resolved. Issue was
with syntax issue with global csi  we used.

Thanks for help again.



On Sat, Jun 17, 2017 at 4:24 PM, Lizette Koehler <stars...@mindspring.com>
wrote:

> The PTF is for DB2.
>
> PTF UI28808 is for A10.  A10 is for DB2 V10.
>
> If you do not have the FMID for DB2 V10 in your GLOBAL zone, you could see
> messages like:
>
> NO APPLICABLE ++VER
>
>
> Verify the Global zone you are using for the RECEIVE contains the FMIDs
> needed to do the RECEIVE
>
> I am not sure it is an RSU issue.  Rather than receiving selective
> maintenance, you should consider receiving all PTFs on all RSU.  That
> way you can selectively APPLY them but all needed fixes will be available.
> When you select only certain fixes to RECEIVE, you may run into a condition
> where you need other fixes you did not receive to apply it.  By just doing
> a blanket RECEIVE you do not need to worry so much about pre-reqs.
>
> Note:  If you search IBM KC with APPLICABLE ++VER you would find this entry
>
> The "NO APPLICABLE ++VER" message does not usually indicate a problem. The
> ESO tape may contain PTFs for multiple versions of the same product, but
> the only PTFs received will be those for which there are FMIDs present in
> your SMPE global zone.
>
>
>
> Lizette
>
>
> > -Original Message-
> > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
> > Behalf Of venkat kulkarni
> > Sent: Saturday, June 17, 2017 3:07 AM
> > To: IBM-MAIN@LISTSERV.UA.EDU
> > Subject: SMPE not able to receive PTF
> >
> > Hello Group,
> >
> > I am trying to receive some PTF and getting below issue.
> >
> > 1PAGE 0001  - NOW SET TO GLOBAL ZONE  DATE 06/17/17  TIME
> 11:59:47
> > SMP/
> >
> >
> >
> >
> >  RECEIVE
> > 0022000
> >
> >.
> > 0023000
> >
> > 1PAGE 0002  - NOW SET TO GLOBAL ZONE  DATE 06/17/17  TIME
> 12:00:02
> > SMP/
> >
> >
> >
> >
> >RECEIVE  SUMMARY  REPORT
> >
> >
> >
> >  SYSMOD   STATUSTYPE  SOURCEID  FEATURE   STATUS FIELD
> > COMMENTS
> >  UI28808  NOT RECEIVED  PTF   NO APPLICABLE
> > ++VER
> >
> >   NOT ASSIGNEDPUT1507 SYSMOD NOT IN
> RECEIVE
> > STAT
> >
> >   NOT ASSIGNEDRSU1512
> >
> >
> >   NOT ASSIGNEDSMCCOR
> >
> >
> >  UI28997  NOT RECEIVED  PTF   NO APPLICABLE
> > ++VER
> >
> >   NOT ASSIGNEDHIPER   SYSMOD NOT IN
> RECEIVE
> > STAT
> >
> >   NOT ASSIGNEDPRP
> >
> >
> >   NOT ASSIGNEDPUT1507
> >
> >
> >   NOT ASSIGNEDRSU1508
> >
> >
> >   NOT ASSIGNEDSMCCOR
> >
> >
> >  UI29001  NOT RECEIVED  PTF   NO APPLICABLE
> > ++VER
> >
> >   NOT ASSIGNEDHIPER   SYSMOD NOT IN
> RECEIVE
> > STAT
> >
> >   NOT ASSIGNEDPUT1507
> >
> >
> >   NOT ASSIGNEDRSU1508
> >
> >
> >   NOT ASSIGNEDSMCCOR
> >
> >
> >  UI29041  NOT RECEIVED  PTF   NO APPLICABLE
> > ++VER
> >
> >   NOT ASSIGNEDPUT1507 SYSMOD NOT IN
> RECEIVE
> > STAT
> >
> >   NOT ASSIGNEDRSU1512
> >
> >
> >   NOT ASSIGNEDSMCCOR
> >
> >
> >  UI29092  NOT RECEIVED  PTF   NO APPLICABLE
> > ++VER
> >
> >   NOT ASSIGNEDHIPER   SYSMOD NOT IN
> RECEIVE
> > STAT
> >
> >   NOT ASSIGNEDPUT1507
> >
> >
> >   NOT ASSIGNEDRSU1508
> >
> >
> >
> >
> > I am unable to receive these PTF because my system is running with older
> RSU
> > and these ptf require minimum of RSU1508 or higher or any other reason
> for
> > not able to receive these PTF.
> >
>
> --
> 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


SMPE not able to receive PTF

2017-06-17 Thread venkat kulkarni
Hello Group,

I am trying to receive some PTF and getting below issue.

1PAGE 0001  - NOW SET TO GLOBAL ZONE  DATE 06/17/17  TIME 11:59:47
SMP/




 RECEIVE
0022000

   .
0023000

1PAGE 0002  - NOW SET TO GLOBAL ZONE  DATE 06/17/17  TIME 12:00:02
SMP/




   RECEIVE  SUMMARY  REPORT











 SYSMOD   STATUSTYPE  SOURCEID  FEATURE   STATUS FIELD
COMMENTS







 UI28808  NOT RECEIVED  PTF   NO APPLICABLE
++VER

  NOT ASSIGNEDPUT1507 SYSMOD NOT IN RECEIVE
STAT

  NOT ASSIGNEDRSU1512


  NOT ASSIGNEDSMCCOR


 UI28997  NOT RECEIVED  PTF   NO APPLICABLE
++VER

  NOT ASSIGNEDHIPER   SYSMOD NOT IN RECEIVE
STAT

  NOT ASSIGNEDPRP


  NOT ASSIGNEDPUT1507


  NOT ASSIGNEDRSU1508


  NOT ASSIGNEDSMCCOR


 UI29001  NOT RECEIVED  PTF   NO APPLICABLE
++VER

  NOT ASSIGNEDHIPER   SYSMOD NOT IN RECEIVE
STAT

  NOT ASSIGNEDPUT1507


  NOT ASSIGNEDRSU1508


  NOT ASSIGNEDSMCCOR


 UI29041  NOT RECEIVED  PTF   NO APPLICABLE
++VER

  NOT ASSIGNEDPUT1507 SYSMOD NOT IN RECEIVE
STAT

  NOT ASSIGNEDRSU1512


  NOT ASSIGNEDSMCCOR


 UI29092  NOT RECEIVED  PTF   NO APPLICABLE
++VER

  NOT ASSIGNEDHIPER   SYSMOD NOT IN RECEIVE
STAT

  NOT ASSIGNEDPUT1507


  NOT ASSIGNEDRSU1508




I am unable to receive these PTF because my system is running with older
RSU and these ptf require minimum of RSU1508 or higher or any other reason
for not able to receive these PTF.

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


Re: PDSE dataset rename issue

2017-06-17 Thread venkat kulkarni
Thanks for reply. I looked at other google for this error and it says about
required authentication issue. but I feel, i have all required authority to
alter this dataset.

Is it something to do with using 3.4 option and system check this dataset
in other system master catalog and doesnt allow us to rename or some other
reason.

On Sat, Jun 17, 2017 at 11:25 AM, retired mainframer <
retired-mainfra...@q.com> wrote:

> Look at your DFSMSdfp Diagnosis manual in the DADSM RENAME Return and
> Diagnostic Codes section.  It says the enqueue failed.
>
> > -Original Message-
> > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
> > Behalf Of venkat kulkarni
> > Sent: Saturday, June 17, 2017 12:45 AM
> > To: IBM-MAIN@LISTSERV.UA.EDU
> > Subject: PDSE dataset rename issue
> >
> > Hello Group,
> > We have requirement to add new SYS1.SIEKLNKE dataset into system. But
> this
> > dataset was allocated to LLA and XCF. So, we unallocated to linklist and
> > stop LLA. After this, we tried renaming this dataset using ispf 3.4 to
> .old
> > but system didnt allowed and received below error.
> >
> >
> > IEC614I rename failed rc 08 diagnostic information 040B0426, 914
> >
> > I am unable to find any authentication issue or any other causing this
> > problem.
>
> --
> 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


Re: PDSE dataset rename issue

2017-06-17 Thread venkat kulkarni
no, its not in sysplex.. just volumes are shared.. i tried shutting down
the system and tired to rename from other system also. but getting similar
issue .

On Sat, Jun 17, 2017 at 12:03 PM, Lucas Rosalen 
wrote:

> Maybe this dataset is allocated by XCF and LLA in another system of the
> sysplex, you might wanna check that.
>
> Lucas
>
> On Jun 17, 2017 10:53, "Edward Finnell" <
> 000248cce9f3-dmarc-requ...@listserv.ua.edu> wrote:
>
> >
> > Example 2:
> > To  display resource information about all resources whose major name is
> > SYSDSN,  enter:
> > D GRS,RES=(SYSDSN,*)
> >
> >
> >
> >
> > In a message dated 6/17/2017 3:25:49 A.M. Central Daylight Time,
> > retired-mainfra...@q.com writes:
> >
> > Look at  your DFSMSdfp Diagnosis manual in the DADSM RENAME Return and
> > Diagnostic Codes  section.  It says the enqueue  failed.
> >
> >
> >
> > --
> > 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


PDSE dataset rename issue

2017-06-17 Thread venkat kulkarni
Hello Group,
We have requirement to add new SYS1.SIEKLNKE dataset into system. But this
dataset was allocated to LLA and XCF. So, we unallocated to linklist and
stop LLA. After this, we tried renaming this dataset using ispf 3.4 to .old
but system didnt allowed and received below error.


IEC614I rename failed rc 08 diagnostic information 040B0426, 914

I am unable to find any authentication issue or any other causing this
problem.

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


Re: SMF record for FTP

2017-05-28 Thread venkat kulkarni
Hello Charles,

Thanks for reply. As you suggested,

1) I will add SMF 119 in SMFPRMxx
2) I will add SMFCONFIG statement in the TCP profile dataset  with TYPE119

and then use dynamic command obeyfile and SET to make these new changes in
affect.

But can you please help me to follow next step to find the the FTP jobs
which are still running in our system .



On Sun, May 28, 2017 at 4:44 PM, Charles Mills <charl...@mcn.org> wrote:

> FTP will cut SMF 119 or (I think) 118 records. You have to turn them on in
> the usual way in SMFPRMxx *and* with an SMFCONFIG statement in the TCP
> profile dataset.
>
> I'm more familiar with the 119's than the 118's. Then FTP *client* will
> cut subtype 3's and FTP *server* will cut subtype 70's. Unfortunately IBM
> did not include the job name in the record. But you will have user id, IP
> address, filenames and so forth so that's a help.
>
> Some SFTP implementations cut the same subtypes so make sure you don't
> confuse yourself.
>
> Charles
>
>
> -Original Message-
> From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
> Behalf Of venkat kulkarni
> Sent: Sunday, May 28, 2017 2:17 AM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: SMF record for FTP
>
> Hello All,
>
> We are in the process of converting FTP jobs to SFTP and many of the jobs
> are converted.
>
> But before blocking port 23 for FTP, we want to make sure that all jobs
> are running with SFTP.
>
> Is it possible to collect some SMF record, which can indicate the current
> running jobs that are still using FTP.
>
> --
>
> --
> 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


SMF record for FTP

2017-05-28 Thread venkat kulkarni
Hello All,

We are in the process of converting FTP jobs to SFTP and many of the jobs
are converted.

But before blocking port 23 for FTP, we want to make sure that all jobs are
running with SFTP.

Is it possible to collect some SMF record, which can indicate the current
running jobs that are still using FTP.

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


Re: AW: Re: job output into dataset

2017-05-20 Thread venkat kulkarni
Hello All,

Finally problem has been resolved and solution is,

Basically , even though we specify 15 min or 1 hr etc in jeslog spin
command, there is no mechanism in jes2 to trigger SPIN.

So, Whenever any new message comes in JESMSGLG and JESMSGSG, then jes2
check  spin parameter value and see if time interval we specified is over ,
if yes then it start spin process...



Thanks for all help.

On Mon, May 15, 2017 at 5:31 PM, Lizette Koehler <stars...@mindspring.com>
wrote:

> A $S with nothing else is to Start JES2 Processing.  Please review the
> JES2 Commands manual for what it does.
>
> If you are not the system programmer, you need to work with that team at
> your shop.  When you change the STC Class in the JES2 INIT DECK, it is
> changed for ALL STCs.  This could impact space in your SPOOL and CKPT
> dataset for JES2.
>
> If you have a Sandbox to work in, you will need to work with the commands
> and see how each works.
>
> The JES2 COMMANDS manual can be helpful when learning new functions in
> JES2.
>
> The JES2 INIT and TUNING Reference can be helpful when learning new
> functions.
>
> Working with your z/OS System programmer can be helpful when setting up
> new functions.
>
>
> Lizette
>
> > -Original Message-
> > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
> > Behalf Of venkat kulkarni
> > Sent: Sunday, May 14, 2017 9:55 PM
> > To: IBM-MAIN@LISTSERV.UA.EDU
> > Subject: Re: AW: Re: job output into dataset
> >
> > Hello Lizette,
> >
> > So, After modifying STC job class JES2 Log parameter with spin, i will
> have
> > to use $S command to start this process.
> >
> > Please suggest, as I have not used this before.
> >
> > Thanks
> >
> > On 14-May-2017 3:09 PM, "venkat kulkarni" <venkatkulkarn...@gmail.com>
> > wrote:
> >
> > > 1) Finally, we wanted all STC JES DD to be spin off at morning 9 AM
> daily.
> > >
> > > 2) So, I set my STC Job class to
> > >
> > >
> > >
> > > RESPONSE=TST1
> > >
> > >   $HASP837 JOBCLASS(STC)
> > >
> > >   $HASP837 JOBCLASS(STC)   AUTH=(ALL),BLP=YES,COMMAND=EXECUTE,
> > >
> > >   $HASP837 CONDPURG=YES,DSENQSHR=ALLOW,
> > >
> > >   $HASP837 IEFUJP=YES,IEFUSO=YES,JESLOG=(SPIN,
> > >
> > >   $HASP837 +0:15),LOG=YES,MSGLEVEL=(1,1),
> > >
> > >   $HASP837 MSGCLASS=Z,OUTDISP=(HOLD,HOLD),
> > >
> > >   $HASP837 OUTPUT=YES,PERFORM=000,PROCLIB=00,
> > >
> > >   $HASP837 QAFF=(ANY),REGION=0004M,SWA=BELOW,
> > >
> > >   $HASP837 TIME=(000120,00),TYPE26=YES,
> > >
> > >   $HASP837 TYPE6=YES
> > >
> > >
> > >
> > >
> > >
> > > 3) My MSGCLASS Z is set to
> > >
> > >
> > >
> > > RESPONSE=TST1
> > >
> > >  $HASP842 OUTCLASS(Z)
> > >
> > >  $HASP842 OUTCLASS(Z)  OUTPUT=PRINT,BLNKTRNC=YES,
> > >
> > >  $HASP842  OUTDISP=(PURGE,HOLD),TRKCELL=NO
> > >
> > >
> > >
> > >
> > >
> > > 3) After all this above changes, I restarted my one of the STC task ,
> > > IMS address space to test and result is
> > >
> > >
> > >
> > > a) I am able to spin JES DD manually by using "W" command or by using
> > > /$T JQ(IMS12IMS),SPIN,DDNAME=JESMSGLG command and I can see output in
> > > held queue.
> > >
> > > b) But if you look at changes, I made above in my JESLOG parameter in
> > > STC class to start spin in every 15 min, it’s not starting. I am not
> > > able to find root cause of this issue now.
> > >
> > >
> > >
> > > I want to know that what more I am missing to start this automated
> > > SPIN working for my all STC task
> > >
> > > On 12-May-2017 5:05 PM, "venkat kulkarni" <venkatkulkarn...@gmail.com>
> > > wrote:
> > >
> > >> Thanks and I made all these suggested changes in stc class jes
> > >> parmlib member.
> > >> But to take this in effect, do I need to restart the address space or
> > >> it will pick up these new value automatically after changing stc
> > >> class using $T command.
> > >>
>
> --
> 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


Re: AW: Re: job output into dataset

2017-05-14 Thread venkat kulkarni
Hello Lizette,

So, After modifying STC job class JES2 Log parameter with spin, i will have
to use $S command to start this process.

Please suggest, as I have not used this before.

Thanks

On 14-May-2017 3:09 PM, "venkat kulkarni" <venkatkulkarn...@gmail.com>
wrote:

> 1) Finally, we wanted all STC JES DD to be spin off at morning 9 AM daily.
>
> 2) So, I set my STC Job class to
>
>
>
> RESPONSE=TST1
>
>   $HASP837 JOBCLASS(STC)
>
>   $HASP837 JOBCLASS(STC)   AUTH=(ALL),BLP=YES,COMMAND=EXECUTE,
>
>   $HASP837 CONDPURG=YES,DSENQSHR=ALLOW,
>
>   $HASP837 IEFUJP=YES,IEFUSO=YES,JESLOG=(SPIN,
>
>   $HASP837 +0:15),LOG=YES,MSGLEVEL=(1,1),
>
>   $HASP837 MSGCLASS=Z,OUTDISP=(HOLD,HOLD),
>
>   $HASP837 OUTPUT=YES,PERFORM=000,PROCLIB=00,
>
>   $HASP837 QAFF=(ANY),REGION=0004M,SWA=BELOW,
>
>   $HASP837 TIME=(000120,00),TYPE26=YES,
>
>   $HASP837 TYPE6=YES
>
>
>
>
>
> 3) My MSGCLASS Z is set to
>
>
>
> RESPONSE=TST1
>
>  $HASP842 OUTCLASS(Z)
>
>  $HASP842 OUTCLASS(Z)  OUTPUT=PRINT,BLNKTRNC=YES,
>
>  $HASP842  OUTDISP=(PURGE,HOLD),TRKCELL=NO
>
>
>
>
>
> 3) After all this above changes, I restarted my one of the STC task , IMS
> address space to test and result is
>
>
>
> a) I am able to spin JES DD manually by using "W" command or by using /$T
> JQ(IMS12IMS),SPIN,DDNAME=JESMSGLG command and I can see output in held
> queue.
>
> b) But if you look at changes, I made above in my JESLOG parameter in STC
> class to start spin in every 15 min, it’s not starting. I am not able to
> find root cause of this issue now.
>
>
>
> I want to know that what more I am missing to start this automated SPIN
> working for my all STC task
>
> On 12-May-2017 5:05 PM, "venkat kulkarni" <venkatkulkarn...@gmail.com>
> wrote:
>
>> Thanks and I made all these suggested changes in stc class jes parmlib
>> member.
>> But to take this in effect, do I need to restart the address space or it
>> will pick up these new value automatically after changing stc class using
>> $T command.
>>
>> On 12-May-2017 3:38 PM, "Lizette Koehler" <stars...@mindspring.com>
>> wrote:
>>
>>> JESLOG can be coded in the JES2 INIT DECK.  It is not part of JCL.
>>>
>>> Check your JES2 INITDECK to see how your JOBCLASS(STC) is coded.
>>>
>>>
>>>
>>>
>>>
>>> Starting the STC with SPIN= is also helpful to spin all JES2 jcl DDs.
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> Either or both can be used.
>>>
>>>
>>>
>>> Review the JES2 INIT and TUNING manuals referenced early to see what you
>>> want to do.
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> Lizette
>>>
>>>
>>>
>>>
>>>
>>> *From:* venkat kulkarni [mailto:venkatkulkarn...@gmail.com]
>>> *Sent:* Friday, May 12, 2017 12:55 AM
>>> *To:* IBM Mainframe Discussion List <IBM-MAIN@listserv.ua.edu>; Lizette
>>> Koehler <stars...@mindspring.com>
>>> *Subject:* Re: AW: Re: job output into dataset
>>>
>>>
>>>
>>> Hello Lizette,
>>>
>>>
>>>
>>> Thanks for reply. I will add JESLOG=SPIN in my proc. But one of my
>>> query still answered that do we need to recycle address space after
>>> changing STC class outdisp paramter to write,write  to make this spin work
>>> . Or can we do it dynamically without shutting down address space.
>>>
>>>
>>>
>>> On Fri, May 12, 2017 at 10:05 AM, Lizette Koehler <
>>> stars...@mindspring.com> wrote:
>>>
>>> So the best option would be to do
>>>
>>> 1)  Check the STC in the JES2 Class and see if JESLOG=SPIN is included.
>>>
>>> 2)  Start the STC with the SPIN Option
>>>
>>> JESLOG=
>>> Specifies for the indicated jobclass that each job's JESLOG data
>>> (JESMSGLG and JESYSMSG data sets) is to be spun at a certain time interval,
>>> suppressed from being recorded, or not spun at all.
>>> Note: Specifying JESLOG=SPIN will cause a job in this class to use
>>> at least 2 additional track groups of SPOOL space for the two JESLOG data
>>> sets (JESMSGLG or JESYSMSG ). If this

Re: AW: Re: job output into dataset

2017-05-14 Thread venkat kulkarni
Hello Steve,

So, After modifying STC job class JES2 Log parameter with spin, i will have
to use $S command to start this process.

Please suggest, as I have not used this before.

Thanks

On Sun, May 14, 2017 at 7:17 PM, Steve Horein <steve.hor...@gmail.com>
wrote:

> Regarding item #1, absent any "formal" automation solution (CA OPS/MVS, IBM
> NetView, etc.), review the information found in these topics:
>
> https://www.ibm.com/support/knowledgecenter/SSLTBW_2.2.0/
> com.ibm.zos.v2r2.hasa200/sacp.htm
>
> https://www.ibm.com/support/knowledgecenter/SSLTBW_2.2.0/
> com.ibm.zos.v2r2.hasa200/dsmac.htm
>
> https://www.ibm.com/support/knowledgecenter/SSLTBW_2.2.0/
> com.ibm.zos.v2r2.hasa200/cac.htm
>
> https://www.ibm.com/support/knowledgecenter/SSLTBW_2.2.0/
> com.ibm.zos.v2r2.hasa200/hacp.htm
>
>
> On Sun, May 14, 2017 at 7:09 AM, venkat kulkarni <
> venkatkulkarn...@gmail.com
> > wrote:
>
> > 1) Finally, we wanted all STC JES DD to be spin off at morning 9 AM
> daily.
> >
> > 2) So, I set my STC Job class to
> >
> >
> >
> > RESPONSE=TST1
> >
> >   $HASP837 JOBCLASS(STC)
> >
> >   $HASP837 JOBCLASS(STC)   AUTH=(ALL),BLP=YES,COMMAND=EXECUTE,
> >
> >   $HASP837 CONDPURG=YES,DSENQSHR=ALLOW,
> >
> >   $HASP837 IEFUJP=YES,IEFUSO=YES,JESLOG=(SPIN,
> >
> >   $HASP837 +0:15),LOG=YES,MSGLEVEL=(1,1),
> >
> >   $HASP837 MSGCLASS=Z,OUTDISP=(HOLD,HOLD),
> >
> >   $HASP837 OUTPUT=YES,PERFORM=000,PROCLIB=00,
> >
> >   $HASP837 QAFF=(ANY),REGION=0004M,SWA=BELOW,
> >
> >   $HASP837 TIME=(000120,00),TYPE26=YES,
> >
> >   $HASP837 TYPE6=YES
> >
> >
> >
> >
> >
> > 3) My MSGCLASS Z is set to
> >
> >
> >
> > RESPONSE=TST1
> >
> >  $HASP842 OUTCLASS(Z)
> >
> >  $HASP842 OUTCLASS(Z)  OUTPUT=PRINT,BLNKTRNC=YES,
> >
> >  $HASP842  OUTDISP=(PURGE,HOLD),TRKCELL=NO
> >
> >
> >
> >
> >
> > 3) After all this above changes, I restarted my one of the STC task , IMS
> > address space to test and result is
> >
> >
> >
> > a) I am able to spin JES DD manually by using "W" command or by using /$T
> > JQ(IMS12IMS),SPIN,DDNAME=JESMSGLG command and I can see output in held
> > queue.
> >
> > b) But if you look at changes, I made above in my JESLOG parameter in STC
> > class to start spin in every 15 min, it’s not starting. I am not able to
> > find root cause of this issue now.
> >
> >
> >
> > I want to know that what more I am missing to start this automated SPIN
> > working for my all STC task
> >
> >
>
> --
> 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


Re: AW: Re: job output into dataset

2017-05-14 Thread venkat kulkarni
1) Finally, we wanted all STC JES DD to be spin off at morning 9 AM daily.

2) So, I set my STC Job class to



RESPONSE=TST1

  $HASP837 JOBCLASS(STC)

  $HASP837 JOBCLASS(STC)   AUTH=(ALL),BLP=YES,COMMAND=EXECUTE,

  $HASP837 CONDPURG=YES,DSENQSHR=ALLOW,

  $HASP837 IEFUJP=YES,IEFUSO=YES,JESLOG=(SPIN,

  $HASP837 +0:15),LOG=YES,MSGLEVEL=(1,1),

  $HASP837 MSGCLASS=Z,OUTDISP=(HOLD,HOLD),

  $HASP837 OUTPUT=YES,PERFORM=000,PROCLIB=00,

  $HASP837 QAFF=(ANY),REGION=0004M,SWA=BELOW,

  $HASP837 TIME=(000120,00),TYPE26=YES,

  $HASP837 TYPE6=YES





3) My MSGCLASS Z is set to



RESPONSE=TST1

 $HASP842 OUTCLASS(Z)

 $HASP842 OUTCLASS(Z)  OUTPUT=PRINT,BLNKTRNC=YES,

 $HASP842  OUTDISP=(PURGE,HOLD),TRKCELL=NO





3) After all this above changes, I restarted my one of the STC task , IMS
address space to test and result is



a) I am able to spin JES DD manually by using "W" command or by using /$T
JQ(IMS12IMS),SPIN,DDNAME=JESMSGLG command and I can see output in held
queue.

b) But if you look at changes, I made above in my JESLOG parameter in STC
class to start spin in every 15 min, it’s not starting. I am not able to
find root cause of this issue now.



I want to know that what more I am missing to start this automated SPIN
working for my all STC task

On 12-May-2017 5:05 PM, "venkat kulkarni" <venkatkulkarn...@gmail.com>
wrote:

> Thanks and I made all these suggested changes in stc class jes parmlib
> member.
> But to take this in effect, do I need to restart the address space or it
> will pick up these new value automatically after changing stc class using
> $T command.
>
> On 12-May-2017 3:38 PM, "Lizette Koehler" <stars...@mindspring.com> wrote:
>
>> JESLOG can be coded in the JES2 INIT DECK.  It is not part of JCL.
>>
>> Check your JES2 INITDECK to see how your JOBCLASS(STC) is coded.
>>
>>
>>
>>
>>
>> Starting the STC with SPIN= is also helpful to spin all JES2 jcl DDs.
>>
>>
>>
>>
>>
>>
>>
>> Either or both can be used.
>>
>>
>>
>> Review the JES2 INIT and TUNING manuals referenced early to see what you
>> want to do.
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> Lizette
>>
>>
>>
>>
>>
>> *From:* venkat kulkarni [mailto:venkatkulkarn...@gmail.com]
>> *Sent:* Friday, May 12, 2017 12:55 AM
>> *To:* IBM Mainframe Discussion List <IBM-MAIN@listserv.ua.edu>; Lizette
>> Koehler <stars...@mindspring.com>
>> *Subject:* Re: AW: Re: job output into dataset
>>
>>
>>
>> Hello Lizette,
>>
>>
>>
>> Thanks for reply. I will add JESLOG=SPIN in my proc. But one of my query
>> still answered that do we need to recycle address space after changing STC
>> class outdisp paramter to write,write  to make this spin work . Or can we
>> do it dynamically without shutting down address space.
>>
>>
>>
>> On Fri, May 12, 2017 at 10:05 AM, Lizette Koehler <
>> stars...@mindspring.com> wrote:
>>
>> So the best option would be to do
>>
>> 1)  Check the STC in the JES2 Class and see if JESLOG=SPIN is included.
>>
>> 2)  Start the STC with the SPIN Option
>>
>> JESLOG=
>> Specifies for the indicated jobclass that each job's JESLOG data
>> (JESMSGLG and JESYSMSG data sets) is to be spun at a certain time interval,
>> suppressed from being recorded, or not spun at all.
>> Note: Specifying JESLOG=SPIN will cause a job in this class to use at
>> least 2 additional track groups of SPOOL space for the two JESLOG data sets
>> (JESMSGLG or JESYSMSG ). If this job class normally has a large number of
>> jobs that use a minimal amount of SPOOL space, then an increase of 2 track
>> groups could significantly increase SPOOL utilization. Consider these
>> additional SPOOL requirements when deciding whether to use JESLOG=SPIN.
>>
>> SPIN
>> Jobs running in this job class are 'spinnable'. $TJ,SPIN can
>> be used to immediately spin the JESMSGLG and JESYSMSG data sets.
>>
>> (SPIN,+hh:mm)
>> Indicates to spin JESLOG every hh:mm time interval.
>>
>> where:
>>
>> hh is hours and has a range of 0 through 23
>> mm is minutes and has a range of 00 through 59
>>
>> Note: You must specify a minimum of 10 minutes or JES2 issues
>> an error message. Also, for time intervals of less th

Re: AW: Re: job output into dataset

2017-05-12 Thread venkat kulkarni
Hello Lizette,

Thanks for reply. I will add JESLOG=SPIN in my proc. But one of my query
still answered that do we need to recycle address space after changing STC
class outdisp paramter to write,write  to make this spin work . Or can we
do it dynamically without shutting down address space.

On Fri, May 12, 2017 at 10:05 AM, Lizette Koehler <stars...@mindspring.com>
wrote:

> So the best option would be to do
>
> 1)  Check the STC in the JES2 Class and see if JESLOG=SPIN is included.
>
> 2)  Start the STC with the SPIN Option
>
> JESLOG=
> Specifies for the indicated jobclass that each job's JESLOG data
> (JESMSGLG and JESYSMSG data sets) is to be spun at a certain time interval,
> suppressed from being recorded, or not spun at all.
> Note: Specifying JESLOG=SPIN will cause a job in this class to use at
> least 2 additional track groups of SPOOL space for the two JESLOG data sets
> (JESMSGLG or JESYSMSG ). If this job class normally has a large number of
> jobs that use a minimal amount of SPOOL space, then an increase of 2 track
> groups could significantly increase SPOOL utilization. Consider these
> additional SPOOL requirements when deciding whether to use JESLOG=SPIN.
>
> SPIN
> Jobs running in this job class are 'spinnable'. $TJ,SPIN can
> be used to immediately spin the JESMSGLG and JESYSMSG data sets.
>
> (SPIN,+hh:mm)
> Indicates to spin JESLOG every hh:mm time interval.
>
> where:
>
> hh is hours and has a range of 0 through 23
> mm is minutes and has a range of 00 through 59
>
> Note: You must specify a minimum of 10 minutes or JES2 issues
> an error message. Also, for time intervals of less than one hour, you must
> specify the following format: JESLOG=(SPIN,+00:mm).
> (SPIN,hh:mm)
> Indicates to spin JESLOG at hh:mm every 24 hours.
> (SPIN,nnn)
> Indicates to spin JESLOG whenever either JESMSGLG or JESYSMSG
> has nnn lines.'nnn is the number (1–999) of lines in the data set.
> Note:
> You must specify a minimum of 500 lines or JES2 issues an
> error message.
> (SPIN,nnnK)
> Indicates to spin JESLOG whenever either JESMSGLG or JESYSMSG
> has "nnnK" lines, where "K" indicates thousands of lines.
> (SPIN,nnnM)
> Indicates to spin JESLOG whenever either JESMSGLG or JESYSMSG
> has "nnnM" lines, where "M" indicates millions of lines.
>
>
> Lizette
>
>
> > -Original Message-
> > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
> > Behalf Of venkat kulkarni
> > Sent: Thursday, May 11, 2017 9:37 AM
> > To: IBM-MAIN@LISTSERV.UA.EDU
> > Subject: Re: AW: Re: job output into dataset
> >
> > Hello All,
> >
> > Finally I have good news. Today we performed below steps.
> >
> > 1) I changed my message class z out disp parameter to write,write and
> then
> > run spin command but still no oputut saved in output queue.
> >
> > 2) I restarted IMS address space and before running spin command against
> > jesmsglg dd, I verified that my stc class outdisp is set to write,write .
> > Now, when I run spin command, I get record in output queue with
> destination
> > local and this is what we were looking for u .
> >
> > But this whole excersice make me to conclude that
> >
> > a) any running address space will not accept new value of outdisp
> parameter
> > on stc class( or any other class) using dynamic command $t .
> > So, we will have to recycle address space to take this effect. This
> dynamic
> > command is only useful for new address space we start after we change
> > parameter using $t.
> >
> > b) when we use spin command with jes dd like jesmsglg etc, we will not
> get
> > successful completion message on console .
> >
> > 3) do we have any way to make this process successful without recycle of
> > address space .
> >
> > Thank you so much for all help .
> >
> > On 10-May-2017 11:48 PM, "Lizette Koehler" <stars...@mindspring.com>
> wrote:
> >
> > > NOTE:  JES2 has a counter in the JCT.  Even if output is spun, it will
> > > not reduce that counter by what is spun.  The counter will continue to
> > > increase.  And it can increase until, the number of lines, exceeds
> > > what
> > > JES2 knows that should be produced which can cause a task to abend
> > > with a
> > > S722 abend.  No way around that other than cycling the tasks.
> > >
> > > I current

Re: AW: Re: job output into dataset

2017-05-11 Thread venkat kulkarni
> and operator messages about the job's processing: allocation of devices and
> volumes, execution and termination of job steps and the job, and
> disposition of data sets.
>
>
>
> You should talk to your friendly z/OS system programmer for assistance
> specific to your shop.
>
> Lizette
>
>
> -Original Message-
> >From: venkat kulkarni <venkatkulkarn...@gmail.com>
> >Sent: May 10, 2017 11:42 AM
> >To: IBM-MAIN@LISTSERV.UA.EDU
> >Subject: Re: AW: Re: job output into dataset
> >
> >Hello Lizette,
> >
> >Couple of important points,
> >
> >1) I am still not clear that, what happens when we run spin command  $T
> >job(ims12RC1),spin,ddname=JESMSGLG . Where messages goes from DD
> JESMSGLG  .
> >
> >In my case, when i run this command, it clear all record from DD JESMSGLG
> >but its not storing in output queue. But my requirement is that it should
> >keep those record in output queue after this spin command and from output
> >queue, we use some way to suck this output and archive it for later use.
> >
> >2) I have set my outdisp parameter to (write, write)  for this STC class
> >but still my records from this DD JESMSGLG  not coming to output queue.
> >Please help to provide some reason on this issue.
> >
> >3) When i run  $T job(ims12RC1),spin,ddname=JESMSGLG command, it start
> >processing this DD but i never get message saying successfully completed.
> I
> >waited for long but it never finish but I see my record becomes zero in
> >address space for this DD name.
> >
> >
> >I tried reading all document possible for this and couldnt find any 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


Re: AW: Re: job output into dataset

2017-05-10 Thread venkat kulkarni
Hello Lizette,

Couple of important points,

1) I am still not clear that, what happens when we run spin command  $T
job(ims12RC1),spin,ddname=JESMSGLG . Where messages goes from DD JESMSGLG  .

In my case, when i run this command, it clear all record from DD JESMSGLG
but its not storing in output queue. But my requirement is that it should
keep those record in output queue after this spin command and from output
queue, we use some way to suck this output and archive it for later use.

2) I have set my outdisp parameter to (write, write)  for this STC class
but still my records from this DD JESMSGLG  not coming to output queue.
Please help to provide some reason on this issue.

3) When i run  $T job(ims12RC1),spin,ddname=JESMSGLG command, it start
processing this DD but i never get message saying successfully completed. I
waited for long but it never finish but I see my record becomes zero in
address space for this DD name.


I tried reading all document possible for this and couldnt find any help.



On Wed, May 10, 2017 at 8:43 PM, Paul Gilmartin <
000433f07816-dmarc-requ...@listserv.ua.edu> wrote:

> On 2017-05-10, at 01:25, Gibney, Dave wrote:
>
> > I don't believe attempting to override the three JES files with a
> explicit DD definition will work.
> > I think, but haven't confirmed that you can define the eligibility to
> spin those files in the definition of the STC or JOB Class to JES2. It
> probably take a JES2 command or COLD start to set these attributes.
> >
> Many characteristics of the JES data sets can be controlled jointly
> (JESDS=ALL) or severally by JCL OUTPUT statements.  It's probably not
> useful to direct any of them to W=INTRDR.
>
> If a serious JCL error is detected, OUTPUT statements may be ineffective
> whereas MSGCLASS would have operated.
>
> -- gil
>
> --
> 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


Re: AW: Re: job output into dataset

2017-05-10 Thread venkat kulkarni
I think spin only works when we have dd name defined in our proc with
free=close and spin=unalloc .. else even after running spin command from
console , process wil never finish and we will not get print in output
class.

Please correct me, if I am wrong.

On 10-May-2017 11:03 AM, "Gibney, Dave" <gib...@wsu.edu> wrote:

> Is Z a held MSGCLASS?
> I really haven't used SPIN, so I can't help much. But, I really doubt you
> can successfully define the DD you desire. I don't think JES2 allows it.
>
> > -Original Message-
> > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU]
> > On Behalf Of venkat kulkarni
> > Sent: Wednesday, May 10, 2017 12:46 AM
> > To: IBM-MAIN@LISTSERV.UA.EDU
> > Subject: Re: AW: Re: job output into dataset
> >
> > Below is my stc job class output
> >
> > RESPONSE=TST4
> >
> >  $HASP837 JOBCLASS(STC)
> >
> >  $HASP837 JOBCLASS(STC)   AUTH=(ALL),BLP=YES,COMMAND=EXECUTE,
> >
> >  $HASP837 CONDPURG=YES,DSENQSHR=ALLOW,
> >
> >  $HASP837 IEFUJP=YES,IEFUSO=YES,JESLOG=(SPIN,
> >
> >  $HASP837 10K),LOG=YES,MSGLEVEL=(1,1),
> >
> >  $HASP837 MSGCLASS=Z,OUTDISP=(WRITE,WRITE),
> >
> >  $HASP837 OUTPUT=YES,PERFORM=000,PROCLIB=00,
> >
> >  $HASP837 QAFF=(ANY),REGION=0004M,SWA=BELOW,
> >
> >  $HASP837 TIME=(000120,00),TYPE26=YES,
> >
> >  $HASP837 TYPE6=YES
> >
> > I looked at every possible document and I think the issue is, when I
> issue spin
> > command , the process starts and spin records from dd but it never write
> on
> > output queue.
> >
> > So, what is stopping system to complete this spin process and should
> return
> > me $HASP138 of successful completion.
> >
> > I am still suspecting that do I need to have dd name entry in my proc
> which I
> > am using in my spin command with free=close and spin=unallocated
> >
> > Please help me to clear this doubt
> >
> > On 10-May-2017 10:26 AM, "Gibney, Dave" <gib...@wsu.edu> wrote:
> >
> > > I don't believe attempting to override the three JES files with a
> > > explicit DD definition will work.
> > > I think, but haven't confirmed that you can define the eligibility to
> > > spin those files in the definition of the STC or JOB Class to JES2. It
> > > probably take a JES2 command or COLD start to set these attributes.
> > >
> > > Looking at the appropriate manual(s) will help you as much or more as
> > > these questions here.
> > >
> > > > -Original Message-
> > > > From: IBM Mainframe Discussion List
> > > > [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of venkat kulkarni
> > > > Sent: Tuesday, May 09, 2017 11:25 PM
> > > > To: IBM-MAIN@LISTSERV.UA.EDU
> > > > Subject: Re: AW: Re: job output into dataset
> > > >
> > > >  I feel, whatever DD name I want spin, I should code in proclib for
> > > example
> > > > : If I want to always spin JESMSGLG DD from address space then I
> > > > should code below line in proclib and then
> > > >
> > > >  only my spin command will be completed.
> > > >
> > > >
> > > >
> > > > //JESMSGLG DD SYSOUT=A,FREE=CLOSE,SPIN=UNALLOC
> > > >
> > > >
> > > >
> > > > Please correct me, if I am wrong.
> > > >
> > > >
> > > >
> > > > 2) Currently, I don’t get  $HASP138 message on my console after
> > > > starting SPIN command. I just get below command
> > > >
> > > >
> > > >
> > > > $T JQ(IMS12IMS),SPIN,DDNAME=JESMSGLG
> > > >
> > > > $HASP890 JOB(IMS12IMS) 103
> > > >
> > > > $HASP890 JOB(IMS12IMS)  STATUS=(EXECUTING/TST4),CLASS=STC,
> > > >
> > > > $HASP890PRIORITY=15,SYSAFF=(TST4),HOLD=(NONE)
> > > >
> > > >
> > > >
> > > > So, I have doubt that my spin command is not getting completed or
> > > > some other reason.
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > 3) After running this spin command, I don’t see any output in my
> > > > output queue. Even though i set my STC job class
> > > >
> &g

Re: AW: Re: job output into dataset

2017-05-10 Thread venkat kulkarni
Below is my stc job class output

RESPONSE=TST4

 $HASP837 JOBCLASS(STC)

 $HASP837 JOBCLASS(STC)   AUTH=(ALL),BLP=YES,COMMAND=EXECUTE,

 $HASP837 CONDPURG=YES,DSENQSHR=ALLOW,

 $HASP837 IEFUJP=YES,IEFUSO=YES,JESLOG=(SPIN,

 $HASP837 10K),LOG=YES,MSGLEVEL=(1,1),

 $HASP837 MSGCLASS=Z,OUTDISP=(WRITE,WRITE),

 $HASP837 OUTPUT=YES,PERFORM=000,PROCLIB=00,

 $HASP837 QAFF=(ANY),REGION=0004M,SWA=BELOW,

 $HASP837 TIME=(000120,00),TYPE26=YES,

 $HASP837 TYPE6=YES

I looked at every possible document and I think the issue is, when I issue
spin command , the process starts and spin records from dd but it never
write on output queue.

So, what is stopping system to complete this spin process and should return
me $HASP138 of successful completion.

I am still suspecting that do I need to have dd name entry in my proc which
I am using in my spin command with free=close and spin=unallocated

Please help me to clear this doubt

On 10-May-2017 10:26 AM, "Gibney, Dave" <gib...@wsu.edu> wrote:

> I don't believe attempting to override the three JES files with a
> explicit DD definition will work.
> I think, but haven't confirmed that you can define the eligibility to spin
> those files in the definition of the STC or JOB Class to JES2. It probably
> take a JES2 command or COLD start to set these attributes.
>
> Looking at the appropriate manual(s) will help you as much or more as
> these questions here.
>
> > -Original Message-
> > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU]
> > On Behalf Of venkat kulkarni
> > Sent: Tuesday, May 09, 2017 11:25 PM
> > To: IBM-MAIN@LISTSERV.UA.EDU
> > Subject: Re: AW: Re: job output into dataset
> >
> >  I feel, whatever DD name I want spin, I should code in proclib for
> example
> > : If I want to always spin JESMSGLG DD from address space then I should
> > code below line in proclib and then
> >
> >  only my spin command will be completed.
> >
> >
> >
> > //JESMSGLG DD SYSOUT=A,FREE=CLOSE,SPIN=UNALLOC
> >
> >
> >
> > Please correct me, if I am wrong.
> >
> >
> >
> > 2) Currently, I don’t get  $HASP138 message on my console after starting
> > SPIN command. I just get below command
> >
> >
> >
> > $T JQ(IMS12IMS),SPIN,DDNAME=JESMSGLG
> >
> > $HASP890 JOB(IMS12IMS) 103
> >
> > $HASP890 JOB(IMS12IMS)  STATUS=(EXECUTING/TST4),CLASS=STC,
> >
> > $HASP890PRIORITY=15,SYSAFF=(TST4),HOLD=(NONE)
> >
> >
> >
> > So, I have doubt that my spin command is not getting completed or some
> > other reason.
> >
> >
> >
> >
> >
> > 3) After running this spin command, I don’t see any output in my output
> > queue. Even though i set my STC job class
> >
> >
> >
> > /$T JOBCLASS(STC),OUTDISP=(KEEP,KEEP)
> >
> >
> >
> > still, no output on output queue.
> >
> >
> >
> >
> >
> > 4) I see duplicate DD name like below after running SPIN command. Ex
> > JESMSGLG and JESYSMSG  are showing me 2 times in this same address
> > space.
> >
> >
> >
> > SDSF JOB DATA SET DISPLAY - JOB IMS12IMS (STC02551)
> >
> > COMMAND INPUT ===>
> >
> > PREFIX=IMS12IMS  DEST=(ALL)  OWNER=*  SYSNAME=
> >
> > NP   DDNAME   StepName ProcStep DSID OwnerC Dest
> >
> >  JESMSGLG JES2 2 STCCICQ  Z
> >
> >  JESJCL   JES2 3 STCCICQ  Z
> >
> >  JESYSMSG JES2 4 STCCICQ  Z
> >
> >  JESYSMSG JES2   104 STCCICQ  Z
> >
> >  JESMSGLG JES2   108 STCCICQ  Z
> >
> >
> >
> >
> >
> > Can you please help me to solve these queries.
> >
> >
> >
> > On 09-May-2017 8:16 PM, "Lizette Koehler" <stars...@mindspring.com>
> > wrote:
> >
> > > Venkat -
> > >
> > >
> > > You can SPIN SYSOUT (I do not think you can SPIN INTRDR )
> > >
> > > Sometimes, the SYSOUT is not PURGED from the Job unless you have
> > > SPIN=CLOSE,FREE=UNALLOC.  Otherwise the purge of the output will occur
> > > when the task is shut down.
> > >
> > > JES2 keeps a counter of output written. When it gets to a certain
> > > amount you will see S722 abends
> > >
> > > When you SPIN output it will go to the out

Re: AW: Re: job output into dataset

2017-05-10 Thread venkat kulkarni
 I feel, whatever DD name I want spin, I should code in proclib for example
: If I want to always spin JESMSGLG DD from address space then I should
code below line in proclib and then

 only my spin command will be completed.



//JESMSGLG DD SYSOUT=A,FREE=CLOSE,SPIN=UNALLOC



Please correct me, if I am wrong.



2) Currently, I don’t get  $HASP138 message on my console after starting
SPIN command. I just get below command



$T JQ(IMS12IMS),SPIN,DDNAME=JESMSGLG

$HASP890 JOB(IMS12IMS) 103

$HASP890 JOB(IMS12IMS)  STATUS=(EXECUTING/TST4),CLASS=STC,

$HASP890PRIORITY=15,SYSAFF=(TST4),HOLD=(NONE)



So, I have doubt that my spin command is not getting completed or some
other reason.





3) After running this spin command, I don’t see any output in my output
queue. Even though i set my STC job class



/$T JOBCLASS(STC),OUTDISP=(KEEP,KEEP)



still, no output on output queue.





4) I see duplicate DD name like below after running SPIN command. Ex
JESMSGLG and JESYSMSG  are showing me 2 times in this same address space.



SDSF JOB DATA SET DISPLAY - JOB IMS12IMS (STC02551)

COMMAND INPUT ===>

PREFIX=IMS12IMS  DEST=(ALL)  OWNER=*  SYSNAME=

NP   DDNAME   StepName ProcStep DSID OwnerC Dest

 JESMSGLG JES2 2 STCCICQ  Z

 JESJCL   JES2 3 STCCICQ  Z

 JESYSMSG JES2 4 STCCICQ  Z

 JESYSMSG JES2   104 STCCICQ  Z

 JESMSGLG JES2   108 STCCICQ  Z





Can you please help me to solve these queries.



On 09-May-2017 8:16 PM, "Lizette Koehler" <stars...@mindspring.com> wrote:

> Venkat -
>
>
> You can SPIN SYSOUT (I do not think you can SPIN INTRDR )
>
> Sometimes, the SYSOUT is not PURGED from the Job unless you have
> SPIN=CLOSE,FREE=UNALLOC.  Otherwise the purge of the output will occur when
> the task is shut down.
>
> JES2 keeps a counter of output written. When it gets to a certain amount
> you will see S722 abends
>
> When you SPIN output it will go to the output class specified.
>
> For example, SYSOUT=B -  When you spin it will go to the class B.  Now if
> B is setup in JES2 as a HELD class or OUTPUT class is dependent on your
> shop's JES2 parm
>
> You can see the output that you SPIN in the SDSF Panels.  Either theO
>   STH   panels
>
> Once you spin the output you still need another process to write the data
> to a data set.
>
> Processes suggested so far
>  Write an SDSF ISFEXEC REXX to read the Data from JES2 to dataset _
> Example is JES2DISK
>  Purchase a product to do this ($AVERS, VIEW DIRECT, XPTR, and so
> forth)
>  Setup and External writer to read the data from Spool and write to a
> dataset
>  Setup a JES2 Offloader to write the data to a dataset.
>  Look for tools on cbttape.org
>
>
>
> Note:  There are special DD statements that are generated by JES2 you
> cannot control with a JCL Statement to spin it.
>
> You could review the Manuals  JES2 INIT and TUNING GUIDE, and JES2 INIT
> and TUNING Reference.  They have good detail on how JES2 does output
> management.
>
> SA32-0991-00z/OS JES2 Initialization and Tuning Guide
> SA32-0992-00z/OS JES2 Initialization and Tuning Reference
>
> Next, find the REXX called JES2DISK.  I use this all the time to read data
> from JES2 and write it to a dataset.  It works very well.
>
>
> It is still not clear what problem you are trying to solve.
>
>
> If you could summarize what it is you need to do, it might be helpful to
> level set the issue at this time.  There have been a lot of comments and
> suggestions which do not seem to meet your needs.
>
> For example, my task needs to collect the data from STC x which runs
> 24x7.  I need the information written to the DD statement Y.  This needs to
> go into a GDG or SEQ files for later review.  This output is a (REPORT,
> JCL, LOGGING, etc)
>
>
>
> SPIN can happen at the TASK LEVEL -  S stcname,SPIN=('spin parms')
>   Or the DD level  //DD  DD SYSOUT=x,SPIN=
>   OR by issuing a JES2 command  $Tzz,SPINzzz is either Task
> Number, TaskName
>
> Depending on the requirements you are provided, it will depend on which
> function you will need to use.
>
>
> The more specific the question, the better the answers.  Generic questions
> or comments can lead to confusion for everyone.
>
> This list can provide lots of suggestions and guidance.  It will be your
> job to work with the suggestions and see what works in your shop.  Each
> shop is different and what works for one does not always work for another.
>
>
>
> Lizette
>
>
> > -Original Message-
> > From: IBM Mainframe Discussion List [mailto:IBM-M

Re: AW: Re: job output into dataset

2017-05-09 Thread venkat kulkarni
Hello Lizette,



Sorry for consuming lots of time on this issue. But, I wanted to get
clarity on very basic like,



1) If I see more records in one of the JES* DD statement Ex : JESMSGLG  in
my IMS address space and I want to spin this messages from this address
space and put it in one dataset

and also after spin, all these messages should be no longer exist in this
imsproc.



  SDSF JOB DATA SET DISPLAY - JOB IMS12IMS (STC01559)LINE 1-5
(5)

 COMMAND INPUT ===>SCROLL ===>
CSR

 PREFIX=DBC*  DEST=(ALL)  OWNER=*  SYSNAME=


 NP   DDNAME   StepName ProcStep DSID OwnerC Dest   Rec-Cnt
Page

  JESMSGLG JES2 2 STCCICT  Z
5

  JESJCL   JES2 3 STCCICT  Z
229

  JESYSMSG JES2 4 STCCICT  Z
3

  JESMSGLG JES2   103 STCCICT  Z
869

  JESYSMSG JES2   104 STCCICT  Z
0



To make this process work, do I need to code DD statement in IMS proc like
below



//JESMSGLG DD SYSOUT=A,FREE=CLOSE,SPIN=UNALLOC



before running spin command  ex : $T IMS12IMS,SPIN,DD=JESMSGLG



or there is no need to code this  //JESMSGLG DD
SYSOUT=A,FREE=CLOSE,SPIN=UNALLOC
DD statement inside IMS proc.



I am asking this query because, currently in my IMS proc, I have only below
DD statement



//STEPLIB  DD DSN=IMS1.V120.,DISP=SHR

//PROCLIB  DD DSN=IMS1.V120.,DISP=SHR

//DFSOLP00 DD DSN=IMS1.V120.,DISP=SHR

//DFSOLP01 DD DSN=IMS1.V120.,DISP=SHR

//DFSOLP99 DD DSN=IMS1.V120.,DISP=SHR

//DFSWADS0 DD DSN=IMS1.V120.,DISP=SHR

//DFSWADS1 DD DSN=IMS1.V120.,DISP=SHR

//IMSACBA  DD DSN=IMS1.V120.ACBLIBA,DISP=SHR

//IMSACBB  DD DSN=IMS1.V120.ACBLIBB,DISP=SHR

//MODBLKSA DD DSN=IMS1.V120.,DISP=SHR

//MODBLKSB DD DSN=IMS1.V120.,DISP=SHR

//MODSTAT  DD DSN=IMS1.V120.,DISP=SHR

//SYSUDUMP DD SYSOUT=,

//IMSRDS   DD DSN=IMS1.V120.,DISP=SHR

//MATRIXA  DD DSN=IMS1.V120.,DISP=SHR

//MATRIXB  DD DSN=IMS1.V120.,DISP=SHR

//PRINTDD  DD SYSOUT=

//IMSMON   DD DSN=IMS1.V120.IMSMON,DISP=SHR

//DFSESL   DD DSN=IMS1.V120.,DISP=SHR



and when I run $T IMS12IMS,SPIN,DD=JESMSGLG command, I see all record line
comes to zero in address space or JESMSGLG DD but system create one more DD
with same name JESMSGLG,

but I am not sure how this happens ??



And SPIN command output never complete and i just get below message but
never received message saying " SPIN successfully completed."



$T IMS12IMS,SPIN,DD=JESMSGLG



$HASP890 JOB(DBCY2RC3) 878

$HASP890 JOB(DBCY2RC3)  STATUS=(EXECUTING/TST4),CLASS=STC,

$HASP890PRIORITY=15,SYSAFF=(TST4),HOLD=(NONE)





Now, my another query is , when I run this SPIN command and my DD JESMSGLG
record comes to zero then where all these message gone. Are they purged or
I can view them.



I tried looking at output but I don’t find any print named IMS12IMS .



Can you please guide me with this whole process



On 09-May-2017 10:42 AM, "venkat kulkarni" <venkatkulkarn...@gmail.com>
wrote:

> Yes. It's not.so I should code jesmsglg dd stmt as
> //JESMSGLG dd sysout=a,free=close,spin=unalloc
>
>  in my ims proc and then recycle ims and then issue
> $t job,imsproc,spin,ddname=JESMSGLG
> Command to spin JESMSGLG.
>
> Please correct me, if my understanding is wrong.
> Also, suggest after this spin , how to remove those many record from JESMSGLG
> dd which we just spin .
>
> On 09-May-2017 9:40 AM, "Gibney, Dave" <gib...@wsu.edu> wrote:
>
>> There is no DD named JCLOUT.
>> There is nothing (aside from the JESx) to SPIN.
>> Why do you want to spin job?
>>
>> > -Original Message-
>> > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU]
>> > On Behalf Of venkat kulkarni
>> > Sent: Monday, May 08, 2017 10:44 PM
>> > To: IBM-MAIN@LISTSERV.UA.EDU
>> > Subject: Re: AW: Re: job output into dataset
>> >
>> > Hello All,
>> >
>> >
>> >
>> > Thanks for reply. I looked at my IMS proc and looks like below.
>> >
>> >
>> >
>> > BROWSESYS1.DEVL.PROCLIB(IMS12IMS) - 01.05Line  Col
>> 001
>> > 080
>> >
>> >  Command ===>  Scroll
>> ===>
>> > CSR
>> >
>> > * Top of Data
>> > **
>> > 
>> >
>> > //   PROC RGN=0M,SOUT=A,
>> >
>> > //SYS=,SYS2=,
>> >
>> > //RGSUF=DBC,PARM1='AUTO=N',
>> >
>> > //PARM2=
>> >
>> > //IEFPROC EXEC PGM=DFSMVRC0,REGION=,
>> >
>> > //PARM='DBC,,,'
>> >
>> > //*
>> >
>> > //S

Re: AW: Re: job output into dataset

2017-05-09 Thread venkat kulkarni
Yes. It's not.so I should code jesmsglg dd stmt as
//JESMSGLG dd sysout=a,free=close,spin=unalloc

 in my ims proc and then recycle ims and then issue
$t job,imsproc,spin,ddname=JESMSGLG
Command to spin JESMSGLG.

Please correct me, if my understanding is wrong.
Also, suggest after this spin , how to remove those many record from JESMSGLG
dd which we just spin .

On 09-May-2017 9:40 AM, "Gibney, Dave" <gib...@wsu.edu> wrote:

> There is no DD named JCLOUT.
> There is nothing (aside from the JESx) to SPIN.
> Why do you want to spin job?
>
> > -Original Message-
> > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU]
> > On Behalf Of venkat kulkarni
> > Sent: Monday, May 08, 2017 10:44 PM
> > To: IBM-MAIN@LISTSERV.UA.EDU
> > Subject: Re: AW: Re: job output into dataset
> >
> > Hello All,
> >
> >
> >
> > Thanks for reply. I looked at my IMS proc and looks like below.
> >
> >
> >
> > BROWSESYS1.DEVL.PROCLIB(IMS12IMS) - 01.05Line  Col
> 001
> > 080
> >
> >  Command ===>  Scroll
> ===>
> > CSR
> >
> > * Top of Data
> > **
> > 
> >
> > //   PROC RGN=0M,SOUT=A,
> >
> > //SYS=,SYS2=,
> >
> > //RGSUF=DBC,PARM1='AUTO=N',
> >
> > //PARM2=
> >
> > //IEFPROC EXEC PGM=DFSMVRC0,REGION=,
> >
> > //PARM='DBC,,,'
> >
> > //*
> >
> > //STEPLIB  DD DSN=IMS1.V120.,DISP=SHR
> >
> > //PROCLIB  DD DSN=IMS1.V120.,DISP=SHR
> >
> > //*
> >
> > //IMSIRD   DD SYSOUT=(A,INTRDR)
> >
> > //*
> >
> > //*
> >
> > //DFSOLP00 DD DSN=IMS1.V120.,DISP=SHR
> >
> > //DFSOLP01 DD DSN=IMS1.V120.,DISP=SHR
> >
> > //DFSOLP99 DD DSN=IMS1.V120.,DISP=SHR
> >
> > //*
> >
> > //DFSWADS0 DD DSN=IMS1.V120.,DISP=SHR
> >
> > //DFSWADS1 DD DSN=IMS1.V120.,DISP=SHR
> >
> > //*
> >
> > //IMSACBA  DD DSN=IMS1.V120.ACBLIBA,DISP=SHR
> >
> > //*DD DSN=DBCR.V120.ACBLIB.FAID,DISP=SHR
> >
> > //IMSACBB  DD DSN=IMS1.V120.ACBLIBB,DISP=SHR
> >
> > //*DD DSN=DBCR.V120.ACBLIB.FAID,DISP=SHR
> >
> > //MODBLKSA DD DSN=IMS1.V120.,DISP=SHR
> >
> > //MODBLKSB DD DSN=IMS1.V120.,DISP=SHR
> >
> > //MODSTAT  DD DSN=IMS1.V120.,DISP=SHR
> >
> > // SYSTEM REQUIRED DD CARDS **
> >
> > //*
> >
> > //SYSUDUMP DD SYSOUT=,
> >
> > // DCB=(LRECL=125,RECFM=FBA,BLKSIZE=3129),
> >
> > // SPACE=(6050,300,,,ROUND)
> >
> > //IMSRDS   DD DSN=IMS1.V120.,DISP=SHR
> >
> > //MATRIXA  DD DSN=IMS1.V120.,DISP=SHR
> >
> > //MATRIXB  DD DSN=IMS1.V120.,DISP=SHR
> >
> > //PRINTDD  DD SYSOUT=
> >
> > //*
> >
> > //IMSMON   DD DSN=IMS1.V120.IMSMON,DISP=SHR
> >
> >
> > //** EXTERNAL SUBSYSTEM DD CARDS  ***
> >
> > //*
> >
> > //* USER MAY OPTIONALLY ADD THE DFSESL DD CARD
> >
> > //* FOR EXTERNAL SUBSYSTEM CONNECTION.
> >
> > //*
> >
> > //DFSESL   DD DSN=IMS1.V120.,DISP=SHR
> >
> > // DATA BASE DD CARDS ***
> >
> >  Bottom of Data
> > 
> >
> >
> >
> > And in DA, I see this
> >
> >
> >
> > COMMAND INPUT ===>
> >
> > PREFIX=IMS12IMS  DEST=(ALL)  OWNER=*  SYSNAME=
> >
> > NP   DDNAME   StepName ProcStep DSID OwnerC Dest
> >
> >  JESMSGLG JES2 2STCBRCR  Z
> >
> >  JESJCL   JES2 3 STCBRCR  Z
> >
> >  JESYSMSG JES2 4STCBRCR  Z
> >
> >  JESMSGLG JES2   104STCBRCR  Z
> >
> >  JESYSMSG JES2   105STCBRCR  Z
> >
> >
> >
> > So, I don’t have any other SYSOUT withSYSOUT=*   or SYSOUT=A as you can
> > see
> > in the above mentioned proc.
> >
> >
> >
> > So, can you please suggest, what are all change I need to make for spin
> to
> > work .
> >
> > I think, I will also have to addFREE=CLOSE,SPIN=UNALLOC in this IMS proc
> DD,
> > So that spin function can work. Because, currently when I run spin
> command
> > like below,
> >
> > $T JQ(IMS12RC3),SPIN,DDNAME=JCLOUT
> >

Re: AW: Re: job output into dataset

2017-05-08 Thread venkat kulkarni
Hello All,



Thanks for reply. I looked at my IMS proc and looks like below.



BROWSESYS1.DEVL.PROCLIB(IMS12IMS) - 01.05Line  Col 001
080

 Command ===>  Scroll ===>
CSR

* Top of Data **


//   PROC RGN=0M,SOUT=A,

//SYS=,SYS2=,

//RGSUF=DBC,PARM1='AUTO=N',

//PARM2=

//IEFPROC EXEC PGM=DFSMVRC0,REGION=,

//PARM='DBC,,,'

//*

//STEPLIB  DD DSN=IMS1.V120.,DISP=SHR

//PROCLIB  DD DSN=IMS1.V120.,DISP=SHR

//*

//IMSIRD   DD SYSOUT=(A,INTRDR)

//*

//*

//DFSOLP00 DD DSN=IMS1.V120.,DISP=SHR

//DFSOLP01 DD DSN=IMS1.V120.,DISP=SHR

//DFSOLP99 DD DSN=IMS1.V120.,DISP=SHR

//*

//DFSWADS0 DD DSN=IMS1.V120.,DISP=SHR

//DFSWADS1 DD DSN=IMS1.V120.,DISP=SHR

//*

//IMSACBA  DD DSN=IMS1.V120.ACBLIBA,DISP=SHR

//*DD DSN=DBCR.V120.ACBLIB.FAID,DISP=SHR

//IMSACBB  DD DSN=IMS1.V120.ACBLIBB,DISP=SHR

//*DD DSN=DBCR.V120.ACBLIB.FAID,DISP=SHR

//MODBLKSA DD DSN=IMS1.V120.,DISP=SHR

//MODBLKSB DD DSN=IMS1.V120.,DISP=SHR

//MODSTAT  DD DSN=IMS1.V120.,DISP=SHR

// SYSTEM REQUIRED DD CARDS **

//*

//SYSUDUMP DD SYSOUT=,

// DCB=(LRECL=125,RECFM=FBA,BLKSIZE=3129),

// SPACE=(6050,300,,,ROUND)

//IMSRDS   DD DSN=IMS1.V120.,DISP=SHR

//MATRIXA  DD DSN=IMS1.V120.,DISP=SHR

//MATRIXB  DD DSN=IMS1.V120.,DISP=SHR

//PRINTDD  DD SYSOUT=

//*

//IMSMON   DD DSN=IMS1.V120.IMSMON,DISP=SHR


//** EXTERNAL SUBSYSTEM DD CARDS  ***

//*

//* USER MAY OPTIONALLY ADD THE DFSESL DD CARD

//* FOR EXTERNAL SUBSYSTEM CONNECTION.

//*

//DFSESL   DD DSN=IMS1.V120.,DISP=SHR

// DATA BASE DD CARDS ***

 Bottom of Data




And in DA, I see this



COMMAND INPUT ===>

PREFIX=IMS12IMS  DEST=(ALL)  OWNER=*  SYSNAME=

NP   DDNAME   StepName ProcStep DSID OwnerC Dest

 JESMSGLG JES2 2STCBRCR  Z

 JESJCL   JES2 3 STCBRCR  Z

 JESYSMSG JES2 4STCBRCR  Z

 JESMSGLG JES2   104STCBRCR  Z

 JESYSMSG JES2   105STCBRCR  Z



So, I don’t have any other SYSOUT withSYSOUT=*   or SYSOUT=A as you can see
in the above mentioned proc.



So, can you please suggest, what are all change I need to make for spin to
work .

I think, I will also have to addFREE=CLOSE,SPIN=UNALLOC in this IMS proc
DD, So that spin function can work. Because, currently when I run spin
command like below,

$T JQ(IMS12RC3),SPIN,DDNAME=JCLOUT



I just get output as below.



and output from this command is

RESPONSE=TST4

$HASP890 JOB(IMS12RC3)

 $HASP890 JOB(IMS12RC3)  STATUS=(EXECUTING/TST4),CLASS=STC,

 $HASP890PRIORITY=15,SYSAFF=(TST4),HOLD=(NONE)



But this doesn’t show that spin successfully completed or not.



I tried to provide you as much as detail this time. Can you please suggest,
how spin will work looking at my current proc



On 08-May-2017 6:14 PM, "Barkow, Eileen" <ebar...@doitt.nyc.gov> wrote:

> As I explained to Vekat, he can use the  SDSF/REXX clist I  gave him to
> extract and archive the SYSOUT queue to a dataset as allocated in the clist.
> Then the clist can issue a command like:
>
> $TSTC04306,SPIN,DDNAME=DDNTOSPIN
> To drain the queue.
>
> The clist has the started task number to use for the $Tstcno,SPIN  command.
> Code can also be added to extract the number of existing lines in the
> DDNAME to determine whether or not to spin it.
> Any DDNAME can be specified.
>
>
> -Original Message-
> From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
> Behalf Of venkat kulkarni
> Sent: Monday, May 08, 2017 3:34 AM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: AW: Re: job output into dataset
>
> Just to add one more thing . Under ims12rc3 address space , below are dd
> name available.
>
> COMMAND INPUT ===>
>
> PREFIX=*  DEST=(ALL)  OWNER=*
>
> NP   DDNAME   StepName ProcSte
>
>  JESMSGLG JES2
>
>  JESJCL   JES2
>
>  JESYSMSG JES2
>
>  JESMSGLG JES2
>
>  JESYSMSG JES2
>
> On 08-May-2017 10:25 AM, "venkat kulkarni" <venkatkulkarn...@gmail.com>
> wrote:
>
> >
> > Thanks for all suggestion and sorry for not being more precise. Our
> > requirement is
> >
> >
> >
> > 1) Any address space (STC) running continously and  producing more number
> > of linee, we would like to cut lines on regulalr basis and put it in
> > seperate dataset and keep appending data
> >
> > on regulalr basis.
> >
> >
> >
> > 2) But I am not aware of this process of doing this task. But after all
> > our discussion, I did as below.
> >

Re: AW: Re: job output into dataset

2017-05-08 Thread venkat kulkarni
Just to add one more thing . Under ims12rc3 address space , below are dd
name available.

COMMAND INPUT ===>

PREFIX=*  DEST=(ALL)  OWNER=*

NP   DDNAME   StepName ProcSte

 JESMSGLG JES2

 JESJCL   JES2

 JESYSMSG JES2

 JESMSGLG JES2

 JESYSMSG JES2

On 08-May-2017 10:25 AM, "venkat kulkarni" <venkatkulkarn...@gmail.com>
wrote:

>
> Thanks for all suggestion and sorry for not being more precise. Our
> requirement is
>
>
>
> 1) Any address space (STC) running continously and  producing more number
> of linee, we would like to cut lines on regulalr basis and put it in
> seperate dataset and keep appending data
>
> on regulalr basis.
>
>
>
> 2) But I am not aware of this process of doing this task. But after all
> our discussion, I did as below.
>
>
>
> I looked at IMS12RC3 proc in proclib library and noticed one of SYSOUT DD
> statement as below
>
>
>
> //JCLOUT   DD SYSOUT=(A,INTRDR)
>
>
>
> Job IMS12RC3 is,
>
>
>
> BROWSESYS1.DEVL.PROCLIB(IMS12RC3) - 01.03Line 000
>
>
>
> * Top of Data 
> Show quoted text
>
> and then I used below command to spin IMS12RC3 address space  lines and
> put it in dataset.
>
>
>
> $T JQ(IMS12RC3),SPIN,DDNAME=JCLOUT
>
>
>
> and output from this command is
>
>
>
> RESPONSE=TST4
>
>  $HASP890 JOB(IMS12RC3)
>
>  $HASP890 JOB(IMS12RC3)  STATUS=(EXECUTING/TST4),CLASS=STC,
>
>  $HASP890PRIORITY=15,SYSAFF=(TST4),HOLD=(NONE)
>
>
>
>
>
>
>
> But I think my understanding is wrong somehow but not able to point out
> the issue.
>
>
>
>  I think, the flow of this process will be use SPIN command to cut lines
> from running address space to spool and then from spool, we should copy to
> dataset.
>
>
>
>  As I am new in this process, please help me with the required steps to be
> performed to achieve this.
>
> On 08-May-2017 8:51 AM, "Peter Hunkeler" <p...@gmx.ch> wrote:
>
>>
>> > Started tasks?  TSO sessions?  UNIX forked (BPXAS) address spaces?
>>
>>
>> What do you want to say by this??
>>
>>
>> --
>> Peter Hunkeler
>>
>>
>>
>> --
>> 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


Re: AW: Re: job output into dataset

2017-05-08 Thread venkat kulkarni
Thanks for all suggestion and sorry for not being more precise. Our
requirement is



1) Any address space (STC) running continously and  producing more number
of linee, we would like to cut lines on regulalr basis and put it in
seperate dataset and keep appending data

on regulalr basis.



2) But I am not aware of this process of doing this task. But after all our
discussion, I did as below.



I looked at IMS12RC3 proc in proclib library and noticed one of SYSOUT DD
statement as below



//JCLOUT   DD SYSOUT=(A,INTRDR)



Job IMS12RC3 is,



BROWSESYS1.DEVL.PROCLIB(IMS12RC3) - 01.03Line 000



* Top of Data 
Show quoted text

and then I used below command to spin IMS12RC3 address space  lines and put
it in dataset.



$T JQ(IMS12RC3),SPIN,DDNAME=JCLOUT



and output from this command is



RESPONSE=TST4

 $HASP890 JOB(IMS12RC3)

 $HASP890 JOB(IMS12RC3)  STATUS=(EXECUTING/TST4),CLASS=STC,

 $HASP890PRIORITY=15,SYSAFF=(TST4),HOLD=(NONE)







But I think my understanding is wrong somehow but not able to point out the
issue.



 I think, the flow of this process will be use SPIN command to cut lines
from running address space to spool and then from spool, we should copy to
dataset.



 As I am new in this process, please help me with the required steps to be
performed to achieve this.

On 08-May-2017 8:51 AM, "Peter Hunkeler"  wrote:

>
> > Started tasks?  TSO sessions?  UNIX forked (BPXAS) address spaces?
>
>
> What do you want to say by this??
>
>
> --
> Peter Hunkeler
>
>
>
> --
> 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


Re: job output into dataset

2017-05-07 Thread venkat kulkarni
Hello,



Thanks for helping so far. I used below command



$T JQ(IMS12RC3),SPIN,DDNAME=JCLOUT



and output from this command is



RESPONSE=TST4

 $HASP890 JOB(IMS12RC3)

 $HASP890 JOB(IMS12RC3)  STATUS=(EXECUTING/TST4),CLASS=STC,

 $HASP890PRIORITY=15,SYSAFF=(TST4),HOLD=(NONE)







Job IMS12RC3 is,



 BROWSESYS1.DEVL.PROCLIB(IMS12RC3) - 01.03Line 000

 Command ===>  Scr

* Top of Data 

//   PROC RGN=0M,SOUT=A,

//IMSID=IMS4,SYS2=

//IEFPROC EXEC PGM=DFSMVRC0,REGION=,

//PARM='DRC,'

//

//*

//STEPLIB  DD DSN=IMS4.V120.,DISP=SHR

//PROCLIB  DD DSN=IMS4.V120.,DISP=SHR

//JCLOUT   DD SYSOUT=(A,INTRDR)

//JCLPDS   DD DSN=IMS4.V120.,DISP=SHR

//SYSUDUMP DD SYSOUT=

//SYSABEND DD SYSOUT=

//*

// DBRC RECON DD CARDS ***

//*

//* USER  SUPPLY THE DD CARDS

//* REQUIRED FOR THE DBRC RECON DATA SET.

//* IF NO DD STATEMENTS ARE SUPPLIED FOR RECON

//* DATASETS, IMS ASSUMES THAT THE DATASETS

//* HAVE BEEN DESCRIBED THROUGH THE DFSMDA MACRO.

//*

//RECON1   DD DSN=IMS4.V120.RECON1,DISP=SHR

//RECON2   DD DSN=IMS4.V120.RECON2,DISP=SHR

//RECON3   DD DSN=IMS4.V120.RECON3,DISP=SHR

//*



Can you please explain, what this command actually performed. As I
mentioned, my plan was to cut messages from this job and put in one dataset
using the command you suggested.  Please correct , if I am missing anything.



On 04-May-2017 8:22 PM, "Barkow, Eileen" <ebar...@doitt.nyc.gov> wrote:

> 1. as others have mentioned, the SPIN function can be used to unalloc and
> re-alloc the sysout datasets.
>Clists can issue command: $TS ,SPIN,DDNAME=ddname after writing out
> to datasets.
>
> 2. my clist runs from a job which passes parameters as to  which jobnames
> are to be processed. Job can be automated to run at specified intervals.
>
> 3. the clist controls the allocation of the datasets - DISP=MOD  can be
> used to add on to existing datasets.
>I usually like to allocate new datasets for each run with the  region
> name and a date and timestamp in the dataset name.
>
> -Original Message-
> From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
> Behalf Of venkat kulkarni
> Sent: Thursday, May 04, 2017 8:58 AM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: job output into dataset
>
> Hello,
>
> Thanks for reply. As you mentioned that you have program which can be used
> to extract data from various jobs. There are couple points, I would like to
> make
>
>
>
> 1) Our requirement is to avoid space issue by cutting the records from
> continuously running address spaces and put in dataset.
>
> 2) This process should run once in day and whatever address space we
> specify in this process, should cut records from address space and keep
> appending into datasets we specify.
>
> 3) For every address space, we will have separate Dataset for later to
> be used or reviewed.
>
>
> On 03-May-2017 6:07 PM, "Barkow, Eileen" <ebar...@doitt.nyc.gov> wrote:
>
> > SDSF has a REXX interface which is documented in the SDSF OPERATION and
> > CUSTOMIZATION manual.
> >
> > I have a clist that extracts certain SYSOUT datasets from various  jobs
> on
> > the output queue and writes them out to datasets.
> > I  can send you the routine if that would help.
> >
> > -Original Message-
> > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
> > Behalf Of venkat kulkarni
> > Sent: Wednesday, May 03, 2017 7:14 AM
> > To: IBM-MAIN@LISTSERV.UA.EDU
> > Subject: Re: job output into dataset
> >
> > Thanks for all suggestion. Currently, we don’t have any third party
> product
> > for doing this task. So,  my idea is to create rexx program, which keep
> > checking ( once in day) particular address spaces like IMS, CICS, or any
> > other which are continuously running in system and find that if the lines
> > are exceed in the job with the limit we set in rexx program then this
> > program should cut those messages from that address space and save it in
> > one separate dataset
> >
> > we specified in rexx program and next time when this program find more
> > message in the address space, it should again cut messages from address
> > space and append in the dataset we used earlier.
> >
> >
> >
> > So, for difference address space( CICS, IMS, DB2 etc) , I would like to
> use
> > different dataset and keep appending messages on regular interval .
> >
> >
> >
> > As I am not expert in rexx,

Re: job output into dataset

2017-05-04 Thread venkat kulkarni
Hello,

Thanks for reply. As you mentioned that you have program which can be used
to extract data from various jobs. There are couple points, I would like to
make



1) Our requirement is to avoid space issue by cutting the records from
continuously running address spaces and put in dataset.

2) This process should run once in day and whatever address space we
specify in this process, should cut records from address space and keep
appending into datasets we specify.

3) For every address space, we will have separate Dataset for later to
be used or reviewed.


On 03-May-2017 6:07 PM, "Barkow, Eileen" <ebar...@doitt.nyc.gov> wrote:

> SDSF has a REXX interface which is documented in the SDSF OPERATION and
> CUSTOMIZATION manual.
>
> I have a clist that extracts certain SYSOUT datasets from various  jobs on
> the output queue and writes them out to datasets.
> I  can send you the routine if that would help.
>
> -Original Message-
> From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
> Behalf Of venkat kulkarni
> Sent: Wednesday, May 03, 2017 7:14 AM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: job output into dataset
>
> Thanks for all suggestion. Currently, we don’t have any third party product
> for doing this task. So,  my idea is to create rexx program, which keep
> checking ( once in day) particular address spaces like IMS, CICS, or any
> other which are continuously running in system and find that if the lines
> are exceed in the job with the limit we set in rexx program then this
> program should cut those messages from that address space and save it in
> one separate dataset
>
> we specified in rexx program and next time when this program find more
> message in the address space, it should again cut messages from address
> space and append in the dataset we used earlier.
>
>
>
> So, for difference address space( CICS, IMS, DB2 etc) , I would like to use
> different dataset and keep appending messages on regular interval .
>
>
>
> As I am not expert in rexx, can anybody help me doing this task.
>
>
>
> Regards
>
> On 03-May-2017 12:40 AM, "Lizette Koehler" <stars...@mindspring.com<
> mailto:stars...@mindspring.com>> wrote:
>
> > So it might be possible that you are seeing data that JES2 has buffered.
> > That is why you can see all of the data on a job in the ST panel even if
> > all that is left in O or H panels is the output from an IEBGENER.
> >
> > Lizette
> >
> > -Original Message-
> > >From: "van der Grijn, Bart (B)" <bvandergr...@dow.com vandergr...@dow.com>>
> > >Sent: May 2, 2017 2:26 PM
> > >To: IBM-MAIN@LISTSERV.UA.EDU<mailto:IBM-MAIN@LISTSERV.UA.EDU>
> > >Subject: Re: job output into dataset
> > >
> > >It works pretty well except for one (minor) issue. When you do SE
> against
> > a DDNAME in SDSF it doesn't work as expected. It seem to display the
> first
> > of the outputs with the same DDNAME, independent of which one you select.
> > At least, that's what it does here (z/OS 2.1).
> > >Bart
> > >
> > >-Original Message-
> > >From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU]
> On
> > Behalf Of Phil Sidler
> > >Sent: Tuesday, May 02, 2017 4:16 PM
> > >To: IBM-MAIN@LISTSERV.UA.EDU<mailto:IBM-MAIN@LISTSERV.UA.EDU>
> > >Subject: Re: job output into dataset
> > >
> > >On Tue, 2 May 2017 12:54:35 -0700, Lizette Koehler <
> > stars...@mindspring.com<mailto:stars...@mindspring.com>> wrote:
> > >
> > >>I have this in place on several Products I support. The JES Messages
> all
> > go to our output repository.  No issues.
> > >
> > >Oh, I see it now, $HASP138 and a new DD with the same name shows up.
> > Cool.
> > >
> >
> > --
> > For IBM-MAIN subscribe / signoff / archive access instructions,
> > send email to lists...@listserv.ua.edu<mailto: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<mailto:lists...@listserv.ua.edu>
> with the message: INFO IBM-MAIN
>
>
>
>   
>
> This e-mail, including any attachments, may be confidential, privileged or
> otherwise legally protected. It is intended only for the addressee. If you
> received this e-mail in error or from someone who

Re: job output into dataset

2017-05-03 Thread venkat kulkarni
Thanks for all suggestion. Currently, we don’t have any third party product
for doing this task. So,  my idea is to create rexx program, which keep
checking ( once in day) particular address spaces like IMS, CICS, or any
other which are continuously running in system and find that if the lines
are exceed in the job with the limit we set in rexx program then this
program should cut those messages from that address space and save it in
one separate dataset

we specified in rexx program and next time when this program find more
message in the address space, it should again cut messages from address
space and append in the dataset we used earlier.



So, for difference address space( CICS, IMS, DB2 etc) , I would like to use
different dataset and keep appending messages on regular interval .



As I am not expert in rexx, can anybody help me doing this task.



Regards

On 03-May-2017 12:40 AM, "Lizette Koehler"  wrote:

> So it might be possible that you are seeing data that JES2 has buffered.
> That is why you can see all of the data on a job in the ST panel even if
> all that is left in O or H panels is the output from an IEBGENER.
>
> Lizette
>
> -Original Message-
> >From: "van der Grijn, Bart (B)" 
> >Sent: May 2, 2017 2:26 PM
> >To: IBM-MAIN@LISTSERV.UA.EDU
> >Subject: Re: job output into dataset
> >
> >It works pretty well except for one (minor) issue. When you do SE against
> a DDNAME in SDSF it doesn't work as expected. It seem to display the first
> of the outputs with the same DDNAME, independent of which one you select.
> At least, that's what it does here (z/OS 2.1).
> >Bart
> >
> >-Original Message-
> >From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
> Behalf Of Phil Sidler
> >Sent: Tuesday, May 02, 2017 4:16 PM
> >To: IBM-MAIN@LISTSERV.UA.EDU
> >Subject: Re: job output into dataset
> >
> >On Tue, 2 May 2017 12:54:35 -0700, Lizette Koehler <
> stars...@mindspring.com> wrote:
> >
> >>I have this in place on several Products I support. The JES Messages all
> go to our output repository.  No issues.
> >
> >Oh, I see it now, $HASP138 and a new DD with the same name shows up.
> Cool.
> >
>
> --
> 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


Re: job output into dataset

2017-05-02 Thread venkat kulkarni
Thanks for sharing.. actually we have is , cics etc running from last 6
month or 1 yrs without recycle and I saw 1 million record in that address
spaces and I would like to cut these record from these address space and
keep appending in dataset , so that I dont have to recycle  ims, cics etc
to reduce these record and manage them in proper manner.

On 02-May-2017 5:17 PM, "Edward Gould" <edgould1...@comcast.net> wrote:

> > On May 2, 2017, at 8:02 AM, John McKown <john.archie.mck...@gmail.com>
> wrote:
> >
> > On Tue, May 2, 2017 at 2:35 AM, venkat kulkarni <
> venkatkulkarn...@gmail.com>
> > wrote:
> >
> >> Hello,
> >>
> >> We have some address spaces running from long time and produce messages
> >> regularly. Now, my requirement is to cut those messages on regular basis
> >> and keep appending into seperate dataset.
> >>
> >> This way, we will save spool size and no need to recycle the address
> space
> >> to remove old message.
> >>
> >> Can anybody help me doing this task.
> >>
> >> Regards
> >> Venkat
> >>
> >>
> > ​As the others have said, the only facility in JES is to use the SPIN
> > parameter. JES does not have a way to write directly into a sequential
> data
> > set. Your response to this is correct in that this leaves the data in the
> > SPOOL, which is not what you want. So what you need is "something" which
> > can take the data which has been put into the SPOOL via the SPIN and copy
> > it into a data set. There are products which can do this, such as CA-JMR.
> > However most of these products don't put the data into a "plain"
> sequential
> > data set. One that we used to use is ViewDirect from ASG (was Infopac
> from
> > Mobius). What we use today is "Report to Web". This consists of software
> on
> > a PC (Windows) which acts as a "remote printer" using LPR. It slices and
> > dices the data coming in to it into reports which it store on the SAN. It
> > comes with a web server to read the report. It is rather good, IMO, but
> may
> > not be what you want.
> >
> > You might want to "mess around" with my JES2DISK program. It is written
> in
> > REXX and uses the SDSF REXX interface to read in data from the SPOOL. It
> > can store the jobs' outputs into either sequential data sets or UNIX
> files
> > (in a specified directory). You can look at / download the code here:
> > https://gist.github.com/JohnArchieMckown/b27747d0c4750a258997
> > You might also look on http://cbttape.org/cbtdowns.htm at file 688,
> 575(?)
> >
> > If you're into "do it yourself", you might want to look at a number of
> > things.
> > If you have zOSMF running, then look at its REST API:
> > https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.2.
> 0/com.ibm.zos.v2r2.izua700/IZUHPINFO_API_RESTJOBS.htm
> >
> > Or look at the JES SPOOL data set browse:
> > https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.2.
> 0/com.ibm.zos.v2r2.hasc300/spbrowse.htm
> >
> > And, a blast from the past (that I did like 20 years ago), is to use an
> > external writer which will open/close/dynamically allocate a data
> > set.
> > https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.2.
> 0/com.ibm.zos.v2r2.hasa300/xwrite.htm
> >
>
> Another option is to have a specific sysout class (not set in any printer
> and that you have msgclass=x where x is the designated shout class) and
> have an external writer with a disp=mod for a dataset you want to put it
> to. Then say once a day (or what ever you choose) have a job runs that
> deletes it and reallocates it.
> Its clumsy but it should work.
>
> Ed
>
> --
> 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


Re: job output into dataset

2017-05-02 Thread venkat kulkarni
Hello Andy,

Thanks . but after spin, where these messages will go and reside to later
review. I want to remove messages from job in timely manner and put it in
some dataset to be used further.

Please suggest.

On 02-May-2017 10:42 AM, "Styles, Andy (ITS zPlatform Services)" <
00d68f765d25-dmarc-requ...@listserv.ua.edu> wrote:

Classification: Public
If it's just the JESLOG you're interested in, take a look at the JESLOG
parameter of the JOB card:

Syntax:

JESLOG= {SPIN}
  {NOSPIN}
  {SUPPRESS}

Subparameter Definition:

SPIN
JESLOG is spin-eligible. There is an optional second operand.

JESLOG=(SPIN,hh:mm)
JESLOG will be spun at time hh:mm each 24 hour period. "hh" is
hours and has a range of 00 through 23. "mm" is minutes and has
a range of 00 through 59.

JESLOG will be spun when the next message is written to the
data set after the specified time.

JESLOG=(SPIN,+hh:mm)
JESLOG will be spun every hh:mm time interval. "hh" is hours
and has a range of 00 through 23. "mm" is minutes and has a
range of 00 through 59. The minimum interval which can be
specified is 10 minutes. Note that "hh" must be specified even
if zero. For example, JESLOG=(SPIN,0:20)

JESLOG will be spun when the next message is written to the
data set after the specified time.

JESLOG=(SPIN,nnn)
JESLOG=(SPIN,nnnK)
JESLOG=(SPIN,nnnM)
JESLOG will be spun when either data set has "n" lines. A
minimum of 500 lines must be specified. "K" is thousands and
"M" is millions.


Andy Styles
z/Series Systems Programmer

-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
Behalf Of venkat kulkarni
Sent: 02 May 2017 08:35
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: job output into dataset

-- This email has reached the Bank via an external source --


Hello,

We have some address spaces running from long time and produce messages
regularly. Now, my requirement is to cut those messages on regular basis
and keep appending into seperate dataset.

This way, we will save spool size and no need to recycle the address space
to remove old message.

Can anybody help me doing this task.

Regards
Venkat

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


Lloyds Banking Group plc. Registered Office: The Mound, Edinburgh EH1 1YZ.
Registered in Scotland no. SC95000. Telephone: 0131 225 4555. Lloyds Bank
plc. Registered Office: 25 Gresham Street, London EC2V 7HN. Registered in
England and Wales no. 2065. Telephone 0207626 1500. Bank of Scotland plc.
Registered Office: The Mound, Edinburgh EH1 1YZ. Registered in Scotland no.
SC327000. Telephone: 03457 801 801. Cheltenham & Gloucester plc. Registered
Office: Barnett Way, Gloucester GL4 3RL. Registered in England and Wales
2299428. Telephone: 0345 603 1637

Lloyds Bank plc, Bank of Scotland plc are authorised by the Prudential
Regulation Authority and regulated by the Financial Conduct Authority and
Prudential Regulation Authority.

Cheltenham & Gloucester plc is authorised and regulated by the Financial
Conduct Authority.

Halifax is a division of Bank of Scotland plc. Cheltenham & Gloucester
Savings is a division of Lloyds Bank plc.

HBOS plc. Registered Office: The Mound, Edinburgh EH1 1YZ. Registered in
Scotland no. SC218813.

This e-mail (including any attachments) is private and confidential and may
contain privileged material. If you have received this e-mail in error,
please notify the sender and delete it (including any attachments)
immediately. You must not copy, distribute, disclose or use any of the
information in it or any attachments. Telephone calls may be monitored or
recorded.


--
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


Re: SFTP issue with GDG Dataset

2017-05-02 Thread venkat kulkarni
After adding disp parameter to indd and outdd dd stmt and I was able to
copy this gdg into PS file and sorry for this silly mistake.
Thanks for all support.

On 01-May-2017 6:41 PM, "J R"  wrote:

> Yep, my first response was returned because it began with a slash.
> Listserv thought it might be a command.
>
> Sent from my iPhone
>
> > On May 1, 2017, at 11:36, Carmen Vitullo  wrote:
> >
> > Thanks, that must have been snipped from some responses -
> > Carmen
>
> --
> 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


job output into dataset

2017-05-02 Thread venkat kulkarni
Hello,

We have some address spaces running from long time and produce messages
regularly. Now, my requirement is to cut those messages on regular basis
and keep appending into seperate dataset.

This way, we will save spool size and no need to recycle the address space
to remove old message.

Can anybody help me doing this task.

Regards
Venkat

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


Re: SFTP issue with GDG Dataset

2017-05-01 Thread venkat kulkarni
Hello,

Thanks for reply. JCL mentioned in my previous email for creating GDG



//DEFGDG  JOB 1130,'TEST',

// MSGCLASS=T,NOTIFY=,REGION=4096K

//BUILD  EXEC  PGM=IDCAMS

//SYSPRINT DD  SYSOUT=*

//SYSINDD  *

   DEFINE GDG (NAME(TEST.TEST.TEMP)  -

   SCRATCH-

   NOEMPTY-

   LIM(7))

/*

//STEP1 EXEC PGM=IEFBR14

//SYSPRINT DD SYSOUT=*

//SYSUT2   DD DSN=TEST.TEST.TEMP(+1),

//  DISP=(NEW,CATLG,DELETE),DCB=(LRECL=80,RECFM=VB,BLKSIZE=800),

//   SPACE=(TRK,(2,20),RLSE),UNIT=3390

//SYSIN DD DUMMY

/*



produces below GDG dataset.



TEST.TEST.TEMP

TEST.TEST.TEMP.G0001V00



But, issue comes when I try to copy this GDG into PS file using below JCL.



//SOLTSSO JOB (1130),MSGCLASS=X,CLASS=A,NOTIFY= ,TYP

//STEP1 EXEC PGM=IDCAMS

//SYSPRINT DD SYSOUT=*

//INDD  DD DSN=TEST.TEST.TEMP(+1),UNIT=3390,

// VOL=SER=TSO020

//OUTDD DD DSN=TEST.TEST.TEMP,UNIT=3390,

// VOL=SER=TSO020

//SYSIN DD *

  REPRO -

  INFILE(INDD) -

  OUTFILE(OUTDD)

/*



Both of these above job produce same error is

IEF286I SOLTSSO STEP1 SORTIN - DISP FIELD INCOMPATIBLE WITH DSNAME

IEF272I SOLTSSO STEP1 - STEP WAS NOT EXECUTED.



Please correct me, where I am wrong in this whole process and not able to
find reason of this copy failure.




On 01-May-2017 8:05 AM, "Edward Finnell" <
000248cce9f3-dmarc-requ...@listserv.ua.edu> wrote:

JCL 101.

It's telling you the DISP parameter doesn't match what you're asking it to
do. Default is (NEW,CATLG,DELETE).


In a message dated 4/30/2017 11:47:33 P.M. Central Daylight Time,
venkatkulkarn...@gmail.com writes:

Please  correct me, where I am wrong in this whole  proess.



--
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


SFTP issue with GDG Dataset

2017-04-30 Thread venkat kulkarni
Hello Group,



I have requirement to send GDG file to unix  system using SFTP, but OPUT
command was not accepting this, So, I thought of  adding one more
additional step into Job for coping GDG dataset to PS file and then PS file
copy unix directory and then use SFTP to transfer file to other system .



Now, I used below JCL to create GDG and then copying the dataset.





//DEFGDG  JOB 7330,'TEST',

// MSGCLASS=T,NOTIFY=,REGION=4096K

//BUILD  EXEC  PGM=IDCAMS

//SYSPRINT DD  SYSOUT=*

//SYSINDD  *

   DEFINE GDG (NAME(TEST.TEST.TEMP)  -

   SCRATCH-

   NOEMPTY-

   LIM(7))

/*

//STEP1 EXEC PGM=IEFBR14

//SYSPRINT DD SYSOUT=*

//SYSUT2   DD DSN=TEST.TEST.TEMP(+1),

//  DISP=(NEW,CATLG,DELETE),DCB=(LRECL=80,RECFM=VB,BLKSIZE=800),

//   SPACE=(TRK,(2,20),RLSE),UNIT=3390

//SYSIN DD DUMMY

/*







//TESTSOL JOB (7330),MSGCLASS=X,CLASS=A,NOTIFY=

//STEP1 EXEC PGM=SORT

//SYSPRINT  DD  SYSOUT=*

//SORTINDD  DSN=TEST.TEST.TEMP(0),UNIT=3390,

//  VOL=SER=TSO020

//SORTOUT   DD DSN=TEST.TEST.TEMP.TEST,UNIT=3390,

//  VOL=SER=TSO020

//SYSIN DD   *

  SORT FIELDS=COPY



OR below JOB



//OP117SOL JOB (7330),MSGCLASS=X,CLASS=A,NOTIFY= ,TYP

//STEP1 EXEC PGM=IDCAMS

//SYSPRINT DD SYSOUT=*

//INDD  DD DSN=TEST.TEST.TEMP(+1),UNIT=3390,

// VOL=SER=TSO020

//OUTDD DD DSN=TEST.TEST.TEMP,UNIT=3390,

// VOL=SER=TSO020

//SYSIN DD *

  REPRO -

  INFILE(INDD) -

  OUTFILE(OUTDD)

/*



Both of these above job produce same error is



IEF286I OP117SOL STEP1 SORTIN - DISP FIELD INCOMPATIBLE WITH DSNAME

IEF272I OP117SOL STEP1 - STEP WAS NOT EXECUTED.



Please correct me, where I am wrong in this whole proess.


Regards
Venkat

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


Re: SFTP on z/OS

2017-02-08 Thread venkat kulkarni
MBR of a physical file

On Feb 8, 2017 8:27 PM, "Jack J. Woehr" <j...@well.com> wrote:

> venkat kulkarni wrote:
>
>> But when I try to sftp file from as400 to mainframe , data file
>> getting trauncated . T
>>
>
> What kind of a file is it? a MBR of a Physical File? a text file from the
> IFS?
>
> --
> Jack J. Woehr # Science is more than a body of knowledge. It's a way of
> www.well.com/~jax # thinking, a way of skeptically interrogating the
> universe
> www.softwoehr.com # with a fine understanding of human fallibility. -
> Carl Sagan
>
> --
> 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


Re: SFTP on z/OS

2017-02-07 Thread venkat kulkarni
Almost all issue are resolved for transferring file using sftp but now we
have got requirement to get receive file from as400 to mainframe using
sftp. But when I try to sftp file from as400 to mainframe , data file
getting trauncated . To isolate this issue I even tried checking file in
omvs before coming to dataset level but in omvs also file is truncated.
Please suggest.

Thanks for all help so far.

On Feb 8, 2017 02:44, "David Crayford"  wrote:

> On 8/02/2017 5:35 AM, Ed Jaffe wrote:
>
>> On 1/30/2017 7:29 AM, David Crayford wrote:
>>
>>> On 30/01/2017 10:57 PM, Nims,Alva John (Al) wrote:
>>>
 I take exception to David's comment, because my shop is an exception.

>>>
>>> Fair enough. But I would suggest you contact dovetail and see what kind
>>> of deal they can spin you. It may be turn out to be much cheaper then
>>> trying to cobble together your own solution!
>>>
>>
>> Deal? Co:Z is available free of charge.
>>
>>
> True, but if you want to put it into production then you will likely want
> to pay for support.
>
> --
> 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


Re: SFTP on z/OS

2017-02-04 Thread venkat kulkarni
Hello All,
Problem has been resolved. The issue with target host authorize key and
permission but all now all looks good.

But one issue, I am still facing is when I try to save RSA public key in
omvs authorized_keys file is the space . I try to enter key but after 255
character, I am not able to move my curser to rishte side to move but my
key is approx 490 character.

How do I resolve the issue.

Regards
Venkat

On Feb 1, 2017 16:52, "Kirk Wolf"  wrote:

> On Tue, Jan 31, 2017 at 9:01 PM, Paul Gilmartin <
> 000433f07816-dmarc-requ...@listserv.ua.edu> wrote:
>
> > ...
> >
> > >You can also have ssh display the "ascii art" fingerprint of public
> key(s)
> > >for visual verification:
> > >
> > Transmitted independently and securely.  Courier pouch?
> >
> > Remember that although the integrity of public keys needs to be guarded,
> their privacy does not.
> So it is common to use other secure communications, like publishing the
> public key on a https: web page.
> See Github and Amazon web services for some examples.
>
> --
> 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


Re: SFTP on z/OS

2017-01-29 Thread venkat kulkarni
Thanks for reply. Basucally i feel the issue is known host file. Can
anybody explain me how can we generate keys for known host file to
establish the connection .

The only way I know is using sftp login interactively using omvs. But is
there any other method to do this .

On Jan 30, 2017 06:18, "Paul Gilmartin" <
000433f07816-dmarc-requ...@listserv.ua.edu> wrote:

> On Sun, 29 Jan 2017 15:20:59 -0600, Kirk Wolf wrote:
> >
> >And see that "mput" is not a valid sftp subcommand.
> >
> There's some motivation here for testing your process interactively
> before you try to batch it.
>
> And I've had considerable success with such as:
>
> ( cd /u/stcsys' & pax -w . ) |
> ssh ftprpt@10.22.22.220 "cd /home/ftp4rpt/ & pax -rv"
>
> z/OS pax has useful facilities for code page conversion ("ascii")
> and for renaming members with sed-like patterns.
>
> -- gil
>
> --
> 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


SFTP on z/OS

2017-01-29 Thread venkat kulkarni
Hello Group,



We tested SFTP on our test z/OS system to Test AIX box and we are able to
transfer data between these host. But now, I am trying in production system
with below detail.



1) Our aim is to convert all our FTP jobs into SFTP.

2) We are using $universe as scheduler for submitting these FTP jobs on
time to time.

3) We using user called "STCSYS" all these jobs.

4) But in FTP jobs, for every other host ( Ex AIX1, AIX2,AIX3 etc) we are
using different user id password to login to target host and then start FTP
process.

5) But in SFTP, it create TSO env using IKJEFT01 program and then run SFTP
commands to transfer files between systems.



Example of SFTP Job, we using





//SFTPSFT JOB (7330),MSGCLASS=X,MSGLEVEL=(1,1),CLASS=P,

//  NOTIFY=

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

//SYSEXEC  DD   DISP=SHR,DSN=SYS1.SBPXEXEC

//SYSTSIN   DD DSN=SFTPSFT.TEST.JCL(FTPTST1),DISP=SHR

//OUTPUT DD SYSOUT=*

//SYSTSPRT DD SYSOUT=*

/*



EDIT   SFTPSFT.TEST.JCL(FTPTST1) - 01.02

Command ===>

** * Top of Data 

000800 OPUT 'SFTPSFT.SFTP.TEST(SFTP1)'  '/u/SFTPSFT/vp12'

000900 OSHELL { echo 'lcd /u/stcsys' ; +

001000  echo 'ascii'; +

001100  echo 'cd /home/ftp4rpt/';  +

001200  echo 'mput test.txt'; } | +

001300sftp -v ftprpt@10.22.22.220

001400 /*





So, now I have stcsys user id created on mainframe with all



# cd .ssh

# ls -al

total 96

drwx--   2 MEAS OMVSGRP 8192 Jan 24 08:23 .

drwxr-xr-x   3 MEAS OMVSGRP 8192 Jan 24 08:22 ..

-rw---   1 MEAS OMVSGRP  791 Jan 24 08:36 authorized_keys

-rw---   1 MEAS OMVSGRP 1675 Jan 24 08:23 id_rsa

-rw-r--r--   1 MEAS OMVSGRP  396 Jan 24 08:25 id_rsa.pub

-rw-r--r--   1 MEAS OMVSGRP  697 Jan 29 10:26 known_hosts

# pwd

/u/stcsys/.ssh




and in AIX1 side, I have ftprpt user defined and



$ cd /home/ftprpt /.ssh

$ ls -al

total 48

drwx--2 ftprpt staff   256 Jan 13 15:37 .

drwxr-xr-x3 ftprpt staff  4096 Jan 15 12:15 ..

-rw-r--r--1 ftprptstaff   791 Jan 15 12:12 authorized_keys

-rw-r--r--1 ftprpt staff   395 Jan 13 15:37
authorized_keys.old

-rw---1 ftprpt staff  1675 Dec 11 14:25 id_rsa

-rw-r--r--1 ftprpt staff   394 Dec 11 14:25 id_rsa.pub

-rw-r--r--1 ftprpt staff   352 Jan 15 10:31 known_hosts

$







and we exchanged rsa.pub key in authorized_keys file and exchanged ECDSA.pub
key in  known_hosts file but while running Job, I am getting below issue.



OpenSSH_6.4, OpenSSL 1.0.1c 10 May 2012


debug1: Reading configuration data /etc/ssh/ssh_config


debug1: Reading configuration data /etc/ssh/zos_ssh_config


debug1: zsshSmfSetConnSmfStatus: SMF status is 0


debug1: Connecting to 10.22.22.220 Ý10.22.22.220¨ port 22.


debug1: Connection established.


debug1: cipher_init: none from source OpenSSL


debug1: cipher_init: none from source OpenSSL


debug1: permanently_set_uid: 0/1000


debug1: identity file /u/stcsys/.ssh/id_rsa type 1


debug1: identity file /u/stcsys/.ssh/id_rsa-cert type -1


debug1: Enabling compatibility mode for protocol 2.0


debug1: Local version string SSH-2.0-OpenSSH_6.4


debug1: Remote protocol version 2.0, remote software version OpenSSH_6.0


debug1: match: OpenSSH_6.0 pat OpenSSH*


FOTS1061 key_read: uudecode E2VjZHNhLXNoYTItbmlzdHAyNTYIbm
lzdHAyNTYAAAB

 failed


debug1: SSH2_MSG_KEXINIT sent


debug1: SSH2_MSG_KEXINIT received


debug1: mac_setup_by_alg: hmac-sha1 from source OpenSSL


debug1: kex: server->client aes128-ctr hmac-sha1 none


debug1: mac_setup_by_alg: hmac-sha1 from source OpenSSL


debug1: kex: client->server aes128-ctr hmac-sha1 none


debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<2048<8192) sent


debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP


debug1: SSH2_MSG_KEX_DH_GEX_INIT sent


debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY


debug1: Server host key: RSA ce:14:d1:2f:b2:d1:7c:83:12:9a:16:1e:31:9d:b6:b7


FOTS1061 key_read: uudecode E2VjZHNhLXNoYTItbmlzdHAyNTYIbm
lzdHAyNTYAAAB

 failed


debug1: read_passphrase: can't open /dev/tty: EDC5128I No such device.
(errno2=0

FOTS1370 Host key verification failed.


debug1: zsshSmfSetConnSmfStatus: SMF status is 0


FOTS0841 Connection closed





Can you please help, if I am not following correct way on this new setup or
I should be using same userid on both mainframe and aix side for exchanging
keys with password less.



Thanks in advance.



Thanks & Regards

Venkat

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


Mainframe printer connectivity

2017-01-18 Thread venkat kulkarni
Hello Group,

Currently we are using mainframe printer with bus and tag connectivity with
Xerox printer via prism hardware, which help us to convert fcion to bus and
tag.

But now, we would like to use tcpip connectivity for mainframe connectivity
with Xerox printer.

Can you please guide that how this new connectivity can be establish and do
we need to buy any additional piece of hardware or software . I was reading
about info print but didn't get much detail .

Please suggest.

Regards
Venkat

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


Backup and restore process

2017-01-04 Thread venkat kulkarni
Hello Group,



We are using IBM 3590 two tape drive with our z/OS systems. Currently we
don't have any third party backup software for backup and restoration.

Now, we are in the middle of standardize the backup and restoration
process. We have daily backup Jobs, running into single tape volume, So by
following this, in one year we are consuming 365 tape volume and then we
reinitialize the first volume again.

But to test the restoration, we don’t have any process or tool to do. For
example,

We mount every tape and then try running restoration Job and read data from
that to make sure restoration process works.



Do we have any free tool/utility to setup this whole process in much better
way.



Please suggest.

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


Re: Xdc output print

2016-12-30 Thread venkat kulkarni
Hello All,

Sorry for delay. I think the issue was, somebody defined PDS with record
length of only 80 and and then when we were doing XDC and trying to put
report into PDS member even by specifying bigger record length but its
report was not able to fit because PDS was only defined with 80 length.

So, now i created PDS with VBA and bigger record length and all worked..
Thanks for all help.

On Fri, Dec 30, 2016 at 3:18 AM, Doug  wrote:

> Have you tried FBA or VBA ?
> Late to the party but typically LRECL plus 1 gets the job done for us.
> Regards, Doug
>
> .
>
> On Dec 29, 2016, at 15:29, Sri h Kolusu  wrote:
>
> >> If I specify VB, it allows one character (for carriage control?)
> regardless,
> > thereby possibly truncating the last character of data.
>
> Paul,
>
> Just so you know you can issue the SE command to edit your spool and then
> you can remove the first byte by shifting to the left ((1 and then C
> followed by CREATE  command to copy the contents without the carriage
> control characters
>
> Thanks,
> Kolusu
>
> IBM Mainframe Discussion List  wrote on
> 12/29/2016 01:01:11 PM:
>
> > From: Paul Gilmartin <000433f07816-dmarc-requ...@listserv.ua.edu>
> > To: IBM-MAIN@LISTSERV.UA.EDU
> > Date: 12/29/2016 01:02 PM
> > Subject: Re: Xdc output print
> > Sent by: IBM Mainframe Discussion List 
> >
> >> On 2016-12-29, at 12:12, Gibney, Dave wrote:
> >>
> >> Stop specifying blksize. For that matter, don't specify LRECL or
> > RECFM either, SDSF knows from JES.
> >> XDC to a new SEQUENTIAL file.
> >>
> > Errr... If I omit SPACE, RECFM, or LRECL, SDSF complains about Invalid
> Value.
> > If I specify VB, it allows one character (for carriage control?)
> regardless,
> > thereby possibly truncating the last character of data.
> >
> > SDB will handle BLKSIZE.
> >
> > -- gil
> >
> > --
> > 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


Re: Xdc output print

2016-12-29 Thread venkat kulkarni
Yes, I tried with VB as record format snd then to 1024 as lrecl and 1024 in
block size and I tried fb with 240 lrecl and blksize with 3120 but still
same issue

On Dec 29, 2016 17:49, "Jousma, David" <david.jou...@53.com> wrote:

> On the XDC panel at the bottom is the DCB info for allocating.  Including
> LRECL.   Just make it bigger!
>
> _
> Dave Jousma
> Manager Mainframe Engineering, Assistant Vice President
> david.jou...@53.com
> 1830 East Paris, Grand Rapids, MI  49546 MD RSCB2H
> p 616.653.8429
> f 616.653.2717
>
> -Original Message-
> From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
> Behalf Of venkat kulkarni
> Sent: Thursday, December 29, 2016 9:47 AM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Xdc output print
>
> Hello Group,
>
> We have big lengthy report in sdsf and I was trying xdc to save report
> into PDs member.but the data from right side in truncated. I am unable to
> fix this issue. Do we have any restriction on using record length size in
> PDs or any parameter which can help me resolving this issue.
>
> Regards
> Venkat
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions, send email
> to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>
> This e-mail transmission contains information that is confidential and may
> be privileged.   It is intended only for the addressee(s) named above. If
> you receive this e-mail in error, please do not read, copy or disseminate
> it in any manner. If you are not the intended recipient, any disclosure,
> copying, distribution or use of the contents of this information is
> prohibited. Please reply to the message immediately by informing the sender
> that the message was misdirected. After replying, please erase it from your
> computer system. Your assistance in correcting this error is appreciated.
>
>
> --
> 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


Xdc output print

2016-12-29 Thread venkat kulkarni
Hello Group,

We have big lengthy report in sdsf and I was trying xdc to save report into
PDs member.but the data from right side in truncated. I am unable to fix
this issue. Do we have any restriction on using record length size in PDs
or any parameter which can help me resolving this issue.

Regards
Venkat

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


Re: Print issue

2016-12-29 Thread venkat kulkarni
Hello,

I am using command prompt of window to connect FTP to mainframe to download
report.

Initially from sdsf I did xdc and put report in PS dataset and now transfer
this PS dataset to windows using FTP command prompt of window.

Can you please help me this specific command to be used to get report in
proper format from mainframe to windows to print

On Dec 29, 2016 11:08, "גדי בן אבי" <gad...@malam.com> wrote:

> How are you transferring the file?
> Are you using a pc based ftp client? Are you using the z/OS based client
> (using TSO or a job)?
> Make sure your file is defined as FBA or VBA.
>
>
>
> -Original Message-
> From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
> Behalf Of venkat kulkarni
> Sent: Thursday, December 29, 2016 9:44 AM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: Print issue
>
> Thanks for reply .  Can you please help me doing this as it's new to me .
>
> Thanks alot
>
> On Dec 29, 2016 10:39, "גדי בן אבי" <gad...@malam.com> wrote:
>
> > You have to translate the mainframe page control characters (the ones
> > in column 1) to something a pc printer will understand.
> > There is an option in the z/OS ftp server to do this Use the command
> > Quote site asatrans Before you transfer the file.
> >
> >
> >
> > -Original Message-
> > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
> > Behalf Of venkat kulkarni
> > Sent: Thursday, December 29, 2016 9:33 AM
> > To: IBM-MAIN@LISTSERV.UA.EDU
> > Subject: Print issue
> >
> > Hello Group,
> >
> >
> >
> > We are generating some report using Mainframe jobs and send to printer
> for
> > print. But printer which is attached to mainframe is not working becuase
> of
> > hardware issue and we trying to fix but
> >
> > at the same time we need to print those business report.
> >
> >
> >
> > I tried to xdc those report from sdsf and then ftp dataset to desktop to
> > take print in asci format. But while taking print, report doesnt come in
> > proper format and page breaks etc.
> >
> >
> >
> > Do we have any work around to solve this problem till we get printer
> > repaired.
> >
> >
> >
> >
> >
> > Regards
> >
> > --
> > For IBM-MAIN subscribe / signoff / archive access instructions, send
> email
> > to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
> > לתשומת ליבך, בהתאם לנהלי חברת מלם מערכות בע"מ ו/או כל חברת בת ו/או חברה
> > קשורה שלה (להלן : "החברה") וזכויות החתימה בהן, כל הצעה, התחייבות או מצג
> > מטעם החברה, מחייבים מסמך נפרד וחתום על ידי מורשי החתימה של החברה, הנושא
> את
> > לוגו החברה או שמה המודפס ובצירוף חותמת החברה. בהעדר מסמך כאמור (לרבות
> מסמך
> > סרוק) המצורף להודעת דואר אלקטרוני זאת, אין לראות באמור בהודעה אלא משום
> > טיוטה לדיון, ואין להסתמך עליה לביצוע פעולה עסקית או משפטית כלשהי. Please
> > note that in accordance with Malam and/or its subsidiaries (hereinafter :
> > "Malam") regulations and signatory rights, no offer, agreement,
> concession
> > or representation is binding on the Malam, unless accompanied by a duly
> > signed separate document (or a scanned version thereof), affixed with the
> > Malam seal.
> >
> > --
> > 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
> לתשומת ליבך, בהתאם לנהלי חברת מלם מערכות בע"מ ו/או כל חברת בת ו/או חברה
> קשורה שלה (להלן : "החברה") וזכויות החתימה בהן, כל הצעה, התחייבות או מצג
> מטעם החברה, מחייבים מסמך נפרד וחתום על ידי מורשי החתימה של החברה, הנושא את
> לוגו החברה או שמה המודפס ובצירוף חותמת החברה. בהעדר מסמך כאמור (לרבות מסמך
> סרוק) המצורף להודעת דואר אלקטרוני זאת, אין לראות באמור בהודעה אלא משום
> טיוטה לדיון, ואין להסתמך עליה לביצוע פעולה עסקית או משפטית כלשהי. Please
> note that in accordance with Malam and/or its subsidiaries (hereinafter :
> "Malam") regulations and signatory rights, no offer, agreement, concession
> or representation is binding on the Malam, unless accompanied by a duly
> signed separate document (or a scanned version thereof), affixed with the
> Malam seal.
>
> --
> 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


Re: Print issue

2016-12-28 Thread venkat kulkarni
Thanks for reply .  Can you please help me doing this as it's new to me .

Thanks alot

On Dec 29, 2016 10:39, "גדי בן אבי" <gad...@malam.com> wrote:

> You have to translate the mainframe page control characters (the ones in
> column 1) to something a pc printer will understand.
> There is an option in the z/OS ftp server to do this
> Use the command
> Quote site asatrans
> Before you transfer the file.
>
>
>
> -Original Message-
> From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
> Behalf Of venkat kulkarni
> Sent: Thursday, December 29, 2016 9:33 AM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Print issue
>
> Hello Group,
>
>
>
> We are generating some report using Mainframe jobs and send to printer for
> print. But printer which is attached to mainframe is not working becuase of
> hardware issue and we trying to fix but
>
> at the same time we need to print those business report.
>
>
>
> I tried to xdc those report from sdsf and then ftp dataset to desktop to
> take print in asci format. But while taking print, report doesnt come in
> proper format and page breaks etc.
>
>
>
> Do we have any work around to solve this problem till we get printer
> repaired.
>
>
>
>
>
> Regards
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions, send email
> to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
> לתשומת ליבך, בהתאם לנהלי חברת מלם מערכות בע"מ ו/או כל חברת בת ו/או חברה
> קשורה שלה (להלן : "החברה") וזכויות החתימה בהן, כל הצעה, התחייבות או מצג
> מטעם החברה, מחייבים מסמך נפרד וחתום על ידי מורשי החתימה של החברה, הנושא את
> לוגו החברה או שמה המודפס ובצירוף חותמת החברה. בהעדר מסמך כאמור (לרבות מסמך
> סרוק) המצורף להודעת דואר אלקטרוני זאת, אין לראות באמור בהודעה אלא משום
> טיוטה לדיון, ואין להסתמך עליה לביצוע פעולה עסקית או משפטית כלשהי. Please
> note that in accordance with Malam and/or its subsidiaries (hereinafter :
> "Malam") regulations and signatory rights, no offer, agreement, concession
> or representation is binding on the Malam, unless accompanied by a duly
> signed separate document (or a scanned version thereof), affixed with the
> Malam seal.
>
> --
> 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


Print issue

2016-12-28 Thread venkat kulkarni
Hello Group,



We are generating some report using Mainframe jobs and send to printer for
print. But printer which is attached to mainframe is not working becuase of
hardware issue and we trying to fix but

at the same time we need to print those business report.



I tried to xdc those report from sdsf and then ftp dataset to desktop to
take print in asci format. But while taking print, report doesnt come in
proper format and page breaks etc.



Do we have any work around to solve this problem till we get printer
repaired.





Regards

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


Zfs root filesystem

2016-12-21 Thread venkat kulkarni
Hello,
Is there any way to compare two root zfs file system and to check if they
are identical or if any difference then what are those.

Regards

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


Re: Catalog

2016-12-21 Thread venkat kulkarni
Thanks alot for all help..

On Dec 21, 2016 14:22, "R.S." <r.skoru...@bremultibank.com.pl> wrote:

W dniu 2016-12-21 o 05:45, venkat kulkarni pisze:

Hello Group,
>
> Is there any way to get list of user catalog connected to any particular
> master catalog
>
 LISTCAT CAT(CATALOG.MASTER.LLQ)
look for "USERCATALOG" entries.

Hint: you should have naming convention for catalogs.
So, simple PDF p.3.4 with CATALOG as HLQ should give you the same
information.

-- 
Radoslaw Skorupka
Lodz, Poland






---
Treść tej wiadomości może zawierać informacje prawnie chronione Banku
przeznaczone wyłącznie do użytku służbowego adresata. Odbiorcą może być
jedynie jej adresat z wyłączeniem dostępu osób trzecich. Jeżeli nie jesteś
adresatem niniejszej wiadomości lub pracownikiem upoważnionym do jej
przekazania adresatowi, informujemy, że jej rozpowszechnianie, kopiowanie,
rozprowadzanie lub inne działanie o podobnym charakterze jest prawnie
zabronione i może być karalne. Jeżeli otrzymałeś tę wiadomość omyłkowo,
prosimy niezwłocznie zawiadomić nadawcę wysyłając odpowiedź oraz trwale
usunąć tę wiadomość włączając w to wszelkie jej kopie wydrukowane lub
zapisane na dysku.

This e-mail may contain legally privileged information of the Bank and is
intended solely for business use of the addressee. This e-mail may only be
received by the addressee and may not be disclosed to any third parties. If
you are not the intended addressee of this e-mail or the employee
authorized to forward it to the addressee, be advised that any
dissemination, copying, distribution or any other similar activity is
legally prohibited and may be punishable. If you received this e-mail by
mistake please advise the sender immediately by using the reply facility in
your e-mail software and delete permanently this e-mail including any
copies of it either printed or saved to hard drive.

mBank S.A. z siedzibą w Warszawie, ul. Senatorska 18, 00-950 Warszawa,
www.mBank.pl, e-mail: kont...@mbank.pl
Sąd Rejonowy dla m. st. Warszawy XII Wydział Gospodarczy Krajowego Rejestru
Sądowego, nr rejestru przedsiębiorców KRS 025237, NIP: 526-021-50-88.
Według stanu na dzień 01.01.2016 r. kapitał zakładowy mBanku S.A. (w
całości wpłacony) wynosi 168.955.696 złotych.



--
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


Catalog

2016-12-20 Thread venkat kulkarni
Hello Group,

Is there any way to get list of user catalog connected to any particular
master catalog

On Dec 21, 2016 00:13, "SrinivasG"  wrote:

Hi ,

We are looking for Performance experts with experience in SAS , SAS/MXG ,
MICS , Omegamon as well as
performance expertise in z/OS , DB2 and CICS for Northeast USA.
If interested please share your resume with me at sriniv...@infosys.com.
Please feel free to share with anyone who may be looking for job change.

EOE/Minority/Female/Veteran/Disabled/Sexual Orientation/Gender Identity

Regards,
Srinivas G

--
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


Re: TSO Setup on SSH

2016-12-11 Thread venkat kulkarni
Hello,

I do agree that we should be using password less, but as suggested earlier
that apart from public key, we can also use password verify way to
authentication. So, I want to try this to complete this activity .

Currently I am using below JCL,



//SFTP001 JOB ACCT,NAME,CLASS=A,MSGCLASS=A,NOTIFY=

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

//SYSTSPRT DD   SYSOUT=*

//SYSEXEC  DD   DISP=SHR,DSN=SYS1.SBPXEXEC

//SYSTSIN  DD   *

OPUT 'IBM08.TEST.DATA' '/u/ibm08/test'

OSHELL { echo 'qwe.123'; +

 echo 'cd /tmp'; +

 echo 'ascii'; +

 echo 'cd /home/ibm08'; +

 echo 'mput * '; } | +

   sftp -v ibm08@10.221.129.10



/*

>From below Job log, we can see that sftp trying to authenticate using
password but somehow its not working. I feel, some syntax issue. Can
anybody help me to isolate this last one.



debug1: Authentications that can continue:
publickey,password,keyboard-interacti

debug1: Next authentication method:
publickey

debug1: Offering RSA public key:
/u/ibm08/.ssh/id_rsa

debug1: Authentications that can continue:
publickey,password,keyboard-interacti

debug1: Next authentication method:
keyboard-interactive

debug1: Authentications that can continue:
publickey,password,keyboard-interacti

debug1: Next authentication method:
password

debug1: read_passphrase: can't open /dev/tty: EDC5128I No such device.
(errno2=0

debug1: Authentications that can continue:
publickey,password,keyboard-interacti

FOTS1346 Permission denied, please try
again.

debug1: read_passphrase: can't open /dev/tty: EDC5128I No such device.
(errno2=0

debug1: Authentications that can continue:
publickey,password,keyboard-interacti

FOTS1346 Permission denied, please try
again.

debug1: read_passphrase: can't open /dev/tty: EDC5128I No such device.
(errno2=0

debug1: Authentications that can continue:
publickey,password,keyboard-interacti

debug1: No more authentication methods to
try.

FOTS1373 Permission denied
(publickey,password,keyboard-interactive).

debug1: zsshSmfSetConnSmfStatus: SMF status is
0

FOTS0841 Connection closed

On Dec 12, 2016 10:14, "Jack J. Woehr" <j...@well.com> wrote:

> venkat kulkarni wrote:
>
>> All worked well. So, we are currently using password less method for
>> authentication. But, incase if we want to use password method to
>> authenticate to the system then what are all change we need to make.
>>
> "The fourth usage format (( sftp -b batchfile [user@]host )) allows for
> automated sessions using the -b option. In
> such cases, you might have to configure public key authentication to
> eliminate the need to enter a password at connection time.
> For more information, see sshd and ssh-keygen."
>
> from "sftp — Secure file transfer program" on page 87 of Chapter 9.
> OpenSSH command descriptions
> IBM Ported Tools for z/OS: OpenSSH User's Guide Version 1 Release 3
> SA23-2246-03
>
> Venkat --
>
> You have done very well.
> It must be somehow doable to use a password, but it certainly wasn't the
> architectural intent of the IBM developers.
> The difference between 3270 and Unix-style ttys is too great.
> Furthermore SSH experts inside and outside IBM view passwords in
> association with batch operations as a security risk.
> You are better off to use a key exchange.
>
> Jack
>
> --
> Jack J. Woehr # Science is more than a body of knowledge. It's a way of
> www.well.com/~jax # thinking, a way of skeptically interrogating the
> universe
> www.softwoehr.com # with a fine understanding of human fallibility. -
> Carl Sagan
>
> --
> 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


Re: TSO Setup on SSH

2016-12-11 Thread venkat kulkarni
All worked well. So, we are currently using password less method for
authentication. But, incase if we want to use password method to
authenticate to the system then what are all change we need to make.

Thank to all for help.

On Dec 11, 2016 22:59, "Jack J. Woehr" <j...@well.com> wrote:

venkat kulkarni wrote:

>
> sftp> put /home/ibm08/
>
>
>
You can't put a directory. You can cd into the directory and mput * ...


('mput' means 'multiple put')


Check your documentation whether SFTP still has the old FTP 'prompt'
command so that it doesn't ask for interactive confirmation on each file of
an 'mput '



-- 
Jack J. Woehr # Science is more than a body of knowledge. It's a way of
www.well.com/~jax # thinking, a way of skeptically interrogating the
universe
www.softwoehr.com # with a fine understanding of human fallibility. - Carl
Sagan

--
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


Re: TSO Setup on SSH

2016-12-11 Thread venkat kulkarni
Hello,

I have success in authentication  between mainframe and target system. The
problem was, that the RSA.pub key i copied from Mainframe to target system
was corrupt and because of this handshake was not happening correctly. Now
I am getting below error while running JCL,

//SFTP001 JOB ACCT,NAME,CLASS=A,MSGCLASS=A,NOTIFY=

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

//SYSTSPRT DD   SYSOUT=*

//SYSEXEC  DD   DISP=SHR,DSN=SYS1.SBPXEXEC

//SYSTSIN  DD   *

OPUT 'IBM08.TEST.DATA' '/u/ibm08/test'

OSHELL { echo 'cd /tmp'; +

 echo 'ascii'; +

 echo 'put /home/ibm08/'; } | +

   sftp -b - -v ibm08@10.221.129.10

/*





ERROR I am getting is,



debug1: Authentications that can continue: publickey,password,keyboard-in
teracti

debug1: Next authentication method: publickey


debug1: Offering RSA public key: /u/ibm08/.ssh/id_rsa


debug1: Server accepts key: pkalg ssh-rsa blen
279

debug1: read PEM private key done: type RSA


debug1: Authentication succeeded (publickey).


Authenticated to 10.221.129.10 (Ý10.221.129.10¨:22).


debug1: channel 0: new Ýclient-session¨


debug1: Requesting no-more-sessi...@openssh.com


debug1: Entering interactive session.


debug1: Sending subsystem: sftp


Connected to 10.221.129.10.


debug1: Reading configuration data /etc/ssh/zos_ssh_config


sftp> cd /tmp


sftp> ascii


Sets the file transfer type to ASCII.


sftp> put /home/ibm08/


*FOTS0885 stat /home/ibm08/: EDC5129I No such file or directory.
(errno2=0x059400*

debug1: client_input_channel_req: channel 0 rtype exit-status reply
0

debug1: channel 0: free: client-session, nchannels
1

debug1: fd 0 clearing O_NONBLOCK


debug1: fd 1 clearing O_NONBLOCK


debug1: fd 2 clearing O_NONBLOCK


Transferred: sent 3368, received 2240 bytes, in 0.0
seconds

Bytes per second: sent 148128.8, received 98518.0


debug1: Exit status 0

I have verified that /home/ibm08 directory exist in target system but still
getting this issue. Now,  I am working towards to solve this issue.



On Sun, Dec 11, 2016 at 10:20 PM, Paul Gilmartin <
000433f07816-dmarc-requ...@listserv.ua.edu> wrote:

> On Sun, 11 Dec 2016 08:26:28 +0300, venkat kulkarni wrote:
> >
> >1)connect zos using ssh was working fine from putty but when I try from
> USA
> >to do ssh to ssh -v 127.0.0.1 then after it was to confirm me to continue
> >and I reply yes then at last it says password may not be entered from 3270
> >console.
> >
> Stay off the 3270!  Use a real terminal.
>
> (But I've discovered a back door.  Under "script" on a 3270 the rule is
> bypassed.)
>
> >2) under uss /etc/ssh/ssh_config
> >I uncommented and modified line to
> >Identityfile /home/ibm08/.ssh/authorized_keys
> >And bring down SSH and started back.
> >
> That's a user function.  You shouldn't need to restart SSH.
>
> Have you used ssh-keygen to set up your keys?
>
> -- gil
>
> --
> 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


  1   2   3   >