can we use COPY statement in w-s section? how?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is report-item in COBOL?

714


Name some of the examples of COBOl 11?

2690


How many sections are there in data division in COBOL?

685


For rewrite, why is it mandatory that file needs to be opened?

627


how to move the records from file to array table. give with code example

2229






How do you get the data to code the BMS macro?

1482


can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech

1964


What is the usage of comp fields in cobol?

664


How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.

3728


How you can read the file from bottom?

662


How to remove the spaces at the end of each record in the output file of variable length, via cobol program?

683


what is s000 u4087 error? please give the all error codes in cobol,jcl.

17066


Write some characteristics of cobol as means of business language.

627


What are the rules of the move verb?

712


What is inspect in cobol ?

808