Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
Can i move the values from COMP-1 to COMP-3

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe COBOL
Author Message
sripriya

New User


Joined: 19 Apr 2005
Posts: 27

PostPosted: Mon Apr 25, 2005 4:31 pm    Post subject: Can i move the values from COMP-1 to COMP-3
Reply with quote

Can i move the values from COMP-1 to COMP-3 and viceversa.Do i get any error in either cases?
Back to top
View user's profile Send private message
References
PostPosted: Mon Apr 25, 2005 4:31 pm    Post subject: Re: Can i move the values from COMP-1 to COMP-3 Reply with quote

sribks2005

New User


Joined: 04 Apr 2005
Posts: 20
Location: Mysore

PostPosted: Mon Apr 25, 2005 8:07 pm    Post subject: hi
Reply with quote

hi

we cannot move comp-1 values to comp-3. We will get an error message.

Comp-1 values are stored in hexadecimal format( each digit - 1 word)
Comp-3 values are stored in decimal format.(each digit-half byte)

Thank you
Back to top
View user's profile Send private message
sunnyk

Active User


Joined: 20 Oct 2004
Posts: 59

PostPosted: Mon Apr 25, 2005 9:24 pm    Post subject:
Reply with quote

Hi,
You can move comp-1 values to comp-3 without getting any error.But the values displayed `ll be undetermined.

And Sribks,plz try once practically before giving an answer,without backing your answer by theoritical reasons.

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

New User


Joined: 19 Apr 2005
Posts: 27

PostPosted: Tue Apr 26, 2005 4:45 pm    Post subject: Re: Can i move the values from COMP-1 to COMP-3
Reply with quote

Thnk u friend,,

And wht abt moving COMP-3 to COMP-1.
Here will i get any error.
Back to top
View user's profile Send private message
sunnyk

Active User


Joined: 20 Oct 2004
Posts: 59

PostPosted: Tue Apr 26, 2005 5:18 pm    Post subject:
Reply with quote

No again.
Thanks
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe COBOL All times are GMT + 6 Hours
Page 1 of 1