MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Find a file

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities
View previous topic :: View next topic  
Author Message
sivafdms
Intermediate


Joined: 29 May 2007
Posts: 165
Topics: 77

PostPosted: Thu May 15, 2008 12:24 pm    Post subject: Find a file Reply with quote

Hi ,

I have reqiurement that suppose i have 100 files and i need to find a record based on unqiue credit card number and also find which file contains that record.

Thanks,
Siva
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Thu May 15, 2008 1:27 pm    Post subject: Reply with quote

sivafdms,

You can use SRCHFOR 'string' command from 3.4 listing.

Check this link which explains in detail about the command

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/ISPZU230/1.5.5.5.13?SHELF=&DT=20040720005941&CASE=

Hope this helps...

Cheers

Kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
sivafdms
Intermediate


Joined: 29 May 2007
Posts: 165
Topics: 77

PostPosted: Thu May 15, 2008 10:50 pm    Post subject: Reply with quote

Hi Koulsu,

Thanks for your help!

Can this be done by JCL using any of the sort utility?

Thanks,
Siva
Back to top
View user's profile Send private message
Nic Clouston
Advanced


Joined: 01 Feb 2007
Posts: 1075
Topics: 7
Location: At Home

PostPosted: Fri May 16, 2008 2:29 am    Post subject: Reply with quote

By JCL I presume you mean 'in batch'. Use the SRCHFOR utility from the main ISPF menu (option 14 or 15?). There there is a batch option. Use that to find a trivial example and then copy the generated JCL and modify to your particular need.
_________________
Utility and Program control cards are NOT, repeat NOT, JCL.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group