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: 4648
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: 4648
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 SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm
No new posts Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm
No new posts find particular member name in PDS us... ravi243 CLIST & REXX 10 Mon Dec 19, 2016 6:44 pm
No new posts Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm
No new posts How to find the first monday of the w... abdulrafi COBOL Programming 10 Fri Nov 25, 2016 3:24 pm


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