View previous topic :: View next topic
|
Author |
Message |
Kunal Surpurkar
New User
Joined: 15 Nov 2012 Posts: 47 Location: India
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
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 |
|
|
Nic Clouston
Global Moderator
Joined: 10 May 2007 Posts: 2455 Location: Hampshire, UK
|
|
|
|
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 |
|
|
Kunal Surpurkar
New User
Joined: 15 Nov 2012 Posts: 47 Location: India
|
|
|
|
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 |
|
|
Kunal Surpurkar
New User
Joined: 15 Nov 2012 Posts: 47 Location: India
|
|
|
|
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 |
|
|
Nic Clouston
Global Moderator
Joined: 10 May 2007 Posts: 2455 Location: Hampshire, UK
|
|
|
|
'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 |
|
|
|