Can we move output report to cataloged dataset and output cl

JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...
skumar144
Posts: 1
Joined: Tue Jul 31, 2007 6:00 pm

Can we move output report to cataloged dataset and output cl

Postby skumar144 » Tue Jul 31, 2007 6:18 pm

Hi,
Currently we are using following code to send reports to SAR.

Code: Select all

//OCPRT02  DD SYSOUT=(,),FREE=CLOSE

Now I have a requirement to move this otuput report to SAR as well as to some data set.

Can anyone help me?

Thanks and regards.

amitava
Posts: 5
Joined: Mon Jul 30, 2007 5:34 pm
Location: India

Re: Can we move output report to cataloged dataset and output cl

Postby amitava » Tue Jul 31, 2007 6:31 pm

Obviously u can. Just use the following statement -

Code: Select all

//OCPRT02  DD DSN=<Your Dataset Name>,DISP=<>

:)
Regards,

Amitava

William Thompson
Posts: 81
Joined: Sat Jun 09, 2007 4:24 am
Skillset: Some?
Referer: mcmillan
Location: Tucson AZ

Re: Can we move output report to cataloged dataset and output cl

Postby William Thompson » Tue Jul 31, 2007 10:11 pm

skumar144 wrote:Now I have a requirement to move this otuput report to SAR as well as to some data set.

Generally, initially output to your new dataset and then use somethiing like IEBGENER to print it to sysout from the dataset.


  • Similar Topics
    Replies
    Views
    Last post