View previous topic :: View next topic |
Author |
Message |
mf_user Intermediate
Joined: 01 Jun 2003 Posts: 372 Topics: 105
|
Posted: Thu Feb 02, 2006 8:26 am Post subject: How to get the old job details from SARBCH |
|
|
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 |
|
|
mf_user Intermediate
Joined: 01 Jun 2003 Posts: 372 Topics: 105
|
Posted: Thu Feb 02, 2006 8:39 am Post subject: |
|
|
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 |
|
|
Bithead Advanced
Joined: 03 Jan 2003 Posts: 550 Topics: 23 Location: Michigan, USA
|
Posted: Thu Feb 02, 2006 11:00 am Post subject: |
|
|
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 |
|
|
mf_user Intermediate
Joined: 01 Jun 2003 Posts: 372 Topics: 105
|
Posted: Fri Feb 03, 2006 3:20 am Post subject: |
|
|
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 |
|
|
Bithead Advanced
Joined: 03 Jan 2003 Posts: 550 Topics: 23 Location: Michigan, USA
|
Posted: Fri Feb 03, 2006 10:28 am Post subject: |
|
|
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 |
|
|
mf_user Intermediate
Joined: 01 Jun 2003 Posts: 372 Topics: 105
|
Posted: Mon Feb 06, 2006 7:25 am Post subject: |
|
|
Hmm....Ok. Thanks......... _________________ MF
==
Any training that does not include the emotions, mind and body is incomplete; knowledge fades without feeling.
== |
|
Back to top |
|
|
|
|