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 Fetch Previous month & year in MM... girishb2 DFSORT/ICETOOL 3 Thu Sep 21, 2017 9:54 pm
No new posts Convert rows and column into JSON for... Dinesh Manivannan DB2 2 Sun Sep 03, 2017 6:50 pm
No new posts Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 pm
No new posts Repeat part of record multiple times Learncoholic DFSORT/ICETOOL 4 Tue Aug 29, 2017 11:33 am
No new posts FTP data transfer from PC to Mainfram... AJAYREDDY All Other Mainframe Topics 8 Wed Aug 23, 2017 9:59 pm

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