Page 1 of 1

VSAM- KSDS FILE - WRITE STATEMENT NOT WORKING

Posted: Sun Nov 08, 2015 5:00 pm
by meetraju2002
Hi,

I have declared a VSAM file as KSDS and accessing dynamically and organization is indexed.

I am writing the file with statement ' WRITE XX-RECORD' and checking for File-status.

The file staus says it as zero but the record is not getting written in the VSAM file. The job completes with zero return code.

Could any one please suggest me what could be the problem.

Thanks and Regards,
Rajkumar

Posted: Sun Nov 08, 2015 9:26 pm
by William Collins
From the information you have provided, no, it would be impossible to say.

Need to see some code. SELECT, FD, file-status field, and the code relating to the WRITE. Possibly a LISTCAT.

In the Code tags.

Topic deleted by Admin

Posted: Tue Jan 19, 2016 12:43 pm
by academyindia4
<< Content deleted By Admin >>