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

Define RCT.

1205


Explain what is the massinsert option?

1059


Can QSAM files be accessed from CICS?

1125


Explain the difference between intra partition tdq and extra partition tdq?

991


Highlight the points of differences between XCTL and START?

1224


How do we pass parameters into a CICS –DB2 program

4149


What does the 'cemt:cics' transactions do?

1197


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?

1121


what are the reserved words for cics?

1073


If we wish to create bms executable, what are the basic steps that the user has to go through?

1072


difference between tsq and tdq?

1203


hi,what is the module? how many modules in mainframe based banking projects

2981


what is eib, how is can be used?

1099


What are fset, frset?

1001


Can you define temporary storage?

1126