Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref

Author Message
saipv

New User

Joined: 15 Apr 2005
Posts: 8

 Posted: Fri May 26, 2006 9:28 pm    Post subject: Decimal conversion PVPR-WGT PIC 9(05). MAP-WGT PIC X(05). FILLER REDEFINES MAP-WGT. 15 MAP-WGT-EDT PIC ZZZZZ. MOVE PVPR-WGT TO MAP-WGT-EDT INSPECT MAP-WGT-EDT REPLACING LEADING ZEROS BY SPACES When the value of PVPR-WGT is 544.8 after the above statement, the value of MAP-WGT-EDT becomes 5448 but if PVPR-WGT is 54.48 then abend (decimal exception) why?

DavidatK

Active Member

Joined: 22 Nov 2005
Posts: 700
Location: Troy, Michigan USA

 Posted: Fri May 26, 2006 11:39 pm    Post subject: Re: Decimal conversion saipv, I'm a little confused about your question. with PVPR-WGT defined as a PIC 9(05), how does it have a value of 544.8? Dave

Active User

Joined: 31 May 2006
Posts: 200
Location: Netherlands

 Posted: Thu Jun 01, 2006 4:57 pm    Post subject: Are you sure about the data type of PVPR-WGT , is it PIC 9(05). or S9(05).9.
 All times are GMT + 6 Hours
 Page 1 of 1

Search our Forum:

 Topic Author Forum Replies Posted Similar Topics How to group and sum the decimal value sakrat DFSORT/ICETOOL 2 Tue Mar 06, 2018 9:13 pm Conversion of DLI update Jobs as BMP ... Gopinath Shanmugam IMS DB/DC 3 Wed Dec 20, 2017 12:02 pm Conversion of UTF-8 to EBCDIC muralikrishnan_new COBOL Programming 1 Tue Nov 21, 2017 5:33 pm Mainframe Blocks to Tracks conversion upendrasri JCL & VSAM 1 Sat Nov 18, 2017 10:52 am Extend the decimal values in DIVISION Balaryan DFSORT/ICETOOL 3 Thu Oct 05, 2017 4:05 pm

 © 2003-2017 IBM MAINFRAME Software Support Division
 Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us