Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Answers were Sorted based on User's Feedback



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

Answer / suresh ramaiyan

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

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

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

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

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

Post New Answer

More COBOL Interview Questions

how to remove leading spaces and zeroes in a cobol variable.is there any easy way to do it

2 Answers  


please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?

0 Answers   EDS,


With in these three which one is the default one Call Reference, Call By Value, Call By Content.-Which one is default?

4 Answers   IBM,


file status 00 is checked after opening the file or reading the file

4 Answers   John Deere,


what is level 66 means??

7 Answers  


How to define variable 9(20) in COBOL, because compiler does not allow us to declare variables with Pic 9(18). Can anyone please let me know the answer... I know one answer to this question which is to use Compiler option Arith (Extend) during Compilation. It extends the maximum limit to 9(32)..Just wanted to know if there is any other way to extend this?

4 Answers   CSC, TCS,


how to code in cobol while using variable block file?

1 Answers  


How can we know that cobol program is using report file or simple file....?

4 Answers  


created cluster using IDCAMS ..that is empty ..when i write a program for read using Input ..wil it open the cluster or gives any error?

2 Answers   HCL,


Can anyone explain me CALL procedure in COBOL.Does it carries similarities like call by reference in C.

1 Answers  


perform I from 0 by 1 until I=5?How maney times it will executes

8 Answers  


what if any ,is the syntex error in the following piece of code 01 B PIC A(7) 02 C PIC 9(4) ........ IF(B NUMERIC) ADD 10 TO C a.the condition in the if statement is wrong b.noting is wrong c.because C is initialised.ADD 10 TO C is wrong d.both B and C shoud have same size.

5 Answers   TCS,


Categories