Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

COBOL-DB2 Program Interview Question

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
View previous topic :: :: View next topic  
Author Message
anandinmainframe

Active User


Joined: 31 May 2007
Posts: 171
Location: India

PostPosted: Wed Apr 07, 2010 4:44 pm    Post subject: COBOL-DB2 Program Interview Question
Reply with quote

Hi All,
This is a question asked in an interview.
"What are all the Basic steps will be taken while writing a brand new (from scratch) Cobol-DB2 program".
I have worked on most of the enhancement project so i didnt answered that question properly can someone tell me the answer for this.
Back to top
View user's profile Send private message

dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6968
Location: porcelain throne

PostPosted: Wed Apr 07, 2010 5:51 pm    Post subject:
Reply with quote

Quote:
"What are all the Basic steps will be taken while writing a brand new (from scratch) Cobol-DB2 program".


find an existing module that adheres to all the site policies and standards,
then modify working-storage and procedure division as necessary.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Wed Apr 21, 2010 5:26 pm    Post subject:
Reply with quote

Some time lately, I was also asked a similar question about a COBOL-IMS program. And my first reaction was, who will I be reporting into if I get selected?

Some time Indian IT standard sucks like hell, amen and you tell them what they want to listen:
  • Start by finding the information you need to extract. You have to have the client's specifications.
  • You need to know what type of information they are looking for in order to know what table or tables you need to access in order to complete the assignment.
  • Contact the person in charge of the tables to get a layout. You will need this in order to know where the data is when you are ready to put together the final information for your client.
  • Identify the name of the table in your program. DB2 needs to know where to go to get the data. Programming is like giving directions. You must indicate every step for the program to be able to get to it's destination.
  • Add any definitions. You must use the variable name that is used in the table; you can't assign your own name.
  • Run the program. If there are any problems than you will need to correct them and run the program again until you are able to get the data that is needed for your client.
This is a very simple DB2 program - which is subject to change if there are, other rather tough, specifcaions given by client.
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 -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts XML Parse for COBOL 5.2 Bhanu Praveen COBOL Programming 1 Sat Jul 08, 2017 8:58 pm
No new posts Writing a file using online program grvtomar PL/I & Assembler 3 Fri Jun 30, 2017 1:06 pm
No new posts pre-compiler for program in an HFS Pedro DB2 0 Fri Jun 23, 2017 11:13 pm
No new posts Dynamic output file creation in cobol... smileheal COBOL Programming 7 Thu Jun 15, 2017 10:53 pm
No new posts Search utility(3.14) using JCl and Cobol RKS3 COBOL Programming 12 Sat Jun 10, 2017 10:24 pm


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