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
 
Adding 2 negative nos

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

New User


Joined: 31 Jan 2004
Posts: 10
Location: Surandai,India

PostPosted: Sun Sep 12, 2004 7:54 pm    Post subject: Adding 2 negative nos
Reply with quote

Dear sir/madam,

I am adding giving 2 negative numbers as an input. Then answer wont come in the resulting variable. with negative sign

plz give me a program
Back to top
View user's profile Send private message
References
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 3314
Location: Charlotte,NC USA

PostPosted: Mon Sep 13, 2004 1:42 am    Post subject:
Reply with quote

Again, where is your program source code?
Back to top
View user's profile Send private message
sandip_datta

EXPERT


Joined: 02 Dec 2003
Posts: 152
Location: Tokyo, Japan

PostPosted: Mon Sep 13, 2004 6:53 am    Post subject:
Reply with quote

Did you define both the input numbers and the output numbers as signed field?

Regards,
Sandip.
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