Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Accept the negative value from the Map.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
treddy

New User


Joined: 01 Jun 2005
Posts: 7

PostPosted: Wed Jun 01, 2005 6:37 pm    Post subject: Accept the negative value from the Map.
Reply with quote

Accept the negative value from the Map.
Back to top
View user's profile Send private message

krishh

New User


Joined: 20 May 2005
Posts: 12

PostPosted: Thu Jun 02, 2005 8:48 pm    Post subject: Re: Accept the negative value from the Map.
Reply with quote

hai reddy.
passing negative values means
you want to enter the values through the map or you want to display the values in the map for the purpopse you have specify in the map field definaion as PIC IN specify the input data tyupe.
and specify PIC OUT to the output data tuype.
default is alphanumeric
Back to top
View user's profile Send private message
sarma Kappagantu

New User


Joined: 17 Mar 2005
Posts: 22
Location: Bangalore

PostPosted: Sun Jun 05, 2005 4:23 am    Post subject:
Reply with quote

It is best to avoid having to accept negative values. If it is not possible, the folliwing methods can be used.

1. Have a separate filed for sign and value. Get the sign and values into two variables to your program and handle them. This is the most simple way to handle the situation. (A similar method can be used to accept integer and decimal values.)

2. Accept the value with a '-' sign and use INSPECT caluse to get the ...

Regards,
Sarma.
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 -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts READ A PACKED "NEGATIVE" FI... jdesouza CA Products 3 Tue May 02, 2017 11:43 pm
No new posts Negative value used in IFTHEN jacobdng DFSORT/ICETOOL 3 Tue Aug 04, 2015 2:12 pm
No new posts Does FUNCTION NUMVAL work for alphanu... Venkata Ramayya COBOL Programming 8 Fri Mar 20, 2015 10:43 pm
No new posts Conversion of negative amount (comp3)... dharmaraok COBOL Programming 9 Mon Feb 24, 2014 5:27 pm
No new posts Extract records from a file based on ... suraaj DFSORT/ICETOOL 6 Wed Jan 29, 2014 1:14 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us