|
Patrick, I think I remember from prior postings that RPGIV is not specifically optimized to use packed numerics. That was a design feature of RPGIII and prior. I don't believe that binary data types in Physical files are stored as packed. Again, I think that's an issue with <= RPGIII that no longer applies to RPGIV. Eric DeLong Sally Beauty Company MIS-Sr. Programmer/Analyst 940-898-7863 or ext. 1863 -----Original Message----- From: PatrickConner@parkdalemills.com [mailto:PatrickConner@parkdalemills.com] Sent: Tuesday, September 25, 2001 9:37 AM To: rpg400-l@midrange.com Subject: Packed vs. Zoned The other day I was discussing the differences/advantages of packed numerics vs. zoned numerics in physical files. This was brought up by the fact that zoned becomes packed during the compile unless explicitly defined. One of the benefits of packed is that it is supposed to perform better. What other reasons are there for this? Also, consider packed vs. binary. I understand that if I define a binary field in a physical file the compiler will convert it to packed. Is it true that the packed field is then converted to binary to be processed at the MI level (or somewhere down there) to be reconverted back to packed on the way back up? Patrick Conner www.ConnecTown.com (828) 244-0822 _______________________________________________ This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l or email: RPG400-L-request@midrange.com Before posting, please take a moment to review the archives at http://archive.midrange.com/rpg400-l.
As an Amazon Associate we earn from qualifying purchases.
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.