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

using filler clause we can insert space

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you differentiate between cobol and cobol-ii?

658


input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.

1785


What is the difference between PIC 9.99 and PIC9v99?

783


How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?

710


Which Search verb is equivalent to PERFORM…VARYING?

691






I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.

1121


What are declaratives and what are their uses in cobol?

714


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

623


How do you get the data to code the BMS macro?

1476


here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?

6840


Explain how you can characterize tables in cobol?

644


How to use the same COBOL program in Batch and CICS on lines? explain with an example

1914


what is the difference between COBOL2 AND COBOL390?

2455


) what is the difference between AID and HANDLE AID?

1637


Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc

828