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
 

 

develop a tool to find out a file if used in a job or not

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
vimal

New User


Joined: 08 Jun 2006
Posts: 2

PostPosted: Thu Jun 08, 2006 7:59 pm    Post subject: develop a tool to find out a file if used in a job or not
Reply with quote

I need to develop a tool which needs to do the following

1) Ask for the file name
2) Ask for the library name where all the jobs resides
3) take each job one by one , do a jscan on the member, search in the jscan done on the member , if the file is used or not. if used, copy it to a file.
Back to top
View user's profile Send private message

superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4649
Location: Raleigh, NC, USA

PostPosted: Thu Jun 08, 2006 8:10 pm    Post subject: Re: develop a tool to find out a file if used in a job or no
Reply with quote

OK. Have fun.

(I don't see a question or a code sample or anything else anywhere in the post).
Back to top
View user's profile Send private message
vimal

New User


Joined: 08 Jun 2006
Posts: 2

PostPosted: Fri Jun 09, 2006 11:26 am    Post subject:
Reply with quote

Actually it was a question that I wanted to ask you from my side.

I wanted to know if we can do a JSCAN on a job through REXX.
If so kindly let me know what are the parameters that i need to code.

Please help..

Thanks
Vimal
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4649
Location: Raleigh, NC, USA

PostPosted: Fri Jun 09, 2006 3:05 pm    Post subject: Re: develop a tool to find out a file if used in a job or no
Reply with quote

I believe that you can. Why not post your question on the Diversified Software website?
Back to top
View user's profile Send private message
subramaniabharathi

New User


Joined: 09 Mar 2006
Posts: 9

PostPosted: Fri Jun 09, 2006 6:55 pm    Post subject: Re: develop a tool to find out a file if used in a job or no
Reply with quote

Yes u can do a jscan.Tell me exactiy what u want to do.
/**********REXX***********/
INP1='name of the datset where ur job exists'
ADDRESS ISPEXEC "VIEW DATASET('"INP1"') MACRO(JSCAN)"
RETURN
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 -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Split file based on comparsion to 2 f... Div Grad DFSORT/ICETOOL 3 Thu Jul 27, 2017 9:16 pm
No new posts Extra character appears in file when ... Balu5491 All Other Mainframe Topics 1 Wed Jul 26, 2017 2:39 pm
No new posts SSH - known_hosts file configuration vasanthz All Other Mainframe Topics 2 Wed Jul 26, 2017 2:10 am
This topic is locked: you cannot edit posts or make replies. Fetching data from BAI File arunsoods JCL & VSAM 1 Wed Jul 19, 2017 4:28 pm
No new posts Write out NODUPS but just from one file Jay Villaverde DFSORT/ICETOOL 8 Fri Jul 14, 2017 12:44 am


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