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 how do you access storage outside your cics program?
What Are Send Map Maponly & Send Map Dataonly ?
What do you mean by the term fct?
What is the cics command that is used to access current date and time?
What is meant by MDT? Furthermore, comment on FRSET and FSET ?
How can you access qsam (seq) files from cics?
Code the related portions of cics/cobol-i programs to gain addressability to twa area assigned to a particular task. Assme that the size of twa area is 300bytes. What are the advantages if cobol-ii is used in the place of cobol?
What is the type of ppt in the cics?
Explain the difference between a physical bms mapset and a logical bms mapset?
Explain the difference between physical map and symbolic map?
Explain difference between call and link?
Define cedf?
What is the use of the program list table?
What is an mdt (modified data tag)?
Why do we need integrated cics translator?