Hi,
A programmer is reformatting & copying only one record from input file to output file. But, the output file is declared as multi-vol dataset. When asked he says it will not occupy more space because RLSE is used on SPACE parameter !
Would you please explain how we decide using multi-vol despite giving large space requirement (CYL,(100,100),RLSE)?
Thanks.
Space occupation by multi-vol DSN.
-
- Posts: 279
- Joined: Fri Jul 18, 2008 7:46 pm
- Skillset: JCL,COBOL,DB2,IMS/DB,CICS,VSAM
- Referer: I was banned by superk in main forum so I am here
- dick scherrer
- Global moderator
- Posts: 6268
- Joined: Sat Jun 09, 2007 8:58 am
Re: Space occupation by multi-vol DSN.
Hello,
If the program only writes one record and RLSE is used, yes it will not occupy more space when the step ends. It will need to allocate 100 cyls in the first place. If the process will only ever write 1 record, the allocation is questionable at best. Why would "they" want an initial allocation of 100 cyls if it will never be used.
Your question is not clear. . . Please clarify.Would you please explain how we decide using multi-vol despite giving large space requirement (CYL,(100,100),RLSE)?
If the program only writes one record and RLSE is used, yes it will not occupy more space when the step ends. It will need to allocate 100 cyls in the first place. If the process will only ever write 1 record, the allocation is questionable at best. Why would "they" want an initial allocation of 100 cyls if it will never be used.
Hope this helps,
d.sch.
d.sch.
-
- Similar Topics
- Replies
- Views
- Last post
-
-
remove leading special chars, space & trailing special char
by srihemz » Tue Jun 30, 2020 8:06 pm » in DFSORT/ICETOOL/ICEGENER - 2
- 3872
-
by sergeyken
View the latest post
Wed Jul 01, 2020 4:55 pm
-