Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
VB record format

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
guptae

Moderator


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

PostPosted: Mon Feb 13, 2006 6:17 pm    Post subject: VB record format
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    Post subject:
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    Post subject:
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    Post subject: Re: VB record format
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    Post subject: DCB problem.
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts query to fetch record which has only ... maxsubrat DB2 12 Mon Dec 11, 2017 5:03 pm
No new posts Extract record for change in combinat... Trinadh DFSORT/ICETOOL 6 Thu Nov 23, 2017 3:32 pm
No new posts Extract Record using range of Data scorp_rahul23 DFSORT/ICETOOL 3 Wed Nov 15, 2017 11:54 pm
No new posts Squeeze record left so that zeroes ar... Vignesh Sid SYNCSORT 5 Fri Nov 10, 2017 1:40 pm
No new posts Formatting multiple records to a sing... Vignesh Sid SYNCSORT 3 Tue Nov 07, 2017 12:22 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us