what happens when a copybook variables are declared using
include statement ?

Answer Posted / chandrababu naidu

we should write include in between "exec and end-exec",
only precompiler will identify include.

working-storage section.
copy emptable.
or
exec sql
include emptable
end-exec.

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Name the sections present in data division.

701


how to access the file from prodution from changeman tool and to submit a file to production

6686


how do you reference the rrds file formats from cobol programs

800


how to convert the recors form vsam file to db2 table tru file aid

2763


explain sorting techniques in cobol program?

690






What is the difference between external and global variables in COBOL?

815


Difference between array and sub-script ?

1169


Define static linking and dynamic linking.

669


What is comp-1 and comp-2?

764


What are the different open modes available in cobol?

722


How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?

710


Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.

5065


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.

1117


how do you reference the printer file formats from cobol programs

665


how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)

1931