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

How to deal the zeroes in numeric-edited field from screen.


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
HemSap

New User


Joined: 31 Aug 2007
Posts: 1
Location: kolkata

PostPosted: Wed Sep 12, 2007 5:38 pm
Reply with quote

Hi,

I want to know hot to deal zeroes as not null from and an edited numeric field in CICS screen.

This is the current scenario.
There are null values in DB2 table and these values are thrown as spaces in the numeric-edited field on the screen, and when ever the user enters zero in the field from the screen, because of the numeric-edit, the zero is been treated as spaces. Now in this case I have situation where I need to handle these zeroes in the numeric-edited field and store them as zeroes in the DB-2 table. Can I know how to deal with numeric-edited fields to check in the program, whether the spaces was because of the zero entered or is it genuine space.

Thanks in advance
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Wed Sep 12, 2007 6:53 pm
Reply with quote

Don't load the field with spaces, load with low values?
Check to see if the MDT was turned on?
Save the before value of the field and compare it to the after value before the "numeric-edit"?
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 Issues Converting From ZD to Signed N... DFSORT/ICETOOL 4
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
No new posts Remove leading zeroes SYNCSORT 4
No new posts Join 2 files according to one key field. JCL & VSAM 3
No new posts How to move the first field of each r... DFSORT/ICETOOL 5
Search our Forums:

Back to Top