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


Please Help Members By Posting Answers For Below Questions

What is the difference between binary search and sequential search?

643


What are the cobol coding sheets?

666


In COBOL programming, what is PERFORM? What is VARYING?

672


Write the code implementing the perform … varying.

646


How can we find that module can be called – whether DYNAMICALLY or STATICALLY?

714






How arrays can be defined in COBOL?

665


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

623


What do you understand by psb and acb?

668


Write the code to count the sum of n natural numbers.

703


IF I mention stop run in CICS what happens?

1898


Explain how you can characterize tables in cobol?

641


What type of SDLC u followed? Why?

1522


which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad

1024


What are the pertinent COBOL commands?

2626


Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.

2060