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 have two questions here. 1. How to read a flat file in reverse order? 2. How to read a VSAM KSDS file in reverse order? In both the cases we donot know the total number of records.
At the minimum, which division of COBOL is enough to be coded?
What will happen if you code GO BACK instead of STOP RUN in a stand alone COBOL program ?
8 Answers Arigo Infotech, IBM,
What is the difference between PIC 9.99 and PIC9v99?
How include time & date in the report generation in cobol programing?
What is the Purpose of POINTER Phrase in STRING command
what is S04E error in jcl?
11 Answers IBM, L&T,
wht is the difference between goto and perform stmts
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
How to delete the records of a dataset through cobol programme?We should not use jcl utilitities like IDCAMS.
The hierarchy of the execution of logical operators is (a) NOT AND OR (b) AND OR NOT (c) OR AND NOT (d) OR NOT AND
10 Answers Huawei, IBM, TCS,
how to pass 100 to s9(4) how r they inserted ?