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

Job : Costomization on data retrieve from SAR


IBM Mainframe Forums -> CA Products
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Mukesh Pandey

Active User


Joined: 11 Nov 2008
Posts: 143
Location: India

PostPosted: Wed Nov 04, 2009 2:58 pm
Reply with quote

Hi ALL,
Code:

//SAREXTR EXEC PGM=SARBCH,PARM='K9490P0.SAR41'
//SYSUDUMP DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//REPORT DD DSN=&&TEMP,
// DISP=(MOD,CATLG,DELETE),SPACE=(TRK,(20,10),RLSE),
// LRECL=133,RECFM=FBA,BLKSIZE=27930
//SYSIN DD *
/LIST ID=F3698*,GEN=-1
/*
//S1 EXEC PGM=ICEMAN
//SYSOUT DD SYSOUT=*
//SORTIN DD DSN=&&TEMP,DISP=SHR
//SORTOUT DD DSN=Z1225AN.DENJOBS.F59J,
// DISP=(,CATLG,DELETE),SPACE=(TRK,(20,10),RLSE)
//SYSIN DD *
  OPTION COPY
  INCLUDE COND=(35,1,CH,EQ,C'F')
  OUTREC FIELDS=(34,18,64,17)
/*



When i run the above job today 11/4 i get the list of all jobs that ran on 11/2 and 11/3 ... i need to restrict the output to the jobs that have return code other than 0 and 4 and that ran from 10 pm IST yesterday 11/3 till 5 pm IST today 11/4.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Wed Nov 04, 2009 4:32 pm
Reply with quote

Then you will need to change the INCLUDE statement in the sort step to select only the records that you need.

It may be that you require a small REXX to generate the sort cards, that is what I usually do.
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 -> CA Products

 


Similar Topics
Topic Forum Replies
No new posts Store the data for fixed length COBOL Programming 1
No new posts Data set Rec-Cnt and Byte-Cnt Testing & Performance 2
No new posts SCOPE PENDING option -check data DB2 2
No new posts Check data with Exception Table DB2 0
No new posts JCL EXEC PARM data in C Java & MQSeries 2
Search our Forums:

Back to Top