× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Thank you Simon.  You've always been a great source of information.

Rob Berendt
-- 
"They that can give up essential liberty to obtain a little temporary 
safety deserve neither liberty nor safety." 
Benjamin Franklin 





"Simon Coulter" <shc@xxxxxxxxxxxxxxxxx>
Sent by: midrange-l-bounces@xxxxxxxxxxxx
06/05/2003 08:11 PM
Please respond to Midrange Systems Technical Discussion
 
        To:     "Midrange Systems Technical Discussion" 
<midrange-l@xxxxxxxxxxxx>
        cc: 
        Fax to: 
        Subject:        Re: DBCS and disk space



Hello Rob,

You wrote:
>They are in the planning stages and wanted to know the disk impact of 
>this, if any.  Might be a stupid question, but does DBCS take double the 
>disk space?

No it does not. A DBCS system will probably require more DASD than an SBCS 
system 
but it depends on how data is stored.

Program code is no different on DBCS and SBCS systems so they don't occupy 
more 
space. Files on DBCS systems are capable of holding SBCS data so existing 
single 
byte data, such as source code, will not occupy more space. Where you may 
see an 
increase in disk space is for things like message text **IF** you use DBCS 
text 
in the message body. Also translated IBM panels and message files may 
occupy more 
space.

DBCS systems allow you to define fields that contain only SBCS data, only 
DBCS 
data, or a mixture of both using ShiftOut and ShiftIn characters.

Note that all fields (database, display, print, etc) generally have a 
fixed size 
thus they occupy the same number of bytes regardless of whether they hold 
SBCS or 
DBCS data. For example a 50-byte DBCS Open field could hold 50 characters 
of SBCS 
text or 24 characters of DBCS text. In either case there is no increase in 
disk 
space used.

Most DASD increase occurs on DBCS systems simply because each DBCS 
character 
occupies two bytes and thus address fields etc. have to be increased to 
allow say 
30 DBCS characters instead of the 15 that would be allowed with a standard 

30-byte field.

Appendix E of the DDS Reference has some useful information about DBCS 
considerations.

My system is running DBCS English as the primary language. I have SBCS 
English, 
French, German, Italian, Spanish, Japanese, Korean, Traditional Chinese, 
and 
Simplified Chinese installed as secondary languages.

Regards,
Simon Coulter.
--------------------------------------------------------------------
   FlyByNight Software         AS/400 Technical Specialists 
 
   http://www.flybynight.com.au/ 
   Phone: +61 3 9419 0175   Mobile: +61 0411 091 400        /"\ 
   Fax:   +61 3 9419 0175   mailto: shc@xxxxxxxxxxxxxxxxx   \ / 
                                                             X 
                 ASCII Ribbon campaign against HTML E-Mail  / \ 
--------------------------------------------------------------------

_______________________________________________
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing 
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.