• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

WebSphere reading large VSAM file

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Vintage Mainframer working with WebSphere, was wondering if anyone could help? I have a general understanding of single record and array reads but have started a project where I’ll be using VSAM files containing around 60 million records. In COBOL, I might use a Start command to position an index where I would begin a sequential read of a file – is there something like that I can use for my Websphere project?

Or maybe better way to ask would be: Could someone make a suggestion on how to read a very large (product id number and seq# as key) VSAM file with the product id as the input. One could assume the first seq# would be 0001.

One of many Dinosaurs
 
Marshal
Posts: 70338
283
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Question too difficult for this forum: let's move you to the Websphere forum.
 
Larry Terry
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For anyone having similar issue, I have what I believe to be the solution:

zckarf.locate(rKey,#,#,ZFile.LOCATE_KEY_EQ);

# = key beginning and length
 
Happily living in the valley of the dried frogs with a few tiny ads.
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic