[Default] On 21 Aug 2017 05:39:28 -0700, in bit.listserv.ibm-main
[email protected] (scott Ford) wrote:

>Guys/Gals:
>
>I need some help on a error I am not real familiar with in Cobol.
>I need write a generalized file-handler for files. Where do I start ?
>These are mostly QSAM files.. but i have to deal with Open/close/empty
>files, wrong length records...I have seen U1035 or similar errors and have
>done some reading in the manuals. Whats the easiest most effective method
>to handle file errors ?

What are the characteristics of this file handler and how is it to be
use?  If this is to be a utility for any file, COBOL may not be
appropriate.  You would at least have to have separate FDs for
non-VSAM versus VSAM and FB non-VSAM versus VB non-VSAM versus V
non-VSAM.  While you at least used to be able to have RECORD 0, BLOCK
0 for input I don't recall what the limitations were on how you
described the record.  There are some cute things that can be done
with COBOL but there are limits.  

Clark Morris
>
>Regards,
>Scott

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to