On Mon, 6 Jun 2005 10:02:47 -0700, Charles Mills <[EMAIL PROTECTED]> wrote:

>If DDNAME is being opened for input, can you get away with overriding
>the LRECL? That is, explicitly coding
>
>//DDNAME DD LRECL=mmm+4, ...
>
>Even though the DSCB LRECL is greater than that - although presumably
>the maximum length of any record in the file, or any record that you are
>actually going to read, is no greater than mmm+4.
>
>If not, perhaps a little background would help. Is this an input or an
>output file? Why would you want to do this? COBOL seems like it is
>trying to keep you out of trouble.


Output, but the situation is more general than that.   The usual mass of
backward compatibility and non-technical/financial constraints.

We have a widely used Assembler subroutine that was employed to paginate
reports.   As part of a long term policy from on high we are working to
convert this to HLL which means C or COBOL here.

So there are umpty beaucoup different jobs which depend on the assembler
routine tolerating this quirk.

If the COBOL one doesn't tolerate it we have to fix maybe 2000 JCL decks
or do something clever, and the whole point of rewriting in HLL is NOT to
do something clever.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to