Move value from comp to comp-3



Support for OS/VS COBOL, VS COBOL II, COBOL for OS/390 & VM and Enterprise COBOL for z/OS

Move value from comp to comp-3

Postby leelaa.tsk » Sat Mar 06, 2010 2:17 pm

can we move value from comp to comp-3
leelaa.tsk
 
Posts: 13
Joined: Wed Mar 03, 2010 7:48 pm
Has thanked: 0 time
Been thanked: 0 time

Re: In cobol

Postby Anuj Dhawan » Sat Mar 06, 2010 3:59 pm

Yes.
Anuj
Anuj Dhawan
 
Posts: 273
Joined: Mon Feb 25, 2008 3:53 am
Location: Mumbai, India
Has thanked: 6 times
Been thanked: 4 times

Re: In cobol

Postby Robert Sample » Sat Mar 06, 2010 7:22 pm

More importantly, why are you not checking the manual -- which clearly specifies this kind of data?
Robert Sample
Global moderator
 
Posts: 3719
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times

Re: In cobol

Postby leelaa.tsk » Mon Mar 08, 2010 10:51 am

Anuj Dhawan wrote:Yes.

please give me with example.I mean i want to know how it will display
leelaa.tsk
 
Posts: 13
Joined: Wed Mar 03, 2010 7:48 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Move value from comp to comp-3

Postby dick scherrer » Mon Mar 08, 2010 11:07 am

Hello,

please give me with example

Ex - MOVE COMP-FLD TO COMP-3-FLD.

I mean i want to know how it will display

How this would later display is completely dependent on the next statement(s). There is no display as the result of the move.

What you asked for is not consistent. . . :?

If you clarify what you are looking for, we should be able to provide a better reply :)
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: Move value from comp to comp-3

Postby Trenfen » Wed Mar 10, 2010 1:22 pm

Just try it ,and then you will know .
Trenfen
 
Posts: 7
Joined: Sun Mar 07, 2010 2:30 pm
Has thanked: 0 time
Been thanked: 0 time


Return to IBM Cobol

 


  • Related topics
    Replies
    Views
    Last post