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

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

736


What is the use of intialize verb?

738


example for sub strings ? and refernce modifications whit output pls

1837


) how do u code after getting data?

1578


Explain how to differentiate call by context by comparing it to other calls?

679






In COBOL, what is the different between index and subscript?

751


Write a program that uses move corresponding.

668


What type of SDLC u followed? Why?

1514


What is report-item in COBOL?

702


What are the pertinent COBOL

2035


i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?

885


Can we change the password using ALTER? anyone tried and changed?

1537


what is amode(24), amode(31), rmode(24) and rmode(any)?

688


input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?

1864


What is the compute verb? How is it used?

651