Reg: DCLGEN copybook compilation

Ask question on - DataBase Concepts, IBM Mainframe DB2, DB2/UDB, DB2 Tools, SQL , DB2 programming with languages like COBOL, PL1.

Moderators: Kalicharan, Moderator Group

Post Reply
User avatar
barat_raj10
Member
Posts: 2
Joined: Mon Jun 05, 2006 7:55 pm
Location: Chennai

Reg: DCLGEN copybook compilation

Post by barat_raj10 » Mon Jun 05, 2006 8:22 pm

Hi,

A table is added with new two columns(Defined as NOT NULL WITH DEFAULT) with the existing columns, and the corresponding host variables for those two columns in DCLGEN( As a copybook) also defined,

Now, Is it required to recompile the programs, which does uses the newly added DCLGEN copybook and doesnt uses the newly added host variables at all in the program??
If anyone knows pls reply to me...
"The most happiness in this world is to make others happy"

User avatar
arrbee
Active Member
Posts: 144
Joined: Fri Feb 24, 2006 11:33 am

Post by arrbee » Wed Jun 07, 2006 7:20 am

Pls rephrase your Q. It is confusing.
Arr Bee
-------------
?My joy in learning is partly that it enables me to teach? - Seneca(Roman philosopher, mid-1st century AD)

User avatar
arrbee
Active Member
Posts: 144
Joined: Fri Feb 24, 2006 11:33 am

Post by arrbee » Wed Jun 07, 2006 7:22 am

Is this what you wanted to ask?

A table is added with two new columns (Defined as NOT NULL WITH DEFAULT) with the existing columns, and the corresponding host variables for those two columns in DCLGEN( As a copybook) are also defined. Is it required to recompile the programs that use the newly added DCLGEN copybook though the newly added host variables not at all used in the program?
Arr Bee
-------------
?My joy in learning is partly that it enables me to teach? - Seneca(Roman philosopher, mid-1st century AD)

User avatar
Krishna
Site Admin
Posts: 1052
Joined: Fri Jan 27, 2006 7:50 am

DCL GEN copy book compilation

Post by Krishna » Wed Jun 07, 2006 12:31 pm

Barat,

It is not required to recompile the program, if newly added fields are not being used in the program.


Thanks,
Krishna

User avatar
barat_raj10
Member
Posts: 2
Joined: Mon Jun 05, 2006 7:55 pm
Location: Chennai

Post by barat_raj10 » Wed Jun 07, 2006 9:48 pm

Hi Krishna,
U r right... Its not necessary to recompile the program..

Arrbee,
Thanks for ur initiation...
"The most happiness in this world is to make others happy"

Post Reply

FREE TUTORIALS

Tutorials
Free tutorials from mainframegurukul
  • JCL Tutorial
    Covers all important JCL concepts.
  • Cobol Tutorial
    This tutorials covers all Cobol Topics from STRING to COMP-3.
  • DB2 Tutorial
    DB2 Tutorial focuses on DB2 COBOL Programming.
  • SORT Tutorial
    This Tutorial covers all important aspects of DFSORT with examples
  • CICS Tutorial
    This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions



Other References
Mainframe Tools and others