Is it mandatory to use DCLGEN?

This Forum is for the guests or the users who are not registered on this board. This part allows guests to post in.
NotAUser

Is it mandatory to use DCLGEN?

Post by NotAUser »

Hi,

In an interview I was asked - is it mandatory to use DCLGEN? If not, why would you use it at all?
User avatar
Anuj Dhawan
Founder
Posts: 2801
Joined: Sun Apr 21, 2013 7:40 pm
Location: Mumbai, India
Contact:
India

Re: Is it mandatory to use DCLGEN?

Post by Anuj Dhawan »

No, it's not mandatory.

On the other hand, we don't encourage such discussions in the Guest Area - suggest you join us and then post the question in the appropriate part of the Forum.
Thanks,
Anuj

Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Anjali Chopra
Website Team
Website Team
Posts: 100
Joined: Sun May 12, 2013 12:33 am

Re: Is it mandatory to use DCLGEN?

Post by Anjali Chopra »

As Anuj said, it's not a mandate imposed by the system. They are used for easy understanding of the code.
Regards,
Anjali
User avatar
DB2 Guy
Forum Moderator
Forum Moderator
Posts: 120
Joined: Sun Apr 21, 2013 8:25 pm
India

Re: Is it mandatory to use DCLGEN?

Post by DB2 Guy »

DCLGEN, in a very basic sense, is just a (COBOL) copybook equivalent of a table structure. You can even write COPY some-dclgen and that will work. But as DCLGEN is generated using DB2 it is usually included using INCLUDE DCLGEN-name, just to "show" that this piece of information belong to DB2, though that's' not mandatory as has been said.
Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “You are a Guest.”