in reply to OS390 VSAM-files

You say vsamlocate doesn't want to work. I presume it is throwing an exception viz or die $!. Any chance you could let us know what it is dying with?

--

Oh Lord, won’t you burn me a Knoppix CD ?
My friends all rate Windows, I must disagree.
Your powers of persuasion will set them all free,
So oh Lord, won’t you burn me a Knoppix CD ?
(Missquoting Janis Joplin)

Replies are listed 'Best First'.
Re^2: OS390 VSAM-files
by petermoessinger (Initiate) on Jan 09, 2006 at 17:12 UTC
    Very difficult to say cause I've tested so many versions. The version above gives me a:
    invalid control request: '\071'
    I think this is a problem with the key as I get other error messages when I change the way to pass the key. So what interrests me is if the way I pass the key is OK or if the problem is somehow with the way I open the file (if I have to state something like "rb,recfm=VB" which leads to a dump if I try it that way). And the problem is: There is NO documentation in the internet. The only thing I found is: "noone has tested this till now".
      There is NO documentation in the internet.

      You might find VSAM demystified useful.

      This also


      Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
      Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
      "Science is about questioning the status quo. Questioning authority".
      In the absence of evidence, opinion is indistinguishable from prejudice.