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,

 $HASP890                PRIORITY=15,SYSAFF=(TST4),HOLD=(NONE)







Job IMS12RC3 is,



 BROWSE    SYS1.DEVL.PROCLIB(IMS12RC3) - 01.03        Line 0000000

 Command ===>                                                  Scr

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

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

//            IMSID=IMS4,SYS2=

//IEFPROC EXEC PGM=DFSMVRC0,REGION=&RGN,

//            PARM='DRC,&IMSID'

//****************************************************

//*

//STEPLIB  DD DSN=IMS4.V120.&SYS2.SDFSRESL,DISP=SHR

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

//JCLOUT   DD SYSOUT=(A,INTRDR)

//JCLPDS   DD DSN=IMS4.V120.&SYS2.PROCLIB,DISP=SHR

//SYSUDUMP DD SYSOUT=&SOUT

//SYSABEND DD SYSOUT=&SOUT

//*

//************ 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" <[email protected]> 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:[email protected]] On
> Behalf Of venkat kulkarni
> Sent: Thursday, May 04, 2017 8:58 AM
> To: [email protected]
> 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" <[email protected]> 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:[email protected]] On
> > Behalf Of venkat kulkarni
> > Sent: Wednesday, May 03, 2017 7:14 AM
> > To: [email protected]
> > 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" <[email protected]<
> > mailto:[email protected]>> 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)" <[email protected]<mailto:B
> > [email protected]>>
> > > >Sent: May 2, 2017 2:26 PM
> > > >To: [email protected]<mailto:[email protected]>
> > > >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:[email protected]]
> > On
> > > Behalf Of Phil Sidler
> > > >Sent: Tuesday, May 02, 2017 4:16 PM
> > > >To: [email protected]<mailto:[email protected]>
> > > >Subject: Re: job output into dataset
> > > >
> > > >On Tue, 2 May 2017 12:54:35 -0700, Lizette Koehler <
> > > [email protected]<mailto:[email protected]>> 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 [email protected]<mailto:[email protected]
> >
> > with the message: INFO IBM-MAIN
> > >
> >
> > ----------------------------------------------------------------------
> > For IBM-MAIN subscribe / signoff / archive access instructions,
> > send email to [email protected]<mailto:[email protected]>
> > 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 was not authorized to
> > send it to you, do not disseminate, copy or otherwise use this e-mail or
> > its attachments. Please notify the sender immediately by reply e-mail and
> > delete the e-mail from your system.
> >
> >
> > ----------------------------------------------------------------------
> > For IBM-MAIN subscribe / signoff / archive access instructions,
> > send email to [email protected] with the message: INFO IBM-MAIN
> >
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN
>

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

Reply via email to