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 / veena
In Attrib=(UNPROT,FSET,NUM),
Num in the Attrib gives zeroes when digits are entered.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Explain the difference between a return with transid and xctl? For example program. A is issuing return with transid to program b. Program a. Is isssuing xctl to program b?
Explain cebr transaction commands?
Define primary objective of cics?
Can you explain dfheiblk?
What is the abend command?
Define cebr?
What is the common work area?
What is task control?
Name the cics command used to access current date and time?
What is a cics task?
Can you explain cics translator?
What is the tcp in the cisc?
What does a cics translator do?
list the sequence of steps used to achieve modiication in skip sequential mode?
What is meant by MDT? Furthermore, comment on FRSET and FSET ?