Re: Variable Length Input File



In article <4vf1ffF1c13jbU1@xxxxxxxxxxxxxxxxxx>,
Pete Dashwood <dashwood@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:

<docdwarf@xxxxxxxxx> wrote in message news:emsgci$spv$1@xxxxxxxxxxxxxxxxxxxx
In article <4vdr12F1botahU1@xxxxxxxxxxxxxxxxxx>,
Pete Dashwood <dashwood@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
I have a question, please, Doc.

[snip]

If the JCL specifies a block size of 27990 (nicely divisible by 30, 933
times), and the COBOL program is specifying a block/record size of 32767,
wouldn't this be likely to cause an IO error when the dataset is opened?

[snip]

I posted code which I believed was in accordance with this - it is a new
technique for me and I'm not quite sure I got it right - and, likewise,
posted the results (an ABEND). If there's something else I should be
doing then, by all means, post the code - both COBOL and JCL - and I'll be
more than happy to compile it and show the results.

As I don't have access to this environment I can't do it myself, but I'd be
very interested to see what happens if the Picture of the 01 following the
FD was made the same as the LRECL size...

Therein lies the difficulty, Mr Dashwood... as I understand the original
poster's request the LRECL of TESTA changes from one run to the next;
there is no *the* LRECL size. Once again, from
<http://groups.google.com/group/comp.lang.cobol/msg/e2bd0f47c45850c8?dmode=source>

--begin quoted text:

TESTA doesn't always have the same LRECL. Sometime TESTA will be defined
in the JCL with LRECL=30. Other times, it will be have LRECL=70. And so
on. My problem is how should TESTA be represented in FD?

--end quoted text

DD

.



Relevant Pages

  • Re: Variable Length Input File
    ... Pete Dashwood wrote: ... very interested to see what happens if the Picture of the 01 following the ... FD was made the same as the LRECL size... ... TESTA doesn't always have the same LRECL. ...
    (comp.lang.cobol)
  • Re: Variable Length Input File
    ... Pete Dashwood wrote: ... poster's request the LRECL of TESTA changes from one run to the next; ... there is no *the* LRECL size. ... TESTA doesn't always have the same LRECL. ...
    (comp.lang.cobol)
  • Re: Variable Length Input File
    ... Pete Dashwood wrote: ... times), and the COBOL program is specifying a block/record size of 32767, ... I posted code which I believed was in accordance with this - it is a new ...
    (comp.lang.cobol)
  • Re: Variable Length Input File
    ... Pete Dashwood wrote: ... times), and the COBOL program is specifying a block/record size of 32767, ... I posted code which I believed was in accordance with this - it is a new ...
    (comp.lang.cobol)