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
 

 

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
This topic is locked: you cannot edit posts or make replies. SDSF multiple spool datasets extracte... PJAlarcon CLIST & REXX 1 Fri Apr 21, 2017 10:50 pm
No new posts PA02 - Programmtically control attent... dodithegreat IMS DB/DC 1 Thu Apr 06, 2017 8:33 pm
No new posts REXX cdoe to purge a JOB from spool a... Sulabh Agrawal CLIST & REXX 11 Thu Mar 09, 2017 11:36 am
This topic is locked: you cannot edit posts or make replies. How to use 2 input files in control c... Gunapala CN DFSORT/ICETOOL 23 Thu Oct 13, 2016 3:42 pm
No new posts Control-M manuals JPVRoff All Other Mainframe Topics 0 Fri May 20, 2016 11:15 am


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