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


The below is the declaration for a variable ws
01 ws pic 9(3).
if you want to insert space how will you do that.
in which level u should do it

Answers were Sorted based on User's Feedback



The below is the declaration for a variable ws 01 ws pic 9(3). if you want to insert space how wil..

Answer / sdexcellent@yahoo.co.in

01 ws-new redifines ws pic x(3).
in level 01 only

Is This Answer Correct ?    7 Yes 2 No

The below is the declaration for a variable ws 01 ws pic 9(3). if you want to insert space how wil..

Answer / kavya

using filler clause we can insert space

Is This Answer Correct ?    1 Yes 0 No

The below is the declaration for a variable ws 01 ws pic 9(3). if you want to insert space how wil..

Answer / praveen bejjanki

The Question itself is not clear for me,

My understanding is to Insert space in the variable WS.
Then use move stmt as follows
Move space/spaces to WS.

Correct me if i'm wrong.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More COBOL Interview Questions

what is the use of outrecord?

0 Answers  


What is the maximum length of a field you can define using COMP-3 in COBOL?

1 Answers   UGC Corporation,


What will happen if we generate GDG +2 version instead of +1 version?

2 Answers   T systems,


What are the situations u have used in ur project for Subcript and Index ? 1.if u use Subscript why not Index,why u choose Subscript only? 2.if u use Index why not Subscript,what abt Displacement?

2 Answers   Cap Gemini,


How to declare if emp-name = AAAAA""BBB in working-storage section. After display emp-name should print like AAAAA""BB

6 Answers   Polaris,


is this below syntax correct? CALL 'subprg' using A,B Please help

2 Answers  


The below is the declaration for a variable ws 01 ws pic 9(3). if you want to insert space how will you do that. in which level u should do it

3 Answers   ADP,


what happens of we dont give time stamp in precompilation process

2 Answers  


how can we fetch 3 records in cobol pgm any coding pls ?

3 Answers   CGI,


How to print 10 to 1 if the input have only 10 digit number?

0 Answers  


How many divisions we have in Cobol ?

4 Answers   Wipro,


What is the maximum data length for Numeric DataType ?

3 Answers   Cap Gemini,


Categories