IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Accept the negative value from the Map.


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
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
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts Negative dependency between jobs in m... COBOL Programming 12
No new posts Negative value - packed field - Natur... Java & MQSeries 0
This topic is locked: you cannot edit posts or make replies. Missing Negative sign in COBOL COBOL Programming 6
No new posts CA7 Negative dependency JOB=/ CA Products 0
No new posts Subtract the ZD fields to provide neg... DFSORT/ICETOOL 4
Search our Forums:

Back to Top