Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
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
riponrai

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

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    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 IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts Assembler Macro Copybook converted to... Ziquilix PL/I & Assembler 4 Tue Sep 26, 2017 3:07 am
This topic is locked: you cannot edit posts or make replies. Extract all "IF" Statements... Adarsh Damodaran CLIST & REXX 1 Wed Sep 06, 2017 9:28 am
No new posts ALPHABETIC check in COBOL vidyaa COBOL Programming 8 Thu Aug 17, 2017 7:13 pm
No new posts XML Parse for COBOL 5.2 Bhanu Praveen COBOL Programming 1 Sat Jul 08, 2017 8:58 pm

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