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

Interview questions


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
narasimha_devi
Warnings : 1

New User


Joined: 10 Mar 2005
Posts: 26

PostPosted: Sat Jul 23, 2005 6:48 pm
Reply with quote

hi
recently i hav faced an interview and i hav the following two questions. i hav answered the questions but they havn,t satisfied.can i know the answers for those.


1. How you optmize your programs.

2.How to pass parameters from JCL to DB2 ?


thanks in advance
Back to top
View user's profile Send private message
ovreddy

Active User


Joined: 06 Dec 2004
Posts: 211
Location: Keane Inc., Minneapolis USA.

PostPosted: Mon Jul 25, 2005 2:30 pm
Reply with quote

Hi Narsimha,

Ans 1: To optimize your program you need to observe and optimize all the SQL queries in your programs. For example if you want to use a small DB2 control table repeatedly in your program then load it into Working storage section. Always try to use Indexed columns in WHERE clause. etc...

Ans 2: We cannot pass parameters directly from JCL to DB2. We will passthem to COBOL+DB2 program, which uses them in queries as host variables. There are 3 methods to pass data from JCL to COBOL

1. Code PARM parameter
2. Use SYSIN DD *
3. PARMLIB Member

Thanks,
Reddy.
Back to top
View user's profile Send private message
narasimha_devi
Warnings : 1

New User


Joined: 10 Mar 2005
Posts: 26

PostPosted: Tue Jul 26, 2005 6:23 pm
Reply with quote

thank u very much Mr.reddy.
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 -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts Comp interview questions Mainframe Interview Questions 5
No new posts Interview Questions on Cobol DB2 program Mainframe Interview Questions 5
No new posts The Last Two Question For You To Ask ... Mainframe Interview Questions 0
No new posts Mainframe Interview Questions CICS,CO... Mainframe Interview Questions 6
No new posts Viewing executing process in NDM .. q... IBM Tools 0
Search our Forums:

Back to Top