Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
DB2 - Cobol Queries - New to DB2

Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message

New User

Joined: 15 Jun 2005
Posts: 2
Location: Somerset

PostPosted: Fri Feb 12, 2010 6:53 am    Post subject: DB2 - Cobol Queries - New to DB2
Reply with quote

Hello Friends.

I am fairly new to DB2 world and started loving it. Even when i know SQL as such, i am unaware of code installation steps (& procedure) using Changeman (Version mgmt tool).
Please help me (if possible) on some of these questions (Thanks!) -

1. i am familiar with all the sql statements to create new tables in db2. I need to create the tables in test and then move them into production. Can somebody help me on the steps to follow. I guess i can create tables using internal DB2 Tool (qmf or spufi, Do i need DBA for creating tables in test or not ??)

2. I am currently coding DB2-cobol program to retrieve fields from new tables (Which i would create in step 1) -
My question is - Do i need to include copybook (which include DCLGEN statements) in the Changeman package (Version Control tool)

3. I guess i need to precompile the program in changeman (ver. control) [using DB2 Precompile option - YES] to create a DBRM. How can i bind the sql statements coded in the program. Is it something i am missing ?? Any steps which i should be knowing ??

Please respond as your suggestions would be of great help to me. You guys are doing great job helping naive DB2 programmers like me. Thanks allot for your time!!
Back to top
View user's profile Send private message

dick scherrer

Site Director

Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Fri Feb 12, 2010 7:35 am    Post subject:
Reply with quote


1. Only your dba can tell for sure. These rules are completely site-specific.

2. Suggest you look at some other code that is successfully working in your environment.

3. Again, looking at something that is currently working is the best answer (if there is no standard document that has the "rules" for working on that system.

You should not look for new answers to these kinds of questions. Whatever is in place to support development on your system should be used.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1


Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts KSDS and Index file in cobol deepak14450 COBOL Programming 9 Fri Dec 22, 2017 9:36 am
This topic is locked: you cannot edit posts or make replies. Cobol to fetch the content by using s... arunc55 COBOL Programming 4 Fri Nov 17, 2017 1:25 pm
No new posts VBS and VB, COBOL syntax is the same ... natt.sut COBOL Programming 3 Sun Nov 12, 2017 6:36 am
No new posts COBOL - EXIT statement weird behavior anthony.pangestu COBOL Programming 0 Fri Oct 27, 2017 9:57 am
No new posts IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm

Back to Top
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us