View previous topic :: View next topic
|
Author |
Message |
guptae
Moderator
Joined: 14 Oct 2005 Posts: 1208 Location: Bangalore,India
|
|
|
|
I am using following DSN in my jcl. After running the job Fixed block file is created .I dont know why?
DSN=TBH2.LOAD.ILF007VW.DATA,DISP=(,CATLG),
SPACE=(12030,(1,1),RLSE),AVGREC=K,
RECFM=VB,LRECL=12030 |
|
Back to top |
|
|
Paddy
New User
Joined: 12 Sep 2005 Posts: 46 Location: Paris France
|
|
|
|
Hi gupdate,
Your SPACE instruction describe an average record lenght equal to LRECL. I think what you should code an average record lower than LRECL and you will get a variable record with max=LRECL and average = first space instruction.
I hope in this help.
Regards.
Paddy |
|
Back to top |
|
|
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1592
|
|
|
|
Hi Ekta,
How does the pgm define the file? How does it process the file?
It's possible to get fixed length recs in a VB file. You'll have to show us more info re. the problem. |
|
Back to top |
|
|
raghunathns
Active User
Joined: 08 Dec 2005 Posts: 127 Location: rochester
|
|
|
|
i think it should be specified in
DCB=(RECFM=VB,LRECL=12030,BLKSIZE=0)
try.. |
|
Back to top |
|
|
Dariusz Warnings : 1 New User
Joined: 11 Aug 2005 Posts: 27 Location: POLAND
|
|
|
|
Hi.
We know very good how DCB supports to program:
1. DCB from program instruction
2. DCB from JCL
3. DCB from file
Above order is very important.
It is very possible,that your program defines DCB.
If yes,then (2) & (3) impossible.
Regards. |
|
Back to top |
|
|
|