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 / girish kumar
code like this for the addtion.
functional num value of (input field1)
finctional num value of (input field2)
example.
functional num value(IN1)
functional num value(IN2)
SUM=ADD THE ABOVE TO FIELDS
TRY THIS IT WILL REALLY WORKS
NOTE= give the picture clause is ALPHA NUMARIC
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
Define RCT.
Explain what is the massinsert option?
Can QSAM files be accessed from CICS?
Explain the difference between intra partition tdq and extra partition tdq?
Highlight the points of differences between XCTL and START?
How do we pass parameters into a CICS –DB2 program
What does the 'cemt:cics' transactions do?
Db2 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 cicsregions that share the same db2 subsystem?
what are the reserved words for cics?
If we wish to create bms executable, what are the basic steps that the user has to go through?
difference between tsq and tdq?
hi,what is the module? how many modules in mainframe based banking projects
what is eib, how is can be used?
What are fset, frset?
Can you define temporary storage?