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
What is the difference between a return with transid and xctl?
Kindly specify the pic clause for the data type of length option field type of data fields?
Explain the difference between the xctl and link commands?
How ENQ and DEQ used in CICS?
Explain the function of the cics translator?
Explain how do you control cursor positioning?
What is the abend command?
How do we pass parameters into a CICS –DB2 program
Explain the function of the load command?
kindly specify the pic clause for the following:any bll cell, data type of length option field, hhmmss type of data fields?
What are the common tables in cics and their usage?
What are some of the cics commands associated with interval control?
Explain how do you establish a starting position in a browse operation?
Explain the difference between start and xctl?
how do you fire a batch job from a cics txn ?