can we use COPY statement in w-s section? how?
Answers were Sorted based on User's Feedback
I believe, level numbers won't take place while including the copy books in cobol programs.
Here is an example:
01 INPUT-RECORD.
COPY INRECOPY.
where INRECOPY is member name of the copy book library, which is contains group of cobol declarations.
Please correct me, if I'm wrong.
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / nag(igate)
Hi sravani, this is not CICS question.
yes, we can used the COPY statement is ws-section,
because the COPY statement will expanded at the
compilation time.
01 COPY MEM1.
the MEM1 can contains the variable declartion to the files
in program
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / sravani
yes. for copying symbolic map,dfhaid,dfhdmsca we r copying in the working storing storage section
| Is This Answer Correct ? | 0 Yes | 2 No |
How many times the loop runs here 01 a pic 9(2) value 1. perform para1 until a=10 move 1 to a. stop run. para1: move 10 to a.
How to Write the RESTART Logic Using COBOL?
4 Answers GalaxE, L&T, Syntel, TCS,
What are some examples of command terminators?
i want to use only first 100 records from a file.plz tell me how to write JCL for this(for read,copy,write operations).plz give me details of all posible JCL utilities?
what is the difference between perform varying and perform until
What is a scope terminator? Give examples.
Difference between ps, esds
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
What type of SDLC u followed? Why?
What the difference is between continue and next sentence?
In which area will you utilize 88 level items in cobol?
how to change picture class of copy book variable inside program?