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
How do you differentiate between cobol and cobol-ii?
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.
What is the difference between PIC 9.99 and PIC9v99?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
Which Search verb is equivalent to PERFORM…VARYING?
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.
What are declaratives and what are their uses in cobol?
For rewrite, why is it mandatory that file needs to be opened?
How do you get the data to code the BMS macro?
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?
Explain how you can characterize tables in cobol?
How to use the same COBOL program in Batch and CICS on lines? explain with an example
what is the difference between COBOL2 AND COBOL390?
) what is the difference between AID and HANDLE AID?
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc