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
What is fset?
What is the term conversational programs means?
Can you define bms?
Name at least one of the ways by which a transaction can be terminated?
Define an asra?
Explain the logical message in cics?
What does the 'cedf:cics' transactions do?
With the use of an alternate index, how is a VSAM file accessed?
What is meant by an attribute byte?
What is the common systems area?
Explain the thress bms options?
What is dynamic transaction backout?
What are the ways fot initiating a transaction?
What is the use of the program list table?
what are the differences between temporary storage queue (tsq) and transient data quene (tdq)?