SPACE param doubt



Help for IBM's record-oriented filesystem VSAM, ESDS, KSDS, RRDS, LDS and Storage management Subsystems

SPACE param doubt

Postby ranga_subham » Mon Oct 05, 2009 9:15 pm

Hi,

I am creating an output file -

//SYSUT01   DD DSN=OUT-FILE,
//             AVGREC=K,                                 
//             RECFM=VB,                                 
//             LRECL=31034,                             
//             BLKSIZE=31038,                               
//             VOL=(,,,10),                             
//             MGMTCLAS=MGMC01,                         
//             DISP=(NEW,CATLG,DELETE),                 
//             SPACE=(31034,(100,50),RLSE)               
//*                                                     


My doubt is whether I should refer LRECL or BLKSIZE in SPACE? I mean, Is SPACE=(31034,(100,50),RLSE) or SPACE=(31038,(100,50),RLSE) correct?

Thanks.
ranga_subham
 
Posts: 279
Joined: Fri Jul 18, 2008 7:46 pm
Has thanked: 0 time
Been thanked: 1 time

Re: SPACE param doubt

Postby dick scherrer » Mon Oct 05, 2009 11:21 pm

Hello,

Suggest you use TRK (or CYL) as the system will convert to TRKs anyway if blocklength is used. . . From the manual:
Primary Requests in Blocks

If you request space in terms of average block length, the system will compute and allocate the smallest number of tracks (or cylinders if ROUND is specified) to contain the number of blocks specified in primary-qty.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: SPACE param doubt

Postby ranga_subham » Tue Oct 06, 2009 12:28 am

Thanks.
ranga_subham
 
Posts: 279
Joined: Fri Jul 18, 2008 7:46 pm
Has thanked: 0 time
Been thanked: 1 time


Return to VSAM/SMS

 


  • Related topics
    Replies
    Views
    Last post