MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Search found 2 matches
MVSFORUMS.com Forum Index
Author Message
  Topic: Problem with straight forward numeric MOVE in COBOL.
niks

Replies: 2
Views: 2437

PostForum: Application Programming   Posted: Tue Apr 20, 2004 11:45 pm   Subject: Problem with straight forward numeric MOVE in COBOL.
Thanks a lot Kolusu.
I tried the compiler option and it worked. I didn't realise until I saw your reply that sign bit validation was causing the problem.

Thanks once again ! Very Happy
niks
  Topic: Problem with straight forward numeric MOVE in COBOL.
niks

Replies: 2
Views: 2437

PostForum: Application Programming   Posted: Tue Apr 20, 2004 7:33 am   Subject: Problem with straight forward numeric MOVE in COBOL.
I have two numeric variables defined as:

01 SCREEN-AREA.
05 WS-NUM1 PIC 9(17).

01 WORK-AREA.
05 WS-NUM1 PIC 9(17).

MOVE WS-NUM1 IN SCREEN-AREA TO WS-NUM1 IN WORK-AREA.

SCREEN-AREA ...
 
Page 1 of 1
All times are GMT - 5 Hours
Jump to:  


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group