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 |
How is sign stored in Packed Decimal fields and Zoned Decimal fields?
Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.
What is Redefines clause?
Mention the guidelines to write a structured cobol program?
If we use GO BACK instead of STOP RUN in cobol?
1.give the details about WHEN OTHER. 2. how many form are available in evaluate.
What is the LINKAGE SECTION used in COBOL?
what is qualification on occurs clause?
what will happen if pass values more than 100 using PARM parameter?
In a COBOL program, 2 tables TABLE1 and TABLE2 are defined that are indexed by INDEX1 and INDEX2 respectively. Can we use INDEX1 with TABLE2 and INDEX2 with TABLE1?
what is the difference between occurs and occurs depending on? i dont think so there is the difference in storage..then why we should use occurs depending on?
Which Search verb is equivalent to PERFORM…VARYING?