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

Reading A VSAM KSDS file thru non-unique AltIndex


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Surya Parija

New User


Joined: 29 Jun 2007
Posts: 2
Location: Mumbai

PostPosted: Tue Sep 18, 2007 6:59 pm
Reply with quote

Is it possible to read a KSDS record thru non-unique alternate index.

My requirement is to find all the records having that non-unique AltIndex, then delete all the occurences of those records.

I move some value to Altindex(That value is present in AltIndex), then try to read the VSAM file thru ALtIndex(Non-unique). It is abending(92)

Also i tried to delete the record without reading it, but still i got the same problem.

Actually I'm not able to position/find the record thru AltIndex(Non-Unique)
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Tue Sep 18, 2007 7:38 pm
Reply with quote

Hello,

If you post the DEFINEs for the file and the alternate index(es), the SELECT, FD, the OPEN, and the failing READ, someone may have a suggestion.
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 1
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