Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Copy a SYSOUT file off the Queue into a DS

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
drowelf
Warnings : 1

New User


Joined: 03 Mar 2006
Posts: 39
Location: Houston, Texas

PostPosted: Thu Dec 21, 2006 12:18 pm    Post subject: Copy a SYSOUT file off the Queue into a DS
Reply with quote

We have a set of online systems that write debug logs to the SYSOUT Q. At times this approaches 20+ million lines of output. We have been using XDC to capture this output to a datasets, but this ties up my TSO Account and takes a very long time. I've been informed that XDC is basically a screen scraper, which is why it takes a couple of hours to transfer the data from the SYSOUT Hold Q to a dataset.

Does anyone know of a way to run a batch job to copy this sysout file from the hold Q to a dataset?

For reasons I don't want to get into, running this data directly to a dataset is not an option. It must be spooled to a Sysout Q.
Back to top
View user's profile Send private message

UmeySan

Active Member


Joined: 22 Aug 2006
Posts: 755
Location: Germany

PostPosted: Thu Dec 21, 2006 5:49 pm    Post subject:
Reply with quote

Hi !

Are you using also Beta-92/93 in your company. Then with a batch-util
you could spool beta-output to a dataset.

After complete batch-processing you can select outputs of different jobs and spool it to a dataset.

More Infos in beta-manual / Bookmanager

//STEP010 EXEC PGM=BSS01RFF,REGION=0M,
// PARM=('S=92,B01LST=00,B92LST=91','PGM=B92PRINT')

PRINT
SDATE(TT.MM.2005)
STIME(HH:00:00)
PDATE(TT.MM.2005)
PTIME(HH:00:00)
MASK(DD.MM.YYYY)
JOBNAME(SFOD%307)
DDNAME1(IFRSLOGX)
STEPN(P010)
PSTEPN(S010)
SEPARATOR(NO)
SCOPE(BOTH)
MESSAGE(LONG)
DISPOSITION(SHR)
DATASET(WLET.I007.IFRS.SPOOL(IFRSLOGX))
AUTOSEL(NO)

Regards, UmeySan
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Thu Dec 21, 2006 6:13 pm    Post subject:
Reply with quote

Search this forum for 'batch sdsf'. There are many examples.

O.
Back to top
View user's profile Send private message
drowelf
Warnings : 1

New User


Joined: 03 Mar 2006
Posts: 39
Location: Houston, Texas

PostPosted: Thu Dec 21, 2006 7:21 pm    Post subject: Re: Copy a SYSOUT file off the Queue into a DS
Reply with quote

HI,

I don't want to use PRINT ODSN for the same reasons as XDC, it ties up my TSO ID for hours, we are talling about an average of 20 Million lines of output here.
Back to top
View user's profile Send private message
drowelf
Warnings : 1

New User


Joined: 03 Mar 2006
Posts: 39
Location: Houston, Texas

PostPosted: Thu Dec 21, 2006 7:22 pm    Post subject:
Reply with quote

UmeySan wrote:
Hi !

Are you using also Beta-92/93 in your company. Then with a batch-util
you could spool beta-output to a dataset.



Regards, UmeySan


I never even heard of that utility, is it a product or freeware?

thanks
Back to top
View user's profile Send private message
drowelf
Warnings : 1

New User


Joined: 03 Mar 2006
Posts: 39
Location: Houston, Texas

PostPosted: Thu Dec 21, 2006 7:25 pm    Post subject:
Reply with quote

ofer71 wrote:
Search this forum for 'batch sdsf'. There are many examples.

O.


Does not 'batch SDSF' still do screen scraping? I'd really just like to go and copy the ds right off the spool pack into a ds. I was once given some information on something called Sysout Retriever, but I've lost the information. This could go and just copy the DS right off the spool pack into a ds, it was very fast, which is what I'm looking for as these sysout files are often 15-20 million lines of diagnostic output.
Back to top
View user's profile Send private message
Bitneuker

CICS Moderator


Joined: 07 Nov 2005
Posts: 1105
Location: The Netherlands at Hole 19

PostPosted: Thu Dec 21, 2006 7:45 pm    Post subject:
Reply with quote

I looked into topic and think you should try the batch sdsf out with some thousands of lines. If it works well and swift you may consider to use it for larger files. So try a bit, if it doesn't work we can look for a different solution.
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3158
Location: Tucson AZ

PostPosted: Thu Dec 21, 2006 10:37 pm    Post subject: Re: Copy a SYSOUT file off the Queue into a DS
Reply with quote

drowelf wrote:
ties up my TSO ID for hours

You might try Lionel B. Dyck's SDSFEXT, a generalized SDSF batch (or TSO) tool to extract a report into a dataset. It never tied up my TSO ID.

Available at his website http://www.lbdsoftware.com/ or at Cbttape's http://www.cbttape.org/
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. Fetching data from BAI File arunsoods JCL & VSAM 1 Wed Jul 19, 2017 4:28 pm
No new posts Write out NODUPS but just from one file Jay Villaverde DFSORT/ICETOOL 8 Fri Jul 14, 2017 12:44 am
No new posts How to add header with Date(YYMMDD) i... Rajan Moorthy DFSORT/ICETOOL 2 Thu Jul 06, 2017 11:44 pm
No new posts How to generate a new unique Input fi... for1ranjith CLIST & REXX 11 Sat Jul 01, 2017 12:09 pm
No new posts Writing a file using online program grvtomar PL/I & Assembler 3 Fri Jun 30, 2017 1:06 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us