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
 

 

Can we move a value of 9(4)v99 COMP to 9(4).99

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
jyothula_s

New User


Joined: 18 Mar 2005
Posts: 3

PostPosted: Thu Mar 31, 2005 4:19 pm    Post subject: Can we move a value of 9(4)v99 COMP to 9(4).99
Reply with quote

Can we move a value of 9(4)v99 COMP to 9(4).99.

If not please let me know why.
Back to top
View user's profile Send private message

rsshanmugam

New User


Joined: 08 Mar 2005
Posts: 54
Location: Chennai

PostPosted: Thu Mar 31, 2005 6:59 pm    Post subject:
Reply with quote

no we cant move comp field to numeric edited pic clause variable
Back to top
View user's profile Send private message
Great Indian

New User


Joined: 05 Apr 2005
Posts: 9

PostPosted: Thu Apr 07, 2005 5:04 pm    Post subject:
Reply with quote

Hello Jyothula,
What rsshanmugam told is wrong....i totally disagree with him.
We can move a value of 9(4)v99 COMP to 9(4).99.
Back to top
View user's profile Send private message
rsshanmugam

New User


Joined: 08 Mar 2005
Posts: 54
Location: Chennai

PostPosted: Fri Apr 08, 2005 7:26 pm    Post subject: Re: Can we move a value of 9(4)v99 COMP to 9(4).99
Reply with quote

No i have checked many times we cant move comp field to edit pic clause variable.
Back to top
View user's profile Send private message
learnmf

Active User


Joined: 14 Mar 2005
Posts: 123

PostPosted: Fri Apr 08, 2005 7:59 pm    Post subject:
Reply with quote

Hi rsshanmugam and soperk
Better give some reference as a proof of your statements.B'coz it create confusion.

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

New User


Joined: 04 Apr 2005
Posts: 20
Location: Mysore

PostPosted: Tue Apr 12, 2005 6:19 pm    Post subject: comp to edit pic
Reply with quote

hi,

We can move 9(4)v99 comp value to 9(4).99. It is valid operation.
I have tried it, and that went fine.

The reason might be that,
"the difference between 9(4)v99 comp and other normal numeric data items is with respect to only internal data representation. 9(4)v99 comp data item is also a numeric data item. So , we can move this to edit pic data items as we do for normal numeric data items."

If it is wrong, correct me and make sure of correct answer for this.

thank you
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Fri Apr 15, 2005 3:29 am    Post subject:
Reply with quote

The answer is YES, YES, YES, you can move a valid numeric item to a numeric edit field! Try it, you'll like it.
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 -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts DB2 9.1.0 not move values to Host-Var... Miguel Fernandez DB2 8 Wed Jan 25, 2017 8:24 pm
No new posts DB2 9.1.0 not move values to Host-Var... Miguel Fernandez DB2 0 Wed Jan 25, 2017 8:23 pm
No new posts DB2 9.1.0 not move values to Host-Var... Miguel Fernandez DB2 0 Wed Jan 25, 2017 8:21 pm
This topic is locked: you cannot edit posts or make replies. How to move a long alphanumeric data ... lind sh COBOL Programming 8 Mon Dec 05, 2016 7:51 pm
No new posts Protection Exception while move 0 to ... Kevin Vaz CICS 10 Tue Oct 18, 2016 4:19 pm


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