Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Convert packed decimal to display format 000.00 through SAS

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
sgupta9

New User


Joined: 16 Jul 2008
Posts: 12
Location: pune

PostPosted: Tue Aug 10, 2010 8:24 pm    Post subject: Convert packed decimal to display format 000.00 through SAS
Reply with quote

My SAS program takes an input field in PD(packed decimal) format ex PD8.2 and i want output in number format 000000000000.00

While using PUT function,what will be the declaration to get output displayed as given above.

WEXNETVOL Z13.2 or WEXNETVOL ZD13.2 or WEXNETVOL 13.2

or any other way.


Thanks,
Shweta
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8124
Location: East Dubuque, Illinois, USA

PostPosted: Tue Aug 10, 2010 10:08 pm    Post subject:
Reply with quote

Z13.2 will put leading zeroes on the output.
Back to top
View user's profile Send private message
Phrzby Phil

Active Member


Joined: 31 Oct 2006
Posts: 964
Location: Richmond, Virginia

PostPosted: Wed Aug 11, 2010 8:31 am    Post subject:
Reply with quote

sgupta9 -

Even if you cannot read SAS documentation, which is quite well organized, you could not easily test this, esp. since you had just a few possible answers?
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Convert CLIST to REXX cvnlynn CLIST & REXX 12 Tue Jun 27, 2017 2:06 am
No new posts Display upon console bipinpeter COBOL Programming 1 Thu Jun 22, 2017 12:35 am
No new posts Need to write record of PS File in ex... Chandan1993 JCL & VSAM 1 Wed Jun 07, 2017 1:35 am
No new posts READ A PACKED "NEGATIVE" FI... jdesouza CA Products 3 Tue May 02, 2017 11:43 pm
No new posts Format record to remove Leading zeroes Learncoholic DFSORT/ICETOOL 14 Wed Apr 05, 2017 2:43 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us