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

What will happen if we generate GDG +2 version instead of +1 version?

2 Answers   T systems,


Suppose i have a Cobol field of 10 byte. it contains a decimal sign.How to know where is the point location?

1 Answers  


Describe the cobol database components?

0 Answers  


how many times PARA-A is performed : PERFORM PARA-A VARYING TIMES-COUNTER FROM 1 BY 1 UNTIL TIMES-COUNTER >0 PARA-A MOVE P TO Q MOVE H TO TIMES COUNTER a.10 b.1 c.11 d.0

4 Answers   TCS,


i have a variable block which is used in my cobol program as input file having records of 4080 after compilation while runing the program im getiing file attribut mismatch and it is saying tht the record length of the file is 4084 can any one knw the answer how to reslove it ?

2 Answers  


i need a small 3d program using inline and outline.

0 Answers  


Why would you use find and get rather than to obtain?

0 Answers  


What are various search techniques in cobol? Explain.

0 Answers  


how can i see junk values in dclgen or in hostvariable of comp ?

0 Answers   DELL,


I have a PS file and I would like to manually insert the binary values (like a COMP format) into the file. How can i do that? the way do in COMP-3 format.. suppose i want to insert -12345 in to file in comp-3 format. simply we can open a file in edit mode and do HEX-ON and insert the value . SEE BELOW-- 135 24D in 3 bytes - this will be COMP-3 presenatation of -12345.

1 Answers  


what happens if we dont close cursor in db2-cobol pgm?

6 Answers  


How To Separate The Numerics From An Alphanumric Data Item Which Contains Both Alphabates And Numerics ?

4 Answers  


Categories