IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to control the no of Job listing in spool


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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
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
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: 3156
Location: Tucson AZ

PostPosted: Thu Jan 11, 2007 3:04 pm
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: 2358
Location: Israel

PostPosted: Thu Jan 11, 2007 4:47 pm
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
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
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: 1448
Location: Chicago, IL

PostPosted: Sat Jan 13, 2007 9:47 am
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Using Dynamic file handler in the Fil... COBOL Programming 2
No new posts Search string in job at regular Spool... CLIST & REXX 0
No new posts Help Control-R IBM Tools 2
No new posts Try to understand IMS control block IMS DB/DC 0
No new posts Capturing logs from spool dd JCL & VSAM 6
Search our Forums:

Back to Top