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
Define cics interface block?
What is meant by MDT? Furthermore, comment on FRSET and FSET ?
Can you explain dfheiblk?
What does the 'cebr:cics' transactions do?
Highlight the points of differences between XCTL and START?
What is meant by a ‘Transid’ ?
What is the pcp in the cics?
Explain the difference between a package and a plan.
Explain how do you control cursor positioning?
Explain the cics command that is used for reading a record from the tdq?
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?
Can you define mapset?
How to get the cursor position when we receive a map?
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?
which is the cics control program that provides communication services between user written application programs and terminals?