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

Mention the content that is present inside a PPT ?

994


if i am having a cics,vsam and db2 programs with each functions and i want that each function on screen?

2268


What is the term conversational programs means?

1018


Kindly specify the pic clause for the hhmmss type of data fields?

1071


Name the two types of transient data queues?

1051


Explain the different ways of initiating transaction in cics?

950


Define communication area?

996


mention the option used in the cics read command to gain accessibility directly to the file i/o area. (Assume cobol-ii).?

1100


Name the 3 common ways to create maps?

1140


explain the means of supporting pseudo conversation programming. (Eg. Storing and restoring of states, control flow, error handling)?

1068


Explain how DSECT parameter is used in BMS ?

1205


What do you mean by CEMT?

1240


What is the use of the eibaid field?

1146


what is the cics command used to access current date and time?

1169


Explain the difference between link and xctl?

969