Hi Gadi, I used PK6.8 as input and 11.8 as output. But, the data did not appear as displayable. It's still in packed decimal format.
Is there some sort of conversion required? Thanks, Parin Parin Gangar Global Ops Tech (BACS-MLITS) Direct# +1-215-377-5598 -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of [email protected] Sent: Tuesday, August 04, 2009 1:16 PM To: [email protected] Subject: Re: SAS query I think it would be PK6.8. Your variable has 11 digits (3 before the decimal point and 8 after). In packed decimal, Each digit occupies half a byte, so 11 digits need 6 bytes. For output use 11.8 if you want all of the digits after the decimal point. If you want to preserve leading zeroes, you can use z11.8. Gadi -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Gangar, Parin (MLITS) Sent: Tuesday, August 04, 2009 10:30 AM To: [email protected] Subject: SAS query Hi, I am trying to read an unsigned variable 999V9(8) COMP-3 in SAS. What should be the format to read this - PK3.8 ? I also want to output this variable in normal displayable format. What should I use as output format? Z6.2 ?? Should I create any temporary variable with the output format and move the input variable data to output variable data and use for printing ? I am using PUT for printing. Thanks, Parin Parin Gangar Global Ops Tech (BACS-MLITS) Direct# +1-215-377-5598 -------------------------------------------------------------------------- This message w/attachments (message) may be privileged, confidential or proprietary, and if you are not an intended recipient, please notify the sender, do not use or share it and delete it. Unless specifically indicated, this message is not an offer to sell or a solicitation of any investment products or other financial product or service, an official confirmation of any transaction, or an official statement of Merrill Lynch. Subject to applicable law, Merrill Lynch may monitor, review and retain e-communications (EC) traveling through its networks/systems. The laws of the country of each sender/recipient may impact the handling of EC, and EC may be archived, supervised and produced in countries other than the country in which you are located. This message cannot be guaranteed to be secure or error-free. References to "Merrill Lynch" are references to any company in the Merrill Lynch & Co., Inc. group of companies, which are wholly-owned by Bank of America Corporation. Secu! ! rities and Insurance Products: * Are Not FDIC Insured * Are Not Bank Guaranteed * May Lose Value * Are Not a Bank Deposit * Are Not a Condition to Any Banking Service or Activity * Are Not Insured by Any Federal Government Agency. Attachments that are part of this E-communication may have additional important disclosures and disclaimers, which you should read. This message is subject to terms available at the following link: http://www.ml.com/e-communications_terms/. By messaging with Merrill Lynch you consent to the foregoing. -------------------------------------------------------------------------- ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html לשימת לבך, בהתאם לנהלי החברה וזכויות החתימה בה, כל הצעה, התחייבות או מצג מטעם החברה, מחייבים מסמך נפרד וחתום על ידי מורשי החתימה של החברה, הנושא את לוגו החברה או שמה המודפס ובצירוף חותמת החברה. בהעדר מסמך כאמור (לרבות מסמך סרוק) המצורף להודעת דואר אלקטרוני זאת, אין לראות באמור בהודעה אלא משום טיוטה לדיון, ואין להסתמך עליה לביצוע פעולה עסקית או משפטית כלשהי. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

