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 the field with ic in the bms map.
What is frset?
Explain the thress bms options?
How errors are handled in CICS programs?
What is meant by MDT? Furthermore, comment on FRSET and FSET ?
Explain the cics command that is used for reading a record from the tdq?
what are the thress bms options?
Explain how and where is the twa size set?
What is the pic clause for the data type of length option field type of data fields?
Can a CICS code be a part of a copybook? If so, then what are the outcomes after compilation?
Can you explain multitasking and multithreading?
Differentiate between PCT and FCT.
Explain the difference between getting the system time with eibtime and asktime command?
What is a transid?
the dfhcommara is used to pass information from one application to another. What are some other ways that this function can be accomplished?