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 questions

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

New User


Joined: 18 Apr 2005
Posts: 67

PostPosted: Thu Dec 15, 2005 5:37 pm    Post subject: Cobol-DB2 Program Interview questions
Reply with quote

1) A Cobol-DB2 Program is calling another program which is also a Cobol+DB2 Program. First u will be compling and then u will bind it.
During exection how will u give the Plan Name that is will u mention for both the program if it i how will u mention it?

2) During Impact analysis i have changed the field from 9(3) to 9(6).
Now the values will be as 000123. I want to change this zero into space.
How will u do it using DB2?
Back to top
View user's profile Send private message

priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1452
Location: Chicago, IL

PostPosted: Thu Dec 15, 2005 5:53 pm    Post subject: Re: Interview questions
Reply with quote

Quote:
2) During Impact analysis i have changed the field from 9(3) to 9(6).
Now the values will be as 000123. I want to change this zero into space.
How will u do it using DB2?

Using DB2 ......!!!!!!!

Instead you can define your variable like ZZZZZ9 while changing the field in COBOL program itself.

Regards,

Priyesh.
Back to top
View user's profile Send private message
itssreehere
Warnings : 1

New User


Joined: 10 Jan 2006
Posts: 65
Location: chennai

PostPosted: Tue Jan 10, 2006 4:31 pm    Post subject: Re: Cobol-DB2 Program Interview questions
Reply with quote

1) application plan will be existing for the router program only not for the sub program
Back to top
View user's profile Send private message
itssreehere
Warnings : 1

New User


Joined: 10 Jan 2006
Posts: 65
Location: chennai

PostPosted: Tue Jan 10, 2006 4:35 pm    Post subject:
Reply with quote

2) Db2 data type will be integer.It wont allow you to store 000123. It will store 123 only. Did u mean the same? icon_smile.gif
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
This topic is locked: you cannot edit posts or make replies. Cobol GUI (like Editor) Kala Mainframe COBOL Programming 14 Wed May 10, 2017 12:30 pm
No new posts IMS T-Pipe queue counts in a COBOL Pr... Siva NKK Kothamasu IMS DB/DC 0 Tue May 09, 2017 6:31 pm
No new posts COBOL Code Parsers and Lineage Establ... balimanja COBOL Programming 2 Tue May 02, 2017 3:30 am
No new posts Cobol upgrade - source code missing f... gthmrj IBM Tools 1 Wed Apr 26, 2017 6:04 pm
No new posts Need help in REXX CALL program Raje1002 CLIST & REXX 5 Wed Apr 19, 2017 11:18 pm


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