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
Name the three ways available for a program to position the cursor on the screen?
If we say that bms length of field = 0, then what does that mean?
What is an mdt (modified data tag)?
What does EIB mean in CICS?
Explain the significance of rdo?
specify the requirements for automatic task initiation. (Mention the control table, it is entries and the corresponding procedure division cics command).?
Explain the cics command that is used for reading a record from the tdq?
Explain how do you establish a starting position in a browse operation?
Explain the difference between intra partition tdq and extra partition tdq?
Explain how do you control cursor positioning?
Highlight the difference between a symbolic map and physical map?
What are the main uses of the transaction in the cics?
If we wish to create bms executable, what are the basic steps that the user has to go through?
what are the differences between temporary storage queue (tsq) and transient data quene (tdq)?
Explain the difference between link and xctl?