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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

File Status 44

Status
Not open for further replies.

kcfinch

Programmer
Nov 18, 2003
2
US
My cobol program is giving a file status 44 on a write command of a record to a ksds vsam file. The FD record layout for the record of this file in the program is 250. The file is defined to the system with a record length of 250. I do not understand how this file status 44 could be happening??
 
Your record must have some variable data in it (OCCURS DEPENDING ON, or multiple 01's for the file?). Can you post the SELECT, FD, record definitions and WRITE statement?

Regards.

Glenn
 
What Glenn said. Also, note that status 44 only happens when trying to WRITE or REWRITE a different size record. Check your field sizes, especially the computational, binary, packed and the like - that's where miscounting usually occurs.

Dimandja
 
Check the compilation listing - it will tell you how long it really thinks the record area is, and whether or not it is fixed or variable length.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top