MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

DCB parameters based on old file?

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
vak255
Intermediate


Joined: 10 Sep 2004
Posts: 384
Topics: 79

PostPosted: Mon Oct 09, 2006 11:10 am    Post subject: DCB parameters based on old file? Reply with quote

I have a input file, from which I need only copy only the account numbers which is 13 in length. I have given the following space parameters. can anyone please let me know how to calculate the space parameter for this new acct file?

input file:
Quote:

//SORTOUT DD DSN=AQID@.T340HDR.FILE.A.SORT(+1),
// DISP=(NEW,CATLG,DELETE),
// SPACE=(CYL,(900,500),RLSE),
// UNIT=SYSDA,
// DCB=*.SORTIN

Tracks Allocated: 13500 Cyls: 900
Tracks Used: 13500 Cyls: 900 100%
Nbr Of Extents: 1
Secondary Space: 500 Cyls



Output file: acct FILE

Quote:

DSN=AQID@.THDR.ACCTS(+1),
DISP=(NEW,CATLG,DELETE),
UNIT=SYSDA,
SPACE=(CYL,(10,5),RLSE),DCB=(RECFM=FB,LRECL=13)
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12367
Topics: 75
Location: San Jose

PostPosted: Mon Oct 09, 2006 11:18 am    Post subject: Reply with quote

vak255,

Please search before posting. Check this link

http://www.mvsforums.com/helpboards/viewtopic.php?t=28&highlight=space

Hope this helps...

Cheers

Kolusu
_________________
Kolusu - DFSORT Development Team (IBM)
DFSORT is on the Web at:
www.ibm.com/storage/dfsort

www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group