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

When is inspect verb is used in cobol?

0 Answers  


What is the maximum data length for Numeric DataType ?

3 Answers   Cap Gemini,


What is the LINKAGE SECTION used for?

4 Answers  


01 xxx pic 9(4). 01 yyy pic 9(6). move 123456 into yyy. move yyy to xxx. display yyy. what would be the value of yyy

13 Answers   HSBC,


What is difference between com and com3? Eg. s9(4) so what is the memory it will occupy com and com3.

2 Answers  






describe 805 error

6 Answers   DELL,


What is 77 level used for ?

12 Answers   IBM, iGate,


CAN ANY ONE HELP WHAT IS QTP? why it is nessery AND WEN IT IS USED?

1 Answers  


What is XDC ?

3 Answers   Cap Gemini, IBM,


If we use GO BACK instead of STOP RUN in cobol?

2 Answers   Temenos,


How do you compile cobol program..?

1 Answers  


what is the default print format? in cobol

3 Answers   HSBC,


Categories