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 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 Extend the decimal values in DIVISION Balaryan DFSORT/ICETOOL 3 Thu Oct 05, 2017 4:05 pm
No new posts Working with hex values in Filemanage... Emile Straker IBM Tools 0 Tue Sep 12, 2017 1:42 am
No new posts DB2 NULL Values display V S Amarendra Reddy DB2 3 Thu Sep 07, 2017 6:59 pm
No new posts Moving values to a variable of copybo... Vignesh Sid COBOL Programming 6 Wed Sep 06, 2017 1:04 pm
No new posts Move from Comp3 variable to Edited Va... sreekusr COBOL Programming 8 Thu Aug 10, 2017 4:20 pm

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