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
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
Which is not true about evaluate statement
Are you comfortable in cobol or jcl?
What is the difference between PIC 9.99 and 9v99 in COBOL?
How arrays can be defined in COBOL?
write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc
what is difference between cobol and cobol/400
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
How are the next sentence and continue different from each other?
How do you reference the fixed block file formats from cobol programs
What is inspect in cobol ?
) How do u handle errors in BMS macro
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.