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 Validate date and numeric fields and ... Rick Silvers DFSORT/ICETOOL 6 Thu May 11, 2017 6:51 pm
No new posts READ A PACKED "NEGATIVE" FI... jdesouza CA Products 3 Tue May 02, 2017 11:43 pm
No new posts Alter &DATENS field in HEADER1 Angad DFSORT/ICETOOL 4 Mon Apr 24, 2017 11:49 am
No new posts Format record to remove Leading zeroes Learncoholic DFSORT/ICETOOL 14 Wed Apr 05, 2017 2:43 pm
No new posts SORT VSAM file with each field one by... maxsubrat DFSORT/ICETOOL 6 Tue Mar 14, 2017 1:07 pm


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