Something weird is happening. This is less a REXX question than it is an RXVSAM question.
I have a VSAM KSDS and I add a record to it:
The READ fails vrc=16 (record not found) although all other operations gave vrc=0. I have watched this operate (and fail consistently) and I am stumped.
Does anyone have any suggestions?
Frank Clarke
--America's source for adverse opinions since 1943.
I have a VSAM KSDS and I add a record to it:
Code:
vrc = RXVSAM("OPENOUTPUT","$VS","KSDS")
vrc = RXVSAM("WRITE","$VS",@key,"NEWREC")
vrc = RXVSAM("CLOSE","$VS")
vrc = RXVSAM("OPENINPUT","$VS","KSDS")
vrc = RXVSAM("READ","$VS",@key,"INREC")
The READ fails vrc=16 (record not found) although all other operations gave vrc=0. I have watched this operate (and fail consistently) and I am stumped.
Does anyone have any suggestions?
Frank Clarke
--America's source for adverse opinions since 1943.