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 

To find a VSAM record using the key stored in flat file.

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF
View previous topic :: View next topic  
Author Message
shash_modi
Beginner


Joined: 22 Apr 2008
Posts: 26
Topics: 9
Location: Mumbai

PostPosted: Mon May 12, 2008 7:27 am    Post subject: To find a VSAM record using the key stored in flat file. Reply with quote

Hi,

I want to write a REXX so as find the VSAM record with the help of unique which is present in the flat file.

VSAM file name in JCL: HQINT.VSAMFILE
Flat file name in JCL: HQINT.FLATFILE

Could any one please help me in this regard?

Thanks n regards.
Back to top
View user's profile Send private message
shash_modi
Beginner


Joined: 22 Apr 2008
Posts: 26
Topics: 9
Location: Mumbai

PostPosted: Mon May 12, 2008 7:28 am    Post subject: Re: To find a VSAM record using the key stored in flat file. Reply with quote

shash_modi wrote:
Hi,

I want to write a REXX so as find the VSAM record with the help of unique which is present in the flat file.

VSAM file name in JCL: HQINT.VSAMFILE
Flat file name in JCL: HQINT.FLATFILE

Could any one please help me in this regard?

Thanks n regards.


It's a unique key.
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: Mon May 12, 2008 7:41 am    Post subject: Reply with quote

Rexx cannot process a VSAM file unless you have a special 'add-on'. If you do not have that then you will have to unload the file to a PS file.
_________________
Utility and Program control cards are NOT, repeat NOT, JCL.
Back to top
View user's profile Send private message
shash_modi
Beginner


Joined: 22 Apr 2008
Posts: 26
Topics: 9
Location: Mumbai

PostPosted: Mon May 12, 2008 11:38 pm    Post subject: Reply with quote

Thanks Nic. Can let me know how we can do it?
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


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

PostPosted: Tue May 13, 2008 10:07 am    Post subject: Reply with quote

shash_modi,

Please SEARCH before posting. check these links

http://www.mvsforums.com/helpboards/viewtopic.php?t=2702&highlight=vsam+rexx

http://www.mvsforums.com/helpboards/viewtopic.php?t=365&highlight=vsam+rexx

Hope this helps...

Cheers

Kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF 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