Sequential File
- From: "Praveen" <praveen.unnithan@xxxxxxxxx>
- Date: 28 Jun 2005 04:05:50 -0700
Hi,
I am a newbie in MVS-Cobol. When I tried to allocate a Sequential file
of LRECl=60 using the following code...
//STEP02 EXEC PGM=IEFBR14
//DD01 DD DSN=AISPAS.STUDENT.DATA,
// DISP=(NEW,CATLG,DELETE),
// UNIT=SYSDA,
// SPACE=(CYL,(50,50)),
// DCB=(BLKSIZE=0,LRECL=60,RECFM=FB)
I got the file length as 60 but of which 52 is used for data storage
and the rest 8 length was used up for storing number
00000100
00000200
00000300
....etc
sample record from the file
=COLS> ----+----1----+----2----+----3----+----4----+----5----+----6
000100 record0001 RIYU SHAH 24 34/789 alabama US 895636 00000100
Thus even though I am allocating a record of length 60 I am not able to
utilize the whole length. Can I know where I gone wrong in here?
Thank a lot in advance.
regards,
Praveen.
.
- Follow-Ups:
- Re: Sequential File
- From: docdwarf
- Re: Sequential File
- Prev by Date: Re: Declaration of INDEXED file
- Next by Date: Re: interesting use of NEXT SENTENCE vs. CONTINUE
- Previous by thread: VisOC and /SUBSYSTEM:CONSOLE
- Next by thread: Re: Sequential File
- Index(es):
Relevant Pages
|