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
 

 

XCODE in SARBCH

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products
View previous topic :: :: View next topic  
Author Message
sen_1983us

New User


Joined: 21 May 2005
Posts: 18
Location: Hyderabad

PostPosted: Thu Jul 14, 2011 6:08 am    Post subject: XCODE in SARBCH
Reply with quote

I want to capture the Xcode for a particular job from SAR on a particular date (CA-View) to a PS. I looked at older posts and tried SARBCH but it doesn't get the Xcode information.

CA-View ALL --------------- Sysout Selection List -----------------------------
Command ===> Scroll ===> CSR

Sel Sysout ID Jobname Jobid Arch Date Time Loc Lines Pages Xcode
==> * * * * * * * * *
XXXXXXXX XXXXXXXX JOB42497 10/25/2010 06:18 PERM 363344 5169 U0140

Is there any other way to get the Xcode information? Please help
Back to top
View user's profile Send private message

Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7254

PostPosted: Thu Jul 14, 2011 6:29 am    Post subject: Re: XCODE in SARBCH
Reply with quote

sen_1983us wrote:
I want to capture the Xcode for a particular job from SAR on a particular date (CA-View) to a PS. I looked at older posts and tried SARBCH but it doesn't get the Xcode information.

Code:
CA-View ALL --------------- Sysout Selection List -----------------------------
Command ===> Scroll ===> CSR

Sel Sysout ID Jobname Jobid Arch Date Time Loc Lines Pages Xcode
==> * * * * * * * * *
XXXXXXXX XXXXXXXX JOB42497 10/25/2010 06:18 PERM 363344 5169 U0140
Is there any other way to get the Xcode information? Please help


Isn't it there, last field, U0140?

If all you want is "a particular job from SAR on a particular date [...] to a PS" why don't you display it like above, and copy/paste it?
Back to top
View user's profile Send private message
sen_1983us

New User


Joined: 21 May 2005
Posts: 18
Location: Hyderabad

PostPosted: Thu Jul 14, 2011 7:04 am    Post subject:
Reply with quote

See i have SAR as below

Code:
CA-View ALL --------------- Sysout Selection List ----------------------------
Command ===>                                                  Scroll ===> PAGE
                                                                             
Sel  Sysout ID    Jobname  Jobid    Arch Date  Time  Loc    Lines  Pages Xcode
==>  RDFD101D     *        *        *          *     *    *       *      *   
     RDFD101D     RDFD101D JOB29008 07/13/2011 01:24 PERM     126      4     
     RDFD101D     RDFD101D JOB17623 07/12/2011 01:14 PERM     126      4     
     RDFD101D     RDFD101D JOB02761 07/09/2011 01:55 PERM     126      4     
     RDFD101D     RDFD101D JOB23573 07/08/2011 02:49 PERM     126      4     
     RDFD101D     RDFD101D JOB10807 07/07/2011 00:57 PERM     126      4     

In this i have to extract on date 07/13/2011 only if XCODE is sapces then the first row need to written in to PS
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Thu Jul 14, 2011 9:34 am    Post subject:
Reply with quote

Hello,

You need to re-post using copy/paste and the Code tag directly from your 3270 screen rather than the mess that has been posted. . . icon_sad.gif

Use the Preview to see your post as it will appear to the forum and then Submit when you like the way the post appears.
Back to top
View user's profile Send private message
bhavin.mehta

New User


Joined: 25 Jun 2012
Posts: 32
Location: India

PostPosted: Thu May 12, 2016 7:41 pm    Post subject: Reply to: XCODE in SARBCH
Reply with quote

Sorry for activating the old post. I'm posting the solution as I could find one, may be someone like me will get the answer if he reaches here icon_smile.gif

Sol 1: The below code will give all the Jobs for that particular Day.
Code:

//STEP020  EXEC PGM=ADLIST,PARM='SAR.DB.NAME'     
//CTLCARD  DD DISP=SHR,DSN=USER.PDS(MEMBER) <- CAN BE OMITED
//SYSPRINT DD SYSOUT=*                                 
//DDNAME   DD SYSOUT=*                                 
//SYSIN    DD *                                       
/LIST ARCHDATE=[mm/dd/yy[-mm/dd/yy]|*|TODAY]     
REPORTID=JOB*
ORIG=SAR                                     
/*



Sol 2:The below one would give All jobs
Code:

//STEP010  EXEC PGM=SARBCH,PARM='SAR.DB.NAME'         
//CTLCARD  DD DISP=SHR,DSN=USER.PDS(MEMBER) <- CAN BE OMITED
//SYSPRINT DD SYSOUT=*                                 
//REPORT   DD DISP=MOD,DSN=USER.REPORT <- OUTPUT FILE
//DDNAME   DD SYSOUT=*                                 
//SYSIN    DD *                                         
/LIST EXCP=A ID=JOBNAME* GEN=*                             
/*                                                     


EXCP has valid values as A, Y & N
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 -> CA Products All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts JCL error while executing PGM=SARBCH sasanka CA Products 7 Fri Jan 09, 2015 9:55 am
No new posts Add a line while concatenating using ... Mathivanan Chinnaraj CA Products 8 Thu Mar 13, 2014 2:05 am
No new posts Problem Loading jobs sysout from SAR ... thesumitk CA Products 3 Mon Aug 12, 2013 11:38 pm
No new posts SARBCH supress return code ovreddy CA Products 1 Thu Jul 25, 2013 2:29 am
No new posts SARBCH- Extract specific sysout Ronny John CA Products 20 Mon Jul 09, 2012 10:08 pm


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