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
 

 

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

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
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    Post subject: How to deal the zeroes in numeric-edited field from screen.
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: 2150
Location: At my coffee table

PostPosted: Wed Sep 12, 2007 6:53 pm    Post subject:
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    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 INVALID FIELD OR CONSTANT IN SORTOF ?? Ron Klop DFSORT/ICETOOL 8 Wed Jan 11, 2017 3:44 pm
No new posts Performing arithmetic on input field zh_lad DFSORT/ICETOOL 31 Tue Dec 06, 2016 8:04 pm
No new posts Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm
No new posts IMS DC screen Access sivasaras IMS DB/DC 3 Fri Nov 18, 2016 6:38 pm
No new posts How to split the records using the am... vnktrrd DFSORT/ICETOOL 24 Fri Oct 28, 2016 7:33 pm


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