View previous topic :: View next topic
|
Author |
Message |
deepaannjohn
New User
Joined: 23 Feb 2006 Posts: 19 Location: Bangalore
|
|
|
|
Hi,
I have an IMS DC program which is reading from a table and displaying on the green screen. Thru green screen, new rows can be added and existing rows can be changed also.
There is an integer field in the table (UNIT-START-NO PIC S9(9) USAGE COMP.) which can have negative and positive values. How can I handle this in map and program?
Sample values:
UNIT_START_NO
0
0
300000000
0
-999999999 |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
Quote: |
How to handle negative values in greens creens? |
the same way You would handle them on a different colored screen
it is odd that after 5 years of IT programming You do not know how to <display> a number
at the top of the page there is a link to the relevant programming manuals
where You will find all you might want to know on the subject ( apart the screen color ) |
|
Back to top |
|
|
deepaannjohn
New User
Joined: 23 Feb 2006 Posts: 19 Location: Bangalore
|
|
|
|
Tell me how to handle it in a diffeent colored screen
I have 7+ years of experience in IT programming btw :)though I did not work much in IMS DC
Also, I can handle it programmatically - no issues. But I want to know if there is any IMS DC provided routines / attributes for this ratehr than doing it programmatically.
Probably, if I rephrase it -
if I keep the field as Number on the MFS - I cant key in - or +ve. If I keep it as X in MFS, I need to handle it programmatically. So if there any attributes which might help like FILL or JUST = R |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
OMG...
an organization which up to now has dealt only with positive numbers
or a very structured organization with different programming groups and skills according to the sign of the entities dealt with |
|
Back to top |
|
|
deepaannjohn
New User
Joined: 23 Feb 2006 Posts: 19 Location: Bangalore
|
|
|
|
Tell me how to handle it in a diffeent colored screen
I have 7+ years of experience in IT programming btw :)though I did not work much in IMS DC
Also, I can handle it programmatically - no issues. But I want to know if there is any IMS DC provided routines / attributes for this ratehr than doing it programmatically.
Probably, if I rephrase it -
if I keep the field as Number on the MFS - I cant key in - or +ve. If I keep it as X in MFS, I need to handle it programmatically. So if there any attributes which might help like FILL or JUST = R |
|
Back to top |
|
|
deepaannjohn
New User
Joined: 23 Feb 2006 Posts: 19 Location: Bangalore
|
|
|
|
enrico-sorichetti wrote: |
OMG...
an organization which up to now has dealt only with positive numbers
or a very structured organization with different programming groups and skills according to the sign of the entities dealt with |
very funny |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
Back to top |
|
|
|