From: manubay on
Is there a way in Cobol to handle an input file that has variable
LRECL? If there is, how would it be defined in the FD section? Thank
you.

From: Anonymous on
In article <1166720886.579682.68830(a)42g2000cwt.googlegroups.com>,
<manubay(a)pacbell.net> wrote:
>Is there a way in Cobol to handle an input file that has variable
>LRECL?

Yes.

>If there is, how would it be defined in the FD section?

The way the manual tells it usually works.

>Thank you.

You're quite welcome.

DD

From: manubay on
Will it work on MVS COB 370 compiler? How should i define the PIC
clause? Unfortunately, I don't have a manual. Thanks again.

Regards,
Greg



docdwarf(a)panix.com wrote:
> In article <1166720886.579682.68830(a)42g2000cwt.googlegroups.com>,
> <manubay(a)pacbell.net> wrote:
> >Is there a way in Cobol to handle an input file that has variable
> >LRECL?
>
> Yes.
>
> >If there is, how would it be defined in the FD section?
>
> The way the manual tells it usually works.
>
> >Thank you.
>
> You're quite welcome.
>
> DD

From: Anonymous on
In article <1166725014.449314.160860(a)i12g2000cwa.googlegroups.com>,
<manubay(a)pacbell.net> wrote:
>Will it work on MVS COB 370 compiler?

I've had no troubles in that environment.

>How should i define the PIC
>clause?

That depends on the file.

>Unfortunately, I don't have a manual.

This might help:

<http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/FRAMESET/IGY3LR10/CCONTENTS?DT=20020920180651>

>Thanks again.

You're quite welcome.

DD
From: manubay on
I think I didn't explain my problem well. Maybe it'll be better with
an example. Let's say, I have file called TESTA. 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?

Regards,
Greg

docdwarf(a)panix.com wrote:
> In article <1166725014.449314.160860(a)i12g2000cwa.googlegroups.com>,
> <manubay(a)pacbell.net> wrote:
> >Will it work on MVS COB 370 compiler?
>
> I've had no troubles in that environment.
>
> >How should i define the PIC
> >clause?
>
> That depends on the file.
>
> >Unfortunately, I don't have a manual.
>
> This might help:
>
> <http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/FRAMESET/IGY3LR10/CCONTENTS?DT=20020920180651>
>
> >Thanks again.
>
> You're quite welcome.
>
> DD