IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

VB record format


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
guptae

Moderator


Joined: 14 Oct 2005
Posts: 1208
Location: Bangalore,India

PostPosted: Mon Feb 13, 2006 6:17 pm
Reply with quote

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
View user's profile Send private message
Paddy

New User


Joined: 12 Sep 2005
Posts: 46
Location: Paris France

PostPosted: Mon Feb 13, 2006 7:10 pm
Reply with quote

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
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Tue Feb 14, 2006 6:40 am
Reply with quote

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
View user's profile Send private message
raghunathns

Active User


Joined: 08 Dec 2005
Posts: 127
Location: rochester

PostPosted: Tue Feb 14, 2006 2:29 pm
Reply with quote

i think it should be specified in

DCB=(RECFM=VB,LRECL=12030,BLKSIZE=0)

try..
Back to top
View user's profile Send private message
Dariusz
Warnings : 1

New User


Joined: 11 Aug 2005
Posts: 27
Location: POLAND

PostPosted: Tue Feb 14, 2006 6:15 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Populate last day of the Month in MMD... SYNCSORT 2
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts Modifying Date Format Using DFSORT DFSORT/ICETOOL 9
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
Search our Forums:

Back to Top