IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

DB2 - Cobol Queries - New to DB2


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
riponrai

New User


Joined: 15 Jun 2005
Posts: 2
Location: Somerset

PostPosted: Fri Feb 12, 2010 6:53 am
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

Moderator Emeritus


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

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

Hello,

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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
No new posts Generate random number from range of ... COBOL Programming 3
Search our Forums:

Back to Top