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

Describe the cobol database components?

675


How do define dynamic array in cobol.

668


How arrays can be defined in COBOL?

661


How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)

2718


In COBOL programming, what is PERFORM? What is VARYING?

668






Write a program that uses move corresponding.

668


Give some examples of command terminators?

751


if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need

851


How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?

2093


What is a scope terminator give example?

652


What is the difference between goback, stop run and exit program in cobol?

919


How to use the same COBOL program in Batch and CICS on lines? explain with an example

1912


) How do u handle errors in BMS macro

1503


What is static and dynamic call in cobol?

590


What is the compute verb? How is it used?

653