Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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 Record Not found in AlX but record re... mukun264 COBOL Programming 6 Fri Mar 24, 2017 9:28 am
No new posts Count the length of the record & ... sreekusr DFSORT/ICETOOL 4 Thu Mar 23, 2017 7:52 pm
No new posts How to pick only YYMMDD from DATE1P (... atulbaviskar SYNCSORT 7 Wed Mar 22, 2017 11:39 am
No new posts Date and time format in CICS Chandru3183 CICS 2 Sat Mar 18, 2017 12:46 pm
No new posts IMS DB-How to update a record (a sing... Nic Clouston IMS DB/DC 9 Thu Mar 09, 2017 4:38 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us