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 / 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


Please Help Members By Posting Answers For Below Questions

Explain how do you establish a starting position in a browse operation?

1065


What are the types of important programs that are used in the cics?

1033


Explain how do you control cursor positioning?

1007


Explain the primary function of the processing program table (ppt)?

990


Define cedf?

949


Explain the difference between and exec cics xctl and an exec cics link command?

1113


Define cics interface block?

993


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

1100


Explain the difference between temporary storage queue (tsq) and transient data quene (tdq)?

994


What is the meaning of the eibaid field?

928


Differentiate between PCT and FCT.

1174


How to get the cursor position when we receive a map?

1076


What is the pic clause for the data type of length option field type of data fields?

943


Define transient data?

1029


What is task control?

1160