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

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


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
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
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

Global Moderator


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

PostPosted: Thu Jun 08, 2006 8:10 pm
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
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

Global Moderator


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

PostPosted: Fri Jun 09, 2006 3:05 pm
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 4
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
Search our Forums:

Back to Top