Re: Variable Length Input File
- From: "William M. Klein" <wmklein@xxxxxxxxxxxxxxxxx>
- Date: Thu, 21 Dec 2006 22:36:14 GMT
Are you saying that the input file isn't always the SAME input file? Does it
always have the same fields in it?
What are the characteristics of the file?
COBOL does NOT handle well cases where the input may be one file today and
another (differently defined) file tomorrow. It does handle well cases where
the same RECFM=V is used and different length records appear in the file.
--
Bill Klein
wmklein <at> ix.netcom.com
<manubay@xxxxxxxxxxx> wrote in message
news:1166727602.664630.95240@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxx wrote:
In article <1166725014.449314.160860@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
<manubay@xxxxxxxxxxx> 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
.
- References:
- Variable Length Input File
- From: manubay
- Re: Variable Length Input File
- From:
- Re: Variable Length Input File
- From: manubay
- Re: Variable Length Input File
- From:
- Re: Variable Length Input File
- From: manubay
- Variable Length Input File
- Prev by Date: Re: running rm cobol in a cron job
- Next by Date: Re: Celebrating the creator of Cobol
- Previous by thread: Re: Variable Length Input File
- Next by thread: Re: Variable Length Input File
- Index(es):
Relevant Pages
|
|