I have a Field which is of size 9(4). In the Screen if I enter
the value for this field as 1234, it showing it as Valid. But if
I enter only one or two digits, zeros should be appended in the
remaining places. For example: When u enter 1 in the screen the
output should be 0001. When you enter 12, output should be 0012.
How to achieve this in the program?
Answer Posted / girish kumar
code like this for the addtion.
functional num value of (input field1)
finctional num value of (input field2)
example.
functional num value(IN1)
functional num value(IN2)
SUM=ADD THE ABOVE TO FIELDS
TRY THIS IT WILL REALLY WORKS
NOTE= give the picture clause is ALPHA NUMARIC
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
Explain how can you accomplish breakpoint in intertest?
Explain the difference between the into and the set option in the exec cics receive map command?
Name a few CICS programs which are generally used ?
Explain how do you intitiate another transaction?
Is length = 0 sufficient to ascertain that the field has been modified?
what are the differences between and exec cics xctl and an exec cics link command?
Define cedf?
Which commend used for terminating a browser operation?
What is meant by an AICA ABEND?
Explain cedf transaction commands?
Define an asra abend?
Can you explain dfhmdf bms macro?
Can you define commarea?
Define transient data?
What is the cics command level?