Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 62
Location: Basildon

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: 62
Location: Basildon

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 RMM Cannot move a volume from SHELF l... tspr52 IBM Tools 0 Thu Mar 01, 2018 3:48 pm
No new posts COMP Variables Mismatch gayu7 COBOL Programming 5 Wed Dec 20, 2017 5:06 pm
No new posts Moving a COMP-3 Variable to a Numeric... ajayachander COBOL Programming 2 Thu Dec 14, 2017 5:46 pm
No new posts CONDITIONAL USING COMP-2 WITH PROBLEMS. JOSUEGENTIL COBOL Programming 7 Wed Nov 08, 2017 11:13 pm
No new posts how can i move s9(9) to s9(9) usage comp HARENDRA CHOUDHARY COBOL Programming 3 Mon Nov 06, 2017 12:10 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us