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 two no problem ( '-' number as an input)

 
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: Fri Sep 10, 2004 7:54 pm    Post subject: Adding two no problem ( '-' number as an input)
Reply with quote

Hi to all,

I am adding 2 nos in a program. I am declaring variables s99 sign leading is seperate for 3 variables. while giving input, -03 for A, +05 the result wasnot found. plz give me the program for adding 2 negative nos.
Back to top
View user's profile Send private message
References
superk

Moderator Team Head


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

PostPosted: Fri Sep 10, 2004 9:04 pm    Post subject:
Reply with quote

Maybe you could post the code to your current program, so that folks can maybe see if there is something wrong ...
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