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
 

 

FIXED DEC(15,2) to PIC conversion in PLI

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler
View previous topic :: :: View next topic  
Author Message
Kunal Surpurkar

New User


Joined: 15 Nov 2012
Posts: 47
Location: India

PostPosted: Wed Feb 19, 2014 4:47 pm    Post subject: FIXED DEC(15,2) to PIC conversion in PLI
Reply with quote

Dear Team,

I have a requirement wherein I need to move a variable of FIXED DEC(15,2) to PIC clause.

I am new to PLI. I have searched for this on Google, but could not get much information.

It would be really great if someone can help me with this.

Thanks a lot in advance.
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10201
Location: italy

PostPosted: Wed Feb 19, 2014 6:01 pm    Post subject: Reply to: FIXED DEC(15,2) to PIC conversion in PLI
Reply with quote

if You are new to pl/1 why do You list it as skill ???

what about a good/ole/plain/simple assignment statement

Code:
pic_var = othr_format_var ;


providing a proper skills description
will make easier to answer using the proper terminology and the needed detail.
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 1712
Location: UK

PostPosted: Thu Feb 20, 2014 2:30 am    Post subject: Reply to: FIXED DEC(15,2) to PIC conversion in PLI
Reply with quote

And why use Google? Google is not the PL/1 manual which is easily accessible on the internet or on many forums.
Back to top
View user's profile Send private message
Kunal Surpurkar

New User


Joined: 15 Nov 2012
Posts: 47
Location: India

PostPosted: Thu Feb 20, 2014 11:45 am    Post subject:
Reply with quote

Hello,

I listed PLI as a skill because I started working on it.

And, I assigned FIXED DEC to PIC using assignment statement, but, the values are not being moved to PIC.
Back to top
View user's profile Send private message
Kunal Surpurkar

New User


Joined: 15 Nov 2012
Posts: 47
Location: India

PostPosted: Thu Feb 20, 2014 2:18 pm    Post subject:
Reply with quote

Hello,

Here's what I am getting when I am assigning FIXED DEC to PIC.

Code:
D =-404040400171752
D =-404040404038184
D =-404040404002018
D =-404040404003025
D =-404040404018384
D =-404040400103052
D =-404040404010344
D =-404040404010344
D =-404040404010344
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 1712
Location: UK

PostPosted: Thu Feb 20, 2014 3:58 pm    Post subject: Reply to: FIXED DEC(15,2) to PIC conversion in PLI
Reply with quote

'Skill' means you have a reasonable level of competence. As you are just starting you have zero level of competence as is demonstrated by your problem.

Now, please show the declarations you are using for your FIXED DEC and PIC variables and the assignment statements. Please use the code tags for you code snippets (use the POSTREPLY button)
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 -> PL/I & Assembler All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts File Aid to File Manager conversion murali3955 IBM Tools 4 Thu Nov 24, 2016 3:41 pm
No new posts Conversion of a VB file to FB. isssal DFSORT/ICETOOL 1 Mon Oct 31, 2016 10:23 pm
No new posts EBCDIC to ASCII conversion using OCOPY mistah kurtz All Other Mainframe Topics 5 Tue Sep 06, 2016 2:26 pm
No new posts Comparex utility to Syncsort conversion mistah kurtz SYNCSORT 11 Fri Jul 22, 2016 1:53 pm
No new posts changing z/os unicode conversion service meykh2014 All Other Mainframe Topics 0 Tue Jul 12, 2016 10:49 am


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