MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to get the old job details from SARBCH

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities
View previous topic :: View next topic  
Author Message
mf_user
Intermediate


Joined: 01 Jun 2003
Posts: 372
Topics: 105

PostPosted: Thu Feb 02, 2006 8:26 am    Post subject: How to get the old job details from SARBCH Reply with quote

Hi,

How to get the entire job listing of an old job (12/15/2005) from CA-View using the SARBCH?

Please give me the job.

Thanks in advance.
_________________
MF
==
Any training that does not include the emotions, mind and body is incomplete; knowledge fades without feeling.
==
Back to top
View user's profile Send private message Send e-mail
mf_user
Intermediate


Joined: 01 Jun 2003
Posts: 372
Topics: 105

PostPosted: Thu Feb 02, 2006 8:39 am    Post subject: Reply with quote

Hi guys,

I searched the old postings and got the answer for the query I posted.

I used the below JCL:

//XXXXXX21 JOB (XXXXAN),
// MSGLEVEL=(1,1),
// MSGCLASS=Y,
// CLASS=X,
// NOTIFY=&SYSUID
//*
//JS001 EXEC PGM=SARBCH
//SYSPRINT DD SYSOUT=*
//LISTOUT1 DD SYSOUT=*
//SYSIN DD *
/DBASE NAME=XXX#.XXXXXX
/PRINT ID=XXXXXX53 GEN=2337 DDNAME=LISTOUT1 SEQ=1
/*
//

But, if I want to get more jobs details then how to achieve it with a single job.

My requirement is to get the details of a job for the period 11/15/2005 to 12/15/2005. Please help me in this regard.

Thanks in advance.
_________________
MF
==
Any training that does not include the emotions, mind and body is incomplete; knowledge fades without feeling.
==
Back to top
View user's profile Send private message Send e-mail
Bithead
Advanced


Joined: 03 Jan 2003
Posts: 550
Topics: 23
Location: Michigan, USA

PostPosted: Thu Feb 02, 2006 11:00 am    Post subject: Reply with quote

I use the following:

/LIST ID=XXXX GEN=*

To get a list of entries on CA-VIEW.

I then select the GEN and SEQ that I need and format /PRINT commands. These can then all be written to the same output dataset (Make sure that the disposition is MOD)
Back to top
View user's profile Send private message
mf_user
Intermediate


Joined: 01 Jun 2003
Posts: 372
Topics: 105

PostPosted: Fri Feb 03, 2006 3:20 am    Post subject: Reply with quote

Hi Bithead,

Would you please give me the full JCL to make us of the options you've listed.

Thanks for the info.
_________________
MF
==
Any training that does not include the emotions, mind and body is incomplete; knowledge fades without feeling.
==
Back to top
View user's profile Send private message Send e-mail
Bithead
Advanced


Joined: 03 Jan 2003
Posts: 550
Topics: 23
Location: Michigan, USA

PostPosted: Fri Feb 03, 2006 10:28 am    Post subject: Reply with quote

The JCL for the list is similar to the print. I then have a program to filter and format the extract statement. I have another program to parse the output.
Back to top
View user's profile Send private message
mf_user
Intermediate


Joined: 01 Jun 2003
Posts: 372
Topics: 105

PostPosted: Mon Feb 06, 2006 7:25 am    Post subject: Reply with quote

Hmm....Ok. Confused Question Thanks.........
_________________
MF
==
Any training that does not include the emotions, mind and body is incomplete; knowledge fades without feeling.
==
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group