Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is fset?

1013


What is the term conversational programs means?

1010


Can you define bms?

1051


Name at least one of the ways by which a transaction can be terminated?

1039


Define an asra?

1031


Explain the logical message in cics?

1021


What does the 'cedf:cics' transactions do?

1064


With the use of an alternate index, how is a VSAM file accessed?

1095


What is meant by an attribute byte?

1046


What is the common systems area?

1054


Explain the thress bms options?

1010


What is dynamic transaction backout?

1134


What are the ways fot initiating a transaction?

963


What is the use of the program list table?

1077


what are the differences between temporary storage queue (tsq) and transient data quene (tdq)?

1227