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 i move the values from COMP-1 to COMP-3

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

New User


Joined: 19 Apr 2005
Posts: 26

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

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

New 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: 26

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

New 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
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 SQL query to run through list of valu... Ni3-db2 DB2 14 Wed Dec 14, 2016 9:52 am
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 Overlaying one set of charater values... Kevin Lindsley SYNCSORT 7 Sat Nov 05, 2016 3:21 am
No new posts Low values Results from VARCHAR FORMAT balaji81_k DB2 10 Thu Oct 20, 2016 1:18 am
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