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 How to display offset thru cobol prog... tvinodkumar7 CICS 1 Sun Apr 22, 2018 8:42 pm
No new posts Linkage editor is part of COBOL, z/OS... ankit.jain COBOL Programming 4 Fri Apr 20, 2018 4:17 pm
This topic is locked: you cannot edit posts or make replies. Difference between EQUAL and EQUAL TO... jithinraghavan COBOL Programming 3 Thu Apr 19, 2018 2:22 am
No new posts Call COBOL or PLI with a click from w... vaibhav gs All Other Mainframe Topics 1 Mon Apr 16, 2018 7:29 pm
No new posts COBOL MVS options BiswajitDG COBOL Programming 8 Fri Apr 06, 2018 12:35 am

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