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 / guest
With the help of PICOUT 9999 in DFHMDF.
| Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
Kindly specify the pic clause for the any bll cell type of data fields?
Can a CICS code be a part of a copybook? If so, then what are the outcomes after compilation?
Define the term mro (multi region operation)?
What is meant by PPT and what are its uses?
Explain what is the massinsert option?
explain the means of supporting pseudo conversation programming. (Eg. Storing and restoring of states, control flow, error handling)?
Explain difference between call and link?
Explain how to build up lu 6.2 communication?
Explain the difference between link and xctl?
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?
Can you define mapset?
What does the 'cedf:cics' transactions do?
Explain the function of the terminal control table?
What are the recoverable cics resources?
Explain the difference between tsq and tdq