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 the difference between using the read command with into option and set option?
What is the abend command?
Kindly specify the pic clause for the data type of length option field type of data fields?
which cics service transaction is used to gain accessibility to cics control tables? Mention the one that has the highest priority.?
Define the term function request shipping?
Define cebr?
Explain the function of the load command?
what is the difference between a package and a plan. How does one bind 2 versions of a cics transaction with the same module name in two different cics regions that share the same db2 subsystem?
Explain the difference between a physical bms mapset and a logical bms mapset?
What are the ways fot initiating a transaction?
Explain the difference between link xctl?
Define communication area?
What is the comaera (communication area)?
If we wish to create bms executable, what are the basic steps that the user has to go through?
Explain the difference between a symbolic map and physical map?