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 Match the files with the corresponding jobs in batch

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
skkp2006

New User


Joined: 14 Jul 2006
Posts: 93
Location: Chennai,India

PostPosted: Tue Jan 20, 2009 1:37 pm    Post subject: How to Match the files with the corresponding jobs in batch
Reply with quote

I am having a list of files(say 500 of them) and another list of 100 jobs. Now i need to find out which jobs are using these files. We have the cross reference information module in our shop but for manually search all the 500 of them is really time consuming.

Is there any other go like LISTCAT to find the matching jobs ? Any pointers wil be really helpful...

Syam
Back to top
View user's profile Send private message

Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Tue Jan 20, 2009 2:22 pm    Post subject:
Reply with quote

Hi,

ISPF 3.14 option is not useful here ?
Back to top
View user's profile Send private message
skkp2006

New User


Joined: 14 Jul 2006
Posts: 93
Location: Chennai,India

PostPosted: Tue Jan 20, 2009 2:47 pm    Post subject:
Reply with quote

Quote:
ISPF 3.14 option is not useful here ?


then i will have to search 500 times in the JCL pds right? and to add to that the first level qualifier is symbolic here. Is there any other go ?


Syam
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Tue Jan 20, 2009 2:57 pm    Post subject:
Reply with quote

Hi,

Porbably no - Do you have this list
Quote:
another list of 100 jobs
in a single PDS ?
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Tue Jan 20, 2009 3:08 pm    Post subject:
Reply with quote

Quote:
We have the cross reference information module in our shop but for manually search all the 500 of them is really time consuming.

Sometimes, there just isn't an easy option.

Been there, seen it, done it and also moaned about it icon_sad.gif
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Tue Jan 20, 2009 3:08 pm    Post subject:
Reply with quote

Hello,

Can you use something like: Change the string in SRCHFOR with the files you want to search & string in SELECT with the JOB names...just a JCL from 3.14 & modified for my needs.
Code:
//SEARCH  EXEC PGM=ISRSUPC,                                           *
//            PARM=(SRCHCMP,                                           
//            'ANYC')                                                   
//NEWDD  DD DSN=XXXX.XXXXXX.JCLLIB,                             
//          DISP=SHR                                                   
//OUTDD  DD DSN=XXXXXX.FIANLIST.PROC.JOB,DISP=(,CATLG,CATLG)           
//SYSIN  DD *                                                           
SRCHFOR 'AGPROIND,AGPROIND'                                             
SRCHFOR 'AGPROFLG,AGPROIND,AGRTRPRT,AGSETA,AGSETP,AGSETT,KOD505,LCD160'
SRCHFOR 'LCD160W,LFUSDA30,LFUSDA4P,LFUSDA40,LFUSDA50,LFUSDA60,LFUSDB40'
SRCHFOR 'LFUSDE30,LFUSDN30,LFUSDT30,LFUSIA90,LFUSIB90,LFUSIC90,LGGFDA60'
SRCHFOR 'LGUADA40,LGUADD40,LGUFDD40,LGUGDD40,LGUJDA40,LGUKDC40,LGUKDC41'
SRCHFOR 'LGULDC41,LGUSDA40,LGUSDA41,LGUSDA42,LGUSDA50,LGUSDA60,LGUSDA61'
SRCHFOR 'LGUSDB40,LGUSDB41,LGUSDD40,LGUUDA41,LGUXDA42,MBD110K,NJUSW25' 
SRCHFOR 'PFUSI30,PF0KM028,QLC400,QLD145,QLD145,QLD150,QLD175,QLD400'   
SRCHFOR 'QLD400T,QLI151,QLW200,QLW230,QLW300,QLW301,WN0KD010'           
SELECT $JTWTEMP,@ESFDR,@JTJEGJB,@JTWCMPA,@JTWCMPC,@JTWCOMP             
SELECT @PRINT,ABD00000,ABD10000,ABM13000,ABM20XCM,ABM20000             
SELECT ABM60000,ABM61000,ABM62000,ABRT4700,ABR11000,ABR12000           
SELECT ABR13000,ABR13001,ABR19000,ABR21000,ABR23000,ABR25000           
SELECT ABR26000,ABR27000,ABR29000,ABR40000,ABR40500,ABR41000           
SELECT ABR42001,ABR42002,ABR43000,ABR43600,ABR44000,ABR44300           
/*
Back to top
View user's profile Send private message
skkp2006

New User


Joined: 14 Jul 2006
Posts: 93
Location: Chennai,India

PostPosted: Tue Jan 20, 2009 3:17 pm    Post subject: Reply to: How to Match the files with the corresponding jobs
Reply with quote

Thanks Anuj...

finally i also did the same thing.... created all the SRCHFOR and SELECT control statements and ran the job. icon_cry.gif


i was looking for something like

Code:
some command "dataset name" job
o/p
the job name


Quote:
Sometimes, there just isn't an easy option.
Been there, seen it, done it and also moaned about it


same here..... icon_rolleyes.gif



syam
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
No new posts Unable to create multiple files using... mbattu COBOL Programming 3 Fri May 05, 2017 5:35 pm
This topic is locked: you cannot edit posts or make replies. Merge two files and update Trailer re... Yashashri JCL & VSAM 1 Thu May 04, 2017 12:54 pm
No new posts Dynamic split of files under groups sril.krishy DFSORT/ICETOOL 4 Mon Apr 17, 2017 1:09 pm
No new posts HLIST Utility In Batch Virendra Shambharkar TSO/ISPF 4 Fri Apr 07, 2017 3:38 pm
No new posts Compare two files and subtract values ameetmund DFSORT/ICETOOL 7 Fri Mar 31, 2017 3:35 pm


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