Can we put move statement in COBOL copybook
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
01 a pic 9(3) value is 123 01 b pic 9(6) move a to b wht will be the value ? and 01 a pic x(6) value is abc 01 b pic x(3) move a to b wht will be the value ?
) How do u handle errors in BMS macro?
can we use 77 level no for Redefines?if we use give an example?
If I want to increase the Limit in GDG. What should I do?
Which of the following EDITind and PICTURE symbols is to be used if a minus(-) is to appear before the value if the value is -ve and a plus(+) is to appear before the value if the value is +ve? (a) + (b) - (c) + OR (d) It is not possible
how to resolve the file status 47.......
how can u pass the values into db2 values from cobol ?
What will happen if we move SPACES to numeric field and ZEROES to alphabetic field?
Define static linking and dynamic linking.
How can you get the ksds file records into your cobol program?
What is amode(24)?
What is the difference between PIC 9.99 and 9v99?