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
Can you explain multitasking and multithreading?
difference between tsq and tdq?
Kindly specify the pic clause for the data type of length option field type of data fields?
What are the common cics service programs and explain their usage?
Explain how to build up lu 6.2 communication?
Can you define mapset?
What is the cics command level?
What is the common work area?
Define cebr?
What is eib?
how do you fire a batch job from a cics txn ?
What is dynamic transaction backout?
how do you execute a background cics txn ?
Name the cics command that gives the length of twa area?
Explain the primary significance of intra-partition and extra-partition tdqs ?