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

Answer Posted / sdexcellent@yahoo.co.in

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

Is This Answer Correct ?    7 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are different data types in cobol?

691


What are the different open modes available in cobol?

722


how do you reference the variable unblock file formats from cobol programs

749


Name the sections present in data division.

701


I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?

1230






What is the difference between structured cobol programming and object alternativelyiented cobol programming?

711


I have a File that has duplicate records. I need only those records that occur more than thrice.?

8657


What is the difference between binary search and sequential search?

643


how do you define single dimensional array and multidimensional array in your cobol?

678


What is the utilization of copybook in cobol?

657


How arrays can be defined in COBOL?

664


For rewrite, why is it mandatory that file needs to be opened?

623


What is difference between static and dynamic call in cobol?

777


Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?

825


) how do u code after getting data?

1580