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 / kavin
just move low-values to map variables.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Explain the difference between intra partition tdq and extra partition tdq?
Explain the difference between a package and a plan. How does one bind 2 versions of a cics transaction with the same module name in two different cics regions that share the same db2 subsystem?
What are the main uses of the transaction in the cics?
How can you use dynamic calls in cics?
What is a transid?
What is the difference between pct and fct?
Explain the primary significance of intra-partition and extra-partition tdqs ?
when you compile a cics program, the (pre) compiler puts an extra chunk of code. Where does it get included and that is it called? What is its length?
when an xctl is done, does the tranid change ? Is a new task created ? Does it cause an implicit syncpoint to be issued ?
Specify cics transaction initiation process?
What is interval control?
Can you explain common systems area?
We can allocate memory dynamically by using GET MAIN command my question is at what scenario we can't release this memory and reuse this same memory??
Explain how pa key is different from pf key?
how do you intitiate another transaction?