Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
How to control the no of Job listing in spool

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
lal_arun_272

New User


Joined: 09 Oct 2006
Posts: 31
Location: Bangalore

PostPosted: Thu Jan 11, 2007 2:15 pm    Post subject: How to control the no of Job listing in spool
Reply with quote

Hi
In spool (in syslist) iam getting so many records, but i need only last 30 records to be in the spool. How can i control the listing while printing spool.

thanks,
arun.
Back to top
View user's profile Send private message

prasad_nine

New User


Joined: 06 Dec 2006
Posts: 1
Location: delhi

PostPosted: Thu Jan 11, 2007 2:24 pm    Post subject:
Reply with quote

hi,
we can use outlim parameter to limit the listing into the spool.
Back to top
View user's profile Send private message
lal_arun_272

New User


Joined: 09 Oct 2006
Posts: 31
Location: Bangalore

PostPosted: Thu Jan 11, 2007 2:58 pm    Post subject:
Reply with quote

actually my spool listing may contain any number of records, but i want only last 20 records to be in spool, how to specify.

Regards,
Arun.
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 Jan 11, 2007 3:04 pm    Post subject:
Reply with quote

I don't think you can, if you just want to print the last 20 lines, you may have to spool to disk and use a utility to extract them off.
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Thu Jan 11, 2007 4:47 pm    Post subject:
Reply with quote

You can use the PRINT command from within SDSF. You can provide range of lines for PRINT.

O.
Back to top
View user's profile Send private message
mftrigger

New User


Joined: 18 Feb 2006
Posts: 23
Location: chennai

PostPosted: Thu Jan 11, 2007 7:12 pm    Post subject: Re: How to control listing in spool
Reply with quote

Hi all,

Instead of such complex transfer to PS and then viewing ,,

It wud be very very simple if we use the VIEW option in the spool and then specify SORT major column as ST-DATE and minor column as ST-TIME ! By this u can view the latest run and the top and other run followin it. Per screen shows 18 statistics.

Hope everyone got my point.

icon_biggrin.gif
Back to top
View user's profile Send private message
lal_arun_272

New User


Joined: 09 Oct 2006
Posts: 31
Location: Bangalore

PostPosted: Fri Jan 12, 2007 12:43 pm    Post subject:
Reply with quote

my spool listing is printing all the expanded copy books and procedure in syslist, i dont want them. i have to get only the last 20 lines which will contain some record counts which is necessary for me. I should not copy this to a PS. i want to control it while printing the listing in spool itself. Is there any way.

Regards,
Lal.
Back to top
View user's profile Send private message
priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1452
Location: Chicago, IL

PostPosted: Sat Jan 13, 2007 9:47 am    Post subject: Re: How to control the no of Job listing in spool
Reply with quote

mftrigger wrote:
Hope everyone got my point.

Yepp, but what it has to do with the question posted originally... icon_confused.gif

Lal...
Can't you get this whole information directed to a dataset, and put another sort step to keep only last 20 lines...
Back to top
View user's profile Send private message
lal_arun_272

New User


Joined: 09 Oct 2006
Posts: 31
Location: Bangalore

PostPosted: Thu Jan 18, 2007 2:51 pm    Post subject:
Reply with quote

First I did like that only(copied it in to a dataset and did a sort), but they dont want it to be copied to a dataset, while printing the listing in spool itself they want to control.

Regards,
Arun.
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Control-M restart instruction sonaliingle CA Products 2 Tue Nov 28, 2017 5:05 pm
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 5 Wed Oct 04, 2017 6:54 am
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 47 Fri Sep 29, 2017 1:08 pm
No new posts Spool Extract for Z /os 1.04 version Khadhar Basha CLIST & REXX 3 Thu Sep 28, 2017 3:14 pm
No new posts Unable to copy data from spool in a d... srikant314 JCL & VSAM 8 Fri Jul 28, 2017 9:10 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us