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 |
i want a program using by if, evaluate , string, unstring, perform, occurs?
what is the basic concept of mainframe? what knowledge is needed for learn this mainframe?
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
I had 100 records and i want to execute last three records by using cobol programming?what will be coding?
Describe the cobol database components?
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
01 a pic 9(9v99) 01 b pic 9(9.99) wht will be the stored vales in both cases
How are the next sentence and continue different from each other?
What guidelines should be followed to write a structured cobol prgm?
What are the different data types in cobol?
What is the difference between a binary search and a sequential search what are the pertinent cobol?
What is report-item in COBOL?