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

what are the possible RECFM ?


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

New User


Joined: 10 Jun 2005
Posts: 62

PostPosted: Wed Jun 15, 2005 9:47 am
Reply with quote

what are the possible RECFM ?

RECFM=FB
RECFM=VB
Back to top
View user's profile Send private message
shinjini_t

New User


Joined: 11 May 2005
Posts: 14
Location: Bangalore, India

PostPosted: Wed Jun 15, 2005 11:00 am
Reply with quote

RECFM=F/FB/V/VB/U/T are the various record formats.

U indicates that the records are undefined length.
V indicates that the records are variable length.
VS indicates that the records are variable length and spanned.
VBS indicates that the records are variable length, blocked, and spanned, and that the problem program must block and segment the records.
F indicates that the records are fixed length.
FB Indicates blocked fixed-length records.
T indicates that the records may be written using the track-overflow feature.
Back to top
View user's profile Send private message
kanak

Moderator


Joined: 12 Mar 2005
Posts: 252
Location: India

PostPosted: Wed Jun 15, 2005 11:43 am
Reply with quote

Possible Value for RECFM
Code:
 RECFM
 Value
------
 F   
 FB   
 FBS 
 FBT 
 FBST
 FS   
 FT   
 V   
 VB   
 VBS 
 VBT 
 VBST
 VS   
 VT   
 U   
 UT
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Wed Jun 15, 2005 7:45 pm
Reply with quote

You forgot to mention:

FA
FBA
VA
VBA
FM
FBM
VM
VBM

where A is ANSI Print Control and M is Machine Print Control.
Back to top
View user's profile Send private message
chakrimf

New User


Joined: 16 Jun 2005
Posts: 3
Location: bangalore

PostPosted: Thu Jun 16, 2005 2:11 am
Reply with quote

F - Fixed
FB - Fixed Blocked
V - Variable
VB - Variable Blocked
FBA - Fixed Block with carriage control as first character
VBA - Variable Block with carriage control as first character
U - Undefined
Back to top
View user's profile Send private message
i413678
Currently Banned

Active User


Joined: 19 Feb 2005
Posts: 112
Location: chennai

PostPosted: Thu Jun 16, 2005 8:14 pm
Reply with quote

Hi,

Normally U-undefined is used for load libraries.


pavan
Back to top
View user's profile Send private message
sudhakar_lendave

New User


Joined: 21 Nov 2006
Posts: 48
Location: mumbai

PostPosted: Fri Oct 05, 2007 11:32 am
Reply with quote

can someone please tell me,
what is the relation between the LRECL and BLKSIZE
for various RECFM's discussed here..?


Thanks in advance.
Back to top
View user's profile Send private message
swapnakotar

New User


Joined: 03 Oct 2007
Posts: 2
Location: bangalore

PostPosted: Fri Oct 05, 2007 12:55 pm
Reply with quote

sudhakar_lendave wrote:
can someone please tell me,
what is the relation between the LRECL and BLKSIZE
for various RECFM's discussed here..?


Thanks in advance.


Hai,
all

LRECL is the logical record lengt it willbe 80 for fixed record length ,
BLKSIZE is the block size it will be the LRECL*100



THANKS,
swapna.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19243
Location: Inside the Matrix

PostPosted: Fri Oct 05, 2007 1:17 pm
Reply with quote

Hello Swapna and welcome to the forums,

Quote:
BLKSIZE is the block size it will be the LRECL*100
Not necessarily. For fixed lentgh records, BLKZISE should be a multiple of lrecl.

Once upon a time it was important to calculate an efficient block size so the least amojnt of dasd space would be wasted. These days the system will generate an effecisnt blocksize, so the jcl need not specify one.
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1436
Location: Bangalore,India

PostPosted: Fri Oct 05, 2007 1:17 pm
Reply with quote

Swapna,

Quote:
LRECL is the logical record lengt it willbe 80 for fixed record length ,

I want LRECL to be 32000 (say)..... how can I achive this?

Quote:
BLKSIZE is the block size it eill be the LRECL*100

Why can't block size be in multiples of 30 (say).
Back to top
View user's profile Send private message
sudhakar_lendave

New User


Joined: 21 Nov 2006
Posts: 48
Location: mumbai

PostPosted: Fri Oct 05, 2007 2:10 pm
Reply with quote

Still i am searching for the answer..

Dick,
If system finds the eficient Blksize, then what is the meaning of
F(fixed length records).
FB (blocked fixed-length records.)
and FBA ....
so as for V, VB, VBA
in context of BLKSIZE?

Plz let me know if i am on wrong track!
Back to top
View user's profile Send private message
khamarutheen

Active Member


Joined: 23 Aug 2005
Posts: 677
Location: NJ

PostPosted: Fri Oct 05, 2007 3:18 pm
Reply with quote

Hi,

I see a JCL with below DCB ... Is it mean that Blocksize is recognized by system??? If not if it is 0 then how does it work??

DCB=(RECFM=FB,LRECL=20,BLKSIZE=0)

I have thought in my training that if it is VB the we should mention the BLKSIZE where 4 bytes will be allocated if it is VB ..

Can any one clear me !!!
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1436
Location: Bangalore,India

PostPosted: Fri Oct 05, 2007 5:19 pm
Reply with quote

khamaurutheen,

Quote:
Is it mean that Blocksize is recognized by system

As Dick highlighted, System generates the efficient block size.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19243
Location: Inside the Matrix

PostPosted: Fri Oct 05, 2007 9:41 pm
Reply with quote

Hello,

Quote:
then what is the meaning of
F(fixed length records).
FB (blocked fixed-length records.)
and FBA ....
F would be fixed-length, unblocked. It is rarely used, but if specified, lrecl will equal blksize.
FB would be fixed-length, blocked. This puts multiple logical records in a physical block, greatly reducing input/output operations. When blocking records, a blksize should be used that wastes little space. As mentioned previously, the system will generate an efficient blksize.
FBA is basically the same ad FB except that printer control characters are in the first byte of each record.

The Vs asre similar.
Back to top
View user's profile Send private message
sudhakar_lendave

New User


Joined: 21 Nov 2006
Posts: 48
Location: mumbai

PostPosted: Fri Oct 05, 2007 10:31 pm
Reply with quote

Thanks Dick.

That's what i was searching for.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19243
Location: Inside the Matrix

PostPosted: Fri Oct 05, 2007 11:20 pm
Reply with quote

You're welcome icon_smile.gif
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 Record count of RECFM=U tape file DFSORT/ICETOOL 17
No new posts How to browse RECFM=VBS DSORG=PSE seq... JCL & VSAM 7
No new posts INVALID RECFM FOR DDNAME SYSLIN AND C... All Other Mainframe Topics 7
No new posts Getting information (RECFM/LRECL/BLKS... COBOL Programming 3
No new posts Copy RECFM =VB TO FB file with RECL =... DFSORT/ICETOOL 3
Search our Forums:

Back to Top