01 a pic x(4) value 'abcd'
01 b pic 9(3)
can we move from a to b.if possible what would be stored in
b.
Answer Posted / amjith pillai
01 a pic x(4) value 'abcd'
01 b pic 9(3)
Yes, you can move. Try just a move and display B. you will
get abc.
But if you go for an operation (add, move to comp variable
etc) then you will hit SOC7
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What rules are to be followed while using the corresponding options?
How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?
Write down the divisions of cobol program?
What is the difference between Global and External Variables?
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 the pertinent COBOL commands?
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad
Have you used comp and comp-3 in your project? And how?
Which division and paragraphs are mandatory for a COBOL program?
What is length is cobol?
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly
Give some examples of command terminators?
Explain the configuration section of a cobol program with examples of syntax.
How do you differentiate between cobol and cobol-ii?