Getting VSAM code 44?

Virtual Storage Access method - ESDS, KSDS, RRDS & LDS. Basic direct access method, Basic sequential -, Queued sequential -, Basic partitioned -, Indexed sequential -, Object - access method.
Previous topicNext topic

Topic Author
Anil
Registered Member
Posts: 58
Joined: Sun Jun 16, 2013 12:41 am
Zodiac: Sagittarius

Getting VSAM code 44?

Post by Anil » Mon Dec 11, 2017 11:29 pm

Hi,

I am getting VSAM Status 44. When I looked for it's explnation it shows:

Code: Select all

A BOUNADRY VIOLATION DUE TO ATTEMPT TO WRITE A RECORD OF IMPROPER LENGTH 
What is the meaning of that, how to solve it ? Please help me.


Thanks,
Anil


enrico-sorichetti
Global Moderator
Global Moderator
Posts: 892
Joined: Wed Sep 11, 2013 3:57 pm

Re: Getting VSAM code 44?

Post by enrico-sorichetti » Tue Dec 12, 2017 12:04 am

the length of record that You are trying to write does not agree with the record length of the vsam cluster
speck To your support to find out the characteristics of the VSAM cluster and WHY there is a mismatch between the COPYBOOK and the same


cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort 8-)

User avatar

Robert Sample
Global Moderator
Global Moderator
Posts: 1379
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
Zodiac: Virgo

Re: Getting VSAM code 44?

Post by Robert Sample » Tue Dec 12, 2017 12:55 am

The COBOL FD for the VSAM data set needs to match the physical attributes the data set has; each WRITE or REWRITE also needs to match the COBOL FD. A file status 44 means the program is attempting to write a record larger (or smaller) than the FD specified, or a REWRITE is being attempted where the record length is not the same as the record that was read.

This information is EASILY available in the Enterprise COBOL Language Reference manual -- why did you not read that first?



Previous topicNext topic

Return to “SMS & VSAM and BDAM, BSAM, QSAM, BPAM, ISAM, OAM.”