Can we put move statement in COBOL copybook

Answers were Sorted based on User's Feedback



Can we put move statement in COBOL copybook..

Answer / ankitha

copy book is nothing but pre written cobol statements and
can be used in any division in cobol pgm ,you can code move
statement in copy book and copy in procedure division.

Is This Answer Correct ?    16 Yes 0 No

Can we put move statement in COBOL copybook..

Answer / tata

we can use move in copy book. but
if ur copybook contains procedure division statements
with move statement.. then that variables which were wriiten
with move statement, should be declared in ws-section of
data division.
in this particular case only this is possible.. in all
other cases this is not popssible.

Is This Answer Correct ?    6 Yes 2 No

Can we put move statement in COBOL copybook..

Answer / suersh ramaiyan

Copy book means... A piece of code may be used in many programs.
We can write that piece of code in a member of a PDS (copy book) and we can use anywhere in the COBOL programs.

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More COBOL Interview Questions

Can we redefine the field of x(200) to less than 200?

0 Answers  


How many times the loop runs here 01 a pic 9(2) value 10. perform para1 a times stop run. para1: move 20 to a.

3 Answers  


What are the divisions in a cobol program?

1 Answers  


A cobol program to read a file , match it with other if. If match occurs then write it to an output file. If no match then no need to write it.Error log created by program to track any error.

1 Answers  


Can the OCCURS clause be at the 01 level?

8 Answers   Oracle,






How to convert bunch of words in a line to relvant ASCII values?

2 Answers  


what is the difference between Plan & package

3 Answers   IBM,


Name the divisions in a COBOL program ?

7 Answers  


what is a zoned decimal data type and how it will be stored?

2 Answers   IBM,


What is SET TO TRUE all about, anyway?

5 Answers  


Explain Restart Logic in Cobol?

1 Answers   L&T, Syntel,


Should I use STOP RUN in the sub program??why?

6 Answers   Xansa,


Categories