OCCURS clause in DCLGEN ???

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
biswaranjan
Member
Posts: 20
Joined: Thu Aug 28, 2008 10:41 am

OCCURS clause in DCLGEN ???

Post by biswaranjan » Tue Sep 22, 2009 10:15 am

Hi,

I have never seen OCCURS clause in DCLGEN in DB2?

But is it possible that DCLGEN in DB2 can have OCCURS clause in it?
I think it'll lead to data conflict.

Can anyone please explain more on this to me?

Thanks,
Biswa.

User avatar
Natarajan
Moderator
Posts: 537
Joined: Fri Oct 10, 2008 12:57 pm
Location: chennai
Contact:

Post by Natarajan » Tue Sep 22, 2009 12:07 pm

my .2 cents on this.

DCLGEN do the field by field conversion from the table field definition
to cobol declarations. In that case DCLGEN tool does not require OCCURS clause.

One thing, you can do is, you can update the DCLGEN copybook with OCCURS clause and try.
Natarajan
Chennai

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