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
 
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 How to change the logon screen info o... sakthikumarT TSO/ISPF 4 Fri Dec 29, 2017 6:44 pm
No new posts Moving a COMP-3 Variable to a Numeric... ajayachander COBOL Programming 2 Thu Dec 14, 2017 5:46 pm
No new posts Squeeze record left so that zeroes ar... Vignesh Sid SYNCSORT 5 Fri Nov 10, 2017 1:40 pm
No new posts Move from Comp3 variable to Edited Va... Revathy.nair0485 COBOL Programming 7 Fri Nov 03, 2017 3:30 pm
This topic is locked: you cannot edit posts or make replies. Incrementing current time field by 30... arunsoods DFSORT/ICETOOL 11 Thu Oct 26, 2017 3:22 pm

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