Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 4650
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: 4650
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 IDCAMS RENAMING VSAM FILE ALONG WITH ... upendrasri JCL & VSAM 11 Tue Apr 17, 2018 10:42 pm
No new posts VSAM file NOT Found error while proce... SumaReva CICS 5 Wed Apr 11, 2018 9:54 pm
No new posts converting a mainframe file with ASA ... Lynne Schuler All Other Mainframe Topics 5 Wed Apr 04, 2018 9:44 am
No new posts VSAM File free space sancraig16 JCL & VSAM 13 Fri Mar 30, 2018 1:02 am
No new posts Find & Replace string in CA-SORT mrgnndhmk CA Products 1 Fri Mar 30, 2018 12:58 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us