Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 Subtract the ZD fields to provide neg... Balaryan DFSORT/ICETOOL 4 Wed Oct 11, 2017 10:51 pm
No new posts display the sign only if the value is... useit DFSORT/ICETOOL 3 Wed Oct 04, 2017 5:53 pm
No new posts Hardcoded negative sign value in output scdinesh SYNCSORT 8 Fri Sep 08, 2017 5:28 am
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

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us