Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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 Can sending 5 MB data between cobol p... Kevin Vaz CICS 11 Tue Oct 18, 2016 4:50 pm
No new posts cobol embedded sql MS_Developer COBOL Programming 7 Fri Oct 14, 2016 2:39 pm
No new posts Cobol EZASOKET call to SETSOCKOPT fails Andi1982 COBOL Programming 6 Thu Oct 06, 2016 7:12 pm
No new posts COBOL 5 Compile oerdgie COBOL Programming 3 Thu Oct 06, 2016 6:14 pm
No new posts Fiserv needs to hire COBOL Developer ... shally Mainframe Jobs 0 Wed Sep 21, 2016 1:24 am

Back to Top
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us