View previous topic :: View next topic
|
Author |
Message |
sangiah
New User
Joined: 10 Jun 2005 Posts: 62
|
|
|
|
what are the possible RECFM ?
RECFM=FB
RECFM=VB |
|
Back to top |
|
|
shinjini_t
New User
Joined: 11 May 2005 Posts: 14 Location: Bangalore, India
|
|
|
|
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 |
|
|
kanak
Moderator
Joined: 12 Mar 2005 Posts: 252 Location: India
|
|
|
|
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 |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
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 |
|
|
chakrimf
New User
Joined: 16 Jun 2005 Posts: 3 Location: bangalore
|
|
|
|
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 |
|
|
i413678 Currently Banned Active User
Joined: 19 Feb 2005 Posts: 112 Location: chennai
|
|
|
|
Hi,
Normally U-undefined is used for load libraries.
pavan |
|
Back to top |
|
|
sudhakar_lendave
New User
Joined: 21 Nov 2006 Posts: 48 Location: mumbai
|
|
|
|
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 |
|
|
swapnakotar
New User
Joined: 03 Oct 2007 Posts: 2 Location: bangalore
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
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 |
|
|
murmohk1
Senior Member
Joined: 29 Jun 2006 Posts: 1436 Location: Bangalore,India
|
|
|
|
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 |
|
|
sudhakar_lendave
New User
Joined: 21 Nov 2006 Posts: 48 Location: mumbai
|
|
|
|
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 |
|
|
khamarutheen
Active Member
Joined: 23 Aug 2005 Posts: 677 Location: NJ
|
|
|
|
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 |
|
|
murmohk1
Senior Member
Joined: 29 Jun 2006 Posts: 1436 Location: Bangalore,India
|
|
|
|
khamaurutheen,
Quote: |
Is it mean that Blocksize is recognized by system |
As Dick highlighted, System generates the efficient block size. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
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 |
|
|
sudhakar_lendave
New User
Joined: 21 Nov 2006 Posts: 48 Location: mumbai
|
|
|
|
Thanks Dick.
That's what i was searching for. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
You're welcome |
|
Back to top |
|
|
|