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
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?
Define the attribute byte?
What is the difference between a return with transid and xctl?
How can you access qsam (seq) files from cics?
What is journal recovery?
Explain cedf transaction commands?
Name the cics command used to access current date and time?
Mention the option used in a cics command to retrieve the response code after execution of the command?
What is the use of the eibaid field?
Can you explain differences between temporary storage queue (tsq) and transient data queue (tdq)?
Can you explain exec cics handle condition command?
what are the reserved words for cics?
Differentiate between PCT and FCT.
Explain the difference between dfhcommarea and tsq?
For protecting a transaction using the transaction security function, the two things that must be done are?