Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

vsam

Status
Not open for further replies.

kurup

Programmer
Jun 1, 2001
32
IN
hi friends,

how to read a KSDS VSAM dataset.
I gave READ VSAMFILE1 key is equal to empcode.
This statement gave error saying that "not allowed for sequential file"

can anyone suggest how to read a vsam file(KSDS)

regards
kurup
 
Hi kurup,

I think your problem is that you did not spec ACCESS MODE IS RANDOM or DYNAMIC in the SELECT stmt.

Jack

 
hi slade,

Thank u for ur help.
Actaully i had not mentioned the organisation as indexed.
Fixed the problem.
Now its working

bye
kurup
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top