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 / y@$w@nth
When at the time of defining the field in the map we can code
PICOUT option for eg:
SUPFIELD DFHMDF POS=(**,**),
LENGTH=4,
ATTRIB=(UNPROT,FSET),
PICOUT=z(3)9,
PICIN=z(3)9
Correct me if i am wrong
| Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
Explain how do you establish a starting position in a browse operation?
What are the types of important programs that are used in the cics?
Explain how do you control cursor positioning?
Explain the primary function of the processing program table (ppt)?
Define cedf?
Explain the difference between and exec cics xctl and an exec cics link command?
Define cics interface block?
mention the option used in the cics read command to gain accessibility directly to the file i/o area. (Assume cobol-ii).?
Explain the difference between temporary storage queue (tsq) and transient data quene (tdq)?
What is the meaning of the eibaid field?
Differentiate between PCT and FCT.
How to get the cursor position when we receive a map?
What is the pic clause for the data type of length option field type of data fields?
Define transient data?
What is task control?