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
 

 

what are the possible RECFM ?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: what are the possible RECFM ?
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    Post subject: Re: what are the possible RECFM ?
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    Post subject:
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

Moderator Team Head


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

PostPosted: Wed Jun 15, 2005 7:45 pm    Post subject: Re: what are the possible RECFM ?
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    Post subject: hi
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    Post subject: RECFM............
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    Post subject:
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    Post subject: between the LRECL and BLKSIZE
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

Site Director


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

PostPosted: Fri Oct 05, 2007 1:17 pm    Post subject:
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: 1439
Location: Bangalore,India

PostPosted: Fri Oct 05, 2007 1:17 pm    Post subject:
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    Post subject:
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: 680
Location: NJ

PostPosted: Fri Oct 05, 2007 3:18 pm    Post subject: Block
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: 1439
Location: Bangalore,India

PostPosted: Fri Oct 05, 2007 5:19 pm    Post subject:
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

Site Director


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

PostPosted: Fri Oct 05, 2007 9:41 pm    Post subject:
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    Post subject:
Reply with quote

Thanks Dick.

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

Site Director


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

PostPosted: Fri Oct 05, 2007 11:20 pm    Post subject:
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    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 Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm
No new posts PL/I: opening file w/ dynamically det... Sam Dodgers PL/I & Assembler 6 Wed Jul 27, 2016 4:05 pm
No new posts SORT Format should be RECFM=VB,LRECL=350 senthamizh SYNCSORT 8 Fri Jan 15, 2016 8:20 pm
No new posts converting RECFM=U file to VB or FB file kenshin JCL & VSAM 6 Tue Oct 20, 2015 12:06 am
No new posts COBOL File Declaration for RECFM=VBS ... thinkmsk COBOL Programming 4 Fri Apr 03, 2015 3:31 pm


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